*** longkb has joined #heat | 00:25 | |
*** longkb has quit IRC | 00:29 | |
*** bigdogstl has joined #heat | 00:59 | |
*** bigdogstl has quit IRC | 01:02 | |
*** bigdogstl has joined #heat | 01:03 | |
*** bigdogstl has quit IRC | 01:11 | |
*** maddtux has joined #heat | 03:15 | |
*** Ashika has quit IRC | 06:52 | |
*** openstackgerrit has joined #heat | 07:02 | |
openstackgerrit | Marek Lyčka proposed openstack/heat-dashboard master: Implements a JSON import export mechanism for the template generator https://review.openstack.org/611259 | 07:02 |
---|---|---|
*** jtomasek has joined #heat | 07:27 | |
*** shardy has joined #heat | 08:02 | |
openstackgerrit | Marek Lyčka proposed openstack/heat-dashboard master: Enforces unicode decoding of data https://review.openstack.org/589860 | 08:21 |
*** gmoro has joined #heat | 09:50 | |
*** openstackgerrit has quit IRC | 09:52 | |
*** jmlowe has quit IRC | 09:53 | |
*** Ashika has joined #heat | 10:04 | |
Ashika | Hello | 10:06 |
Ashika | When using OS::Heat::ResourceGroup with removal_policies in hot template, stack create command with --dry-run option is failing | 10:08 |
Ashika | openstack stack create --dry-run -t main_template.yaml test_stack ERROR: Remote error: DBError (pymysql.err.IntegrityError) (1048, u"Column 'resource_id' cannot be null") [SQL: u'INSERT INTO resource_data (created_at, updated_at, `key`, value, redact, decrypt_method, resource_id) VALUES (%(created_at)s, %(updated_at)s, %(key)s, %(value)s, %(redact)s, %(decrypt_method)s, %(resource_id)s)'] [parameters: {'resource_id': None, 'created_at': | 10:10 |
Ashika | But able to create stack with those templates | 10:11 |
Ashika | but only --dry-run is failing | 10:11 |
Ashika | Could anyone help us in soling the issue | 10:11 |
Ashika | solving* | 10:11 |
Ashika | Here are the sample templates used | 10:12 |
Ashika | 1)main_template.yaml | 10:13 |
Ashika | heat_template_version: 2015-04-30 parameters: images: type: json default: { "1": "cirros-0.3.2-x86_64-disk1" } resources: simple_aspect_group: type: OS::Heat::ResourceGroup properties: count: 1 removal_policies: [ { "resource_list": ["0"] } ] resource_def: type: simple.hot.server.yaml properties: images: { get_param: images } rg_index: '%index%' | 10:13 |
Ashika | 2)simple.hot.server.yaml | 10:13 |
Ashika | heat_template_version: 2015-04-30 parameters: images: type: json rg_index: type: string description: the current index of the resource group ( ex. "0", "2") default: invalid resources: server: type: OS::Nova::Server properties: name: {get_param: rg_index} flavor: m1.small image: { get_param: [ images, {get_param: rg_index} ] } networks: - network: test_net | 10:14 |
therve | Ashika: Please use paste.openstack.org or something similar | 10:16 |
Ashika | http://paste.openstack.org/show/734912/ | 10:24 |
ramishra_ | Ashika: it sounds like something fixed in https://github.com/openstack/heat/commit/655fd8f53d4bf416c99114eacde12beed1f5cc3f#diff-60be04c9cc608aa5906c801287e70d68 | 10:28 |
ramishra_ | possible issue as you're blacklisting index '0' | 10:28 |
ramishra_ | please check if you've that patch/commit, though it was fixed long time ago | 10:29 |
Ashika | iam using openstack pike version | 10:45 |
Ashika | in that the fix given in it was present | 10:45 |
Ashika | even though iam facing the same issue | 10:45 |
ramishra_ | Ashika: your templates work on master, so don't understand the issue in pike. you can raise a bug with the engine logs and the templates or use newer heat version | 11:00 |
Ashika | okay, i will using the newer heat version | 11:05 |
Ashika | Thank you | 11:05 |
*** EmilienM is now known as EvilienM | 12:24 | |
*** mordred has quit IRC | 12:55 | |
*** shardy has quit IRC | 13:55 | |
*** shardy has joined #heat | 14:00 | |
*** pbourke has quit IRC | 14:04 | |
*** pbourke has joined #heat | 14:04 | |
*** maddtux has quit IRC | 14:16 | |
*** hjensas has quit IRC | 15:16 | |
*** jistr is now known as jistr|call | 15:29 | |
*** maddtux has joined #heat | 15:55 | |
*** jistr|call is now known as jistr|biab | 15:59 | |
*** mchlumsky has joined #heat | 16:06 | |
*** maddtux has quit IRC | 16:09 | |
*** hjensas has joined #heat | 16:40 | |
*** jistr|biab is now known as jistr | 16:43 | |
*** Ashika has quit IRC | 16:54 | |
*** shardy has quit IRC | 17:04 | |
*** mordred has joined #heat | 17:21 | |
*** gmoro has quit IRC | 18:39 | |
*** bnemec has joined #heat | 18:50 | |
*** bnemec has quit IRC | 19:56 | |
*** bnemec has joined #heat | 19:58 | |
*** hjensas has quit IRC | 20:11 | |
*** hjensas has joined #heat | 21:01 | |
*** mchlumsky has quit IRC | 22:04 | |
*** EvilienM is now known as EmilienM | 22:55 | |
*** ivve has quit IRC | 23:04 | |
*** jtomasek has quit IRC | 23:15 | |
*** jmlowe has joined #heat | 23:46 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!