Friday, 2018-11-16

*** longkb has joined #heat00:25
*** longkb has quit IRC00:29
*** bigdogstl has joined #heat00:59
*** bigdogstl has quit IRC01:02
*** bigdogstl has joined #heat01:03
*** bigdogstl has quit IRC01:11
*** maddtux has joined #heat03:15
*** Ashika has quit IRC06:52
*** openstackgerrit has joined #heat07:02
openstackgerritMarek Lyčka proposed openstack/heat-dashboard master: Implements a JSON import export mechanism for the template generator  https://review.openstack.org/61125907:02
*** jtomasek has joined #heat07:27
*** shardy has joined #heat08:02
openstackgerritMarek Lyčka proposed openstack/heat-dashboard master: Enforces unicode decoding of data  https://review.openstack.org/58986008:21
*** gmoro has joined #heat09:50
*** openstackgerrit has quit IRC09:52
*** jmlowe has quit IRC09:53
*** Ashika has joined #heat10:04
AshikaHello10:06
AshikaWhen using OS::Heat::ResourceGroup with removal_policies in hot template, stack create command with --dry-run option is failing10:08
Ashikaopenstack 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
AshikaBut able to create stack with those templates10:11
Ashikabut only --dry-run is failing10:11
AshikaCould anyone help us in soling the issue10:11
Ashikasolving*10:11
AshikaHere are the sample templates used10:12
Ashika1)main_template.yaml10:13
Ashikaheat_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
Ashika2)simple.hot.server.yaml10:13
Ashikaheat_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_net10:14
therveAshika: Please use paste.openstack.org or something similar10:16
Ashikahttp://paste.openstack.org/show/734912/10:24
ramishra_Ashika: it sounds like something fixed in https://github.com/openstack/heat/commit/655fd8f53d4bf416c99114eacde12beed1f5cc3f#diff-60be04c9cc608aa5906c801287e70d6810: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 ago10:29
Ashikaiam using openstack pike version10:45
Ashikain that the fix given in it was present10:45
Ashikaeven though iam facing the same issue10: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 version11:00
Ashikaokay, i will using the newer heat version11:05
AshikaThank you11:05
*** EmilienM is now known as EvilienM12:24
*** mordred has quit IRC12:55
*** shardy has quit IRC13:55
*** shardy has joined #heat14:00
*** pbourke has quit IRC14:04
*** pbourke has joined #heat14:04
*** maddtux has quit IRC14:16
*** hjensas has quit IRC15:16
*** jistr is now known as jistr|call15:29
*** maddtux has joined #heat15:55
*** jistr|call is now known as jistr|biab15:59
*** mchlumsky has joined #heat16:06
*** maddtux has quit IRC16:09
*** hjensas has joined #heat16:40
*** jistr|biab is now known as jistr16:43
*** Ashika has quit IRC16:54
*** shardy has quit IRC17:04
*** mordred has joined #heat17:21
*** gmoro has quit IRC18:39
*** bnemec has joined #heat18:50
*** bnemec has quit IRC19:56
*** bnemec has joined #heat19:58
*** hjensas has quit IRC20:11
*** hjensas has joined #heat21:01
*** mchlumsky has quit IRC22:04
*** EvilienM is now known as EmilienM22:55
*** ivve has quit IRC23:04
*** jtomasek has quit IRC23:15
*** jmlowe has joined #heat23:46

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!