Monday, 2017-03-06

*** tmatsu has joined #heat00:01
*** Kvisle has quit IRC00:04
*** Kvisle has joined #heat00:04
*** zz_dimtruck is now known as dimtruck00:45
openstackgerrithuangtianhua proposed openstack/heat master: Catch Unauthorized in delete_trust()  https://review.openstack.org/43684500:58
*** liusheng has quit IRC01:04
*** dimtruck is now known as zz_dimtruck01:04
*** zz_dimtruck is now known as dimtruck01:04
*** tovin07 has joined #heat01:08
*** zhurong has joined #heat01:13
*** dimtruck is now known as zz_dimtruck01:13
*** zz_dimtruck is now known as dimtruck01:21
*** fragatina has quit IRC01:30
*** fragatina has joined #heat01:31
*** fragatin_ has joined #heat01:32
*** zsli has joined #heat01:35
*** fragatina has quit IRC01:36
openstackgerritShunli Zhou proposed openstack/heat master: Add soft policy for nova server group  https://review.openstack.org/43644701:38
openstackgerritShunli Zhou proposed openstack/heat master: Add soft policy for nova server group  https://review.openstack.org/43644701:51
*** zhihui has joined #heat01:53
*** tmatsu has quit IRC01:54
openstackgerritShunli Zhou proposed openstack/heat master: Add soft policy for nova server group  https://review.openstack.org/43644701:54
*** tmatsu has joined #heat01:55
*** chlong__ has joined #heat01:56
*** fragatin_ has quit IRC01:59
*** gongysh has joined #heat02:05
*** tmatsu_ has joined #heat02:11
*** tmatsu has quit IRC02:14
*** zhihui has quit IRC02:14
*** zhurong has quit IRC02:15
*** zhurong has joined #heat02:19
*** liusheng has joined #heat02:19
*** rajpatel has joined #heat02:21
*** catintheroof has quit IRC02:21
*** catintheroof has joined #heat02:23
*** catintheroof has quit IRC02:27
*** zhihui has joined #heat02:27
*** zhihui has quit IRC02:35
*** zhihui has joined #heat02:48
*** namnh has joined #heat02:51
*** rajpatel has quit IRC03:00
*** zhihui has quit IRC03:01
*** tmatsu_ has quit IRC03:05
*** huangtianhua has joined #heat03:17
*** tiantian has quit IRC03:20
*** tmatsu has joined #heat03:32
openstackgerrithuangtianhua proposed openstack/heat master: Supports string values 'none' and 'auto' for networks  https://review.openstack.org/40732803:45
openstackgerrithuangtianhua proposed openstack/heat master: Use public and unified method get_console_url()  https://review.openstack.org/43060603:48
openstackgerrithuangtianhua proposed openstack/heat master: Support to get webmks console url for server  https://review.openstack.org/43358703:49
*** KanagarajM has joined #heat03:54
*** tmatsu has quit IRC04:09
*** tmatsu has joined #heat04:09
*** spotz_zzz is now known as spotz04:13
*** zhihui has joined #heat04:14
*** zsli has quit IRC04:48
*** zsli has joined #heat04:48
*** nmathew has joined #heat04:50
*** zsli has quit IRC04:54
*** tmatsu_ has joined #heat05:01
*** tmatsu has quit IRC05:04
*** askb has joined #heat05:20
*** prateek has joined #heat05:28
*** chatter29 has joined #heat05:40
chatter29hey guys05:40
chatter29allah is doing05:40
chatter29sun is not doing allah is doing05:40
chatter29to accept islam say that i bear witness that there is no deity worthy of worship except allah and muhammad peace be upon him is his slave and messenger05:40
*** chatter29 has quit IRC05:51
*** rcernin has joined #heat06:08
*** tmatsu_ has quit IRC06:10
*** tmatsu has joined #heat06:11
*** ricolin has joined #heat06:20
*** dimtruck is now known as zz_dimtruck06:49
*** zz_dimtruck is now known as dimtruck06:49
*** dimtruck is now known as zz_dimtruck06:59
*** liusheng has quit IRC07:00
*** ricolin has quit IRC07:01
*** liusheng has joined #heat07:06
*** prateek_ has joined #heat07:13
openstackgerritMerged openstack/python-heatclient master: Updated from global requirements  https://review.openstack.org/44151007:14
*** fragatina has joined #heat07:18
*** ricolin has joined #heat07:28
*** jaosorior has joined #heat07:30
*** jprovazn has joined #heat07:30
*** chlong__ has quit IRC07:36
*** fragatina has quit IRC07:38
*** nilles has joined #heat07:49
*** ricolin has quit IRC07:58
*** ricolin_ has joined #heat07:58
*** wllabs has joined #heat07:59
*** tovin07 has quit IRC08:12
*** tovin07 has joined #heat08:12
openstackgerritThomas Herve proposed openstack/heat master: Make a backward compatible docutils fix  https://review.openstack.org/44105108:13
*** ricolin_ has quit IRC08:15
*** cmyster has joined #heat08:19
*** wllabs_ has joined #heat08:26
*** wllabs has quit IRC08:27
*** wllabs_ is now known as wllabs08:27
*** nmathew- has joined #heat08:35
*** nmathew has quit IRC08:38
*** fragatina has joined #heat08:46
*** ccamacho has joined #heat08:47
*** rwsu has quit IRC08:47
*** liusheng has quit IRC08:48
*** liusheng has joined #heat08:49
*** dbecker has joined #heat08:56
*** prateek_ has quit IRC08:58
*** prateek has quit IRC08:58
*** prateek has joined #heat08:58
*** zzzeek has quit IRC09:00
*** zzzeek has joined #heat09:00
*** shardy has joined #heat09:00
*** rwsu has joined #heat09:01
*** amoralej|off is now known as amoralej09:04
*** zsli has joined #heat09:10
*** tmatsu_ has joined #heat09:11
*** sshnaidm|off is now known as sshnaidm09:13
*** tmatsu has quit IRC09:14
*** d0ugal has quit IRC09:14
*** nmathew- has quit IRC09:15
*** tmatsu_ has quit IRC09:15
*** zsli has quit IRC09:26
*** zsli has joined #heat09:26
*** d0ugal has joined #heat09:26
*** d0ugal has quit IRC09:26
*** d0ugal has joined #heat09:26
*** zsli has quit IRC09:28
*** derekh has joined #heat09:42
*** crazymozart1 has quit IRC09:46
*** crazymozart1 has joined #heat09:47
*** KanagarajM has quit IRC09:48
*** gmoro has joined #heat09:49
*** vills_ has joined #heat10:00
*** openstackgerrit has quit IRC10:33
*** vills_ has quit IRC10:52
*** ricolin_ has joined #heat10:52
*** gK-1wm-su has joined #heat10:56
*** gK-1wm-su has quit IRC10:57
*** vills has joined #heat11:17
*** gongysh has quit IRC11:21
*** fragatina has quit IRC11:22
*** fragatina has joined #heat11:23
*** vills has left #heat11:25
*** shardy has quit IRC11:26
*** shardy has joined #heat11:26
*** namnh has quit IRC11:33
*** yassine has quit IRC11:44
*** openstackgerrit has joined #heat11:54
openstackgerritMerged openstack/heat-agents master: Add a check for legacy hiera element data  https://review.openstack.org/42624111:54
*** zhurong has quit IRC11:58
*** KanagarajM has joined #heat12:02
*** Jack_I has joined #heat12:06
*** shardy is now known as shardy_lunch12:21
*** askb has quit IRC12:40
*** zhihui has quit IRC12:44
*** ricolin_ has quit IRC12:45
*** amoralej is now known as amoralej|lunch12:46
*** jamielennox is now known as jamielennox|away12:50
*** dprince has joined #heat12:50
*** yassine has joined #heat12:52
*** shardy_lunch is now known as shardy12:56
*** mbirru has quit IRC13:04
*** steveg_afk has joined #heat13:18
*** sshnaidm has quit IRC13:32
*** ccamacho is now known as ccamacho|lunch13:35
*** sshnaidm has joined #heat13:38
*** amoralej|lunch is now known as amoralej13:50
*** catintheroof has joined #heat14:04
*** jdandrea has joined #heat14:05
*** jprovazn has quit IRC14:05
*** gongysh has joined #heat14:11
shewlessshardy: I'm looking at your example here to try and see if I can create servers and associate floating IPs in the same resource group. So far I haven't been able to find the "port_id" of the server in the same resource group. https://github.com/openstack/heat-templates/blob/master/hot/resource_group/resource_group.yaml14:18
shewlessJust wondering if you have any hints to do that.14:18
shewlessI've used this "trick" to assign floating IPs on their own.. but I can't seem to get it working inside a resourcegroup:  port_id: {get_attr: [device, addresses, net_id , 0, port]}14:20
shewlessI'm also trying to create 2 resource groups. 1 for servers and 1 for floatingips. It's getting a bit messy though. There has got to be a better way that I'm missing14:21
shardyshewless: in general, the trick is to put everything you want to scale into a nested stack, e.g the server, floating IP etc14:21
shardythen scale out that stack14:21
shardyshewless: creating two resource groups is probably the wrong approach IMHO14:21
shardyshewless: sec, I wrote a blog post about this14:22
shardyhttp://hardysteven.blogspot.co.uk/2014/09/using-heat-resourcegroup-resources.html14:22
shardyshewless: that's about server with a volume, but the pattern is the same14:22
*** fragatin_ has joined #heat14:23
shewlessshardy: thanks I've read that blog post but now that I'm rereading it I think it's finally clicked :) Let me give that a shot.14:23
*** fragatina has quit IRC14:23
shewlessshardy: when specifying the "yaml" file.. where does heat look? Can it be in the same working directory as the template that was initially called?14:24
shardyshewless: yes, when using the CLI tools it'll look for either a relative or absolute path14:25
*** jcoufal has joined #heat14:25
*** KanagarajM has quit IRC14:26
shewlessshardy: parameters passed through to the nested stack?14:29
shewlessautomatically?14:29
shardyshewless: properties passed to the nested stack become parameter inputs14:30
shardyshewless: or you can use parameter_defaults in the environment, which are "global" and visible to all nested stacks14:30
shardyhttps://docs.openstack.org/developer/heat/template_guide/environment.html#usage-examples14:31
shewlessthanks!14:33
shewlessshardy: I'm looking at https://github.com/hardys/demo_templates/blob/master/juno_summit_intro_to_heat/example3_server_with_volume_group/server_with_volume_group.yaml14:51
shewlesssay I wanted to change the volume_size param14:51
shewlessit doesn't seem to work to add "volume_size: 3" in the "properties" of the resourcegrouip14:52
*** jprovazn has joined #heat14:54
*** anton has quit IRC14:55
therveshewless, Where do you put the volume_size exactly?14:56
*** stevelipinski has joined #heat14:57
shewlessI think I might have figured it out. Basically my "top level stack" would need to let the nested stack know which private network I've created so that it can assign a floating ip correctly. I think I got it14:57
*** chlong__ has joined #heat14:58
therveshewless, https://github.com/openstack/heat-templates/blob/master/hot/resource_group/server_with_volumes.yaml#L48 may be a better example14:58
*** anton has joined #heat14:58
shewlessso in that example is "lengths" a made up parameter that's passed into the nested "random" stack?15:02
therveThat's not the example I linked?15:03
*** crose has joined #heat15:05
shewlessoops sorry. I was looking at other files in the directory. thanks I see I was stupidly actually forgetting the word "properties:" Works much better now15:05
shewlessthese nested stacks are going to save me a bunch of time! I have about 12 pre-canned stacks I provide to my users and there is MUCH duplication.  Nested stacks will reduce this duplication greatly. THanks!15:07
*** zz_dimtruck is now known as dimtruck15:14
*** jasond has joined #heat15:14
*** david-lyle has quit IRC15:20
*** ccamacho|lunch is now known as ccamacho15:21
*** gongysh has quit IRC15:24
*** Drago has joined #heat15:35
*** rajpatel has joined #heat15:39
*** nilles has quit IRC15:45
*** blues-man has joined #heat15:47
*** annegentle has joined #heat15:52
*** annegentle has quit IRC15:59
*** chris_hultin|AWA is now known as chris_hultin16:04
*** annegentle has joined #heat16:07
*** rcernin has quit IRC16:08
*** pt_15 has joined #heat16:12
shewlessin template version 2016-04-08 (mitaka) is there a trick to do a "contitional"? I want a resource group with X count. I want the name of the first server to NOT include the %index% but I want all subsequent server names to include the index.16:13
therveNo16:17
*** david-lyle has joined #heat16:17
shewlessfair enough. I'll live with it for now16:19
*** EricGonczer_ has joined #heat16:19
shewlessI am hitting a problem though. If I used a nested stack with a server and a floatingipassociation.. it seems my floating IP only gets associated with 1 of the servers in my count. Looks like maybe it moves around16:20
*** prateek has quit IRC16:20
shewlessIn my nested stack I have specified this as my floatingipassociation:16:21
shewlessport_id: {get_attr: [device, addresses, { get_param: ctrl_net } , 0, port]}16:21
shewlesswhere device is the resource_name of my server in the same nested stack16:21
*** david-lyle has quit IRC16:22
shewlessany reason why that would only assign a floating IP to 1 of the servers even if a specify a count of, say, 4?16:22
therveDid you specified the floating ip in the nested stack too?16:22
shewlesstherve: I create a OS::Neutron::FloatingIP in the top level stack and I pass the resource to the nested stack16:24
therveshewless, You need one per association16:24
therveYou can't associate it with several servers?16:24
shewlesstherve: thanks. I was for some reason assuming that was the pool16:24
shewlessI can add a  FloatingIP and FloatingIPAssociation per resource group and try that. Not sure what you mean by your question. Or was the '?' on the end in error?16:26
shewlesstherve: 1 per associated in the nested template did the trick. thanks.16:32
shewlesstherve: I can successfully create a stack with nested resources (servers and floating IPs)! but.. I can't seem to delete them clean16:44
shewlessDelete_Failed: Resource DELETE failed: Conflict: resources.router_i0: Router interface for subnet b412154e-4397-4438-bf4a-fc6c40ab1a8c on router bfb2fa2c-14a4-443e-9340-b3d156b39d6d cannot be deleted, as it is required by one or more floating IPs. Neutron server returns request_ids: ['req-6ab767fa-358e-476f-bf0a-2996e64291bc']16:44
shewlessI guess maybe I should create a router interface per intance16:44
shewless?16:44
*** yassine has quit IRC16:46
*** yassine has joined #heat16:47
*** chris_hultin is now known as chris_hultin|AWA16:58
*** sshnaidm is now known as sshnaidm|afk16:58
*** Drago1 has joined #heat17:03
*** Drago has quit IRC17:05
openstackgerritMerged openstack/heat master: Make a backward compatible docutils fix  https://review.openstack.org/44105117:11
*** dbecker has quit IRC17:17
*** david-lyle has joined #heat17:18
*** jdandrea has quit IRC17:19
*** david-lyle has quit IRC17:24
*** rcernin has joined #heat17:27
*** david-lyle has joined #heat17:30
*** dbecker has joined #heat17:31
*** yassine has quit IRC17:32
*** annegentle has quit IRC17:52
*** beekneemech is now known as bnemec17:56
*** jaosorior has quit IRC17:58
*** chris_hultin|AWA is now known as chris_hultin17:59
*** rajpatel has quit IRC17:59
*** EricGonczer_ has quit IRC18:00
*** jdandrea has joined #heat18:06
*** chlong__ has quit IRC18:08
*** blues-man has quit IRC18:09
*** dbecker has quit IRC18:11
*** shardy has quit IRC18:11
*** dbecker has joined #heat18:14
shewlesstherve: I have some stacks which always have a "depends_on: router_interface" line in the floatingipassociation. Since the router interface is created in the top level stack I'm not sure how to reference it in my nested stack. ideas?18:15
shewlesssorry the depends_on is in the "floatingip" ..not "floatingipassociation"18:16
*** mbirru has joined #heat18:24
*** shardy has joined #heat18:24
*** jdandrea has quit IRC18:27
*** ccamacho has quit IRC18:30
*** jdandrea has joined #heat18:39
*** jcoufal has quit IRC18:40
*** spotz is now known as spotz_zzz18:42
*** spotz_zzz is now known as spotz18:43
*** jcoufal has joined #heat18:46
*** ccamacho has joined #heat18:48
shewlessshardy, theverve: I'm facing a problema with my nested stack.  When I add security groups into the mix I can't seem to get it to work (defining a Neutron::Port in my resourcegroup). Is there a better way to apply security groups without having to create a Port resource?18:51
shewlessThis nested stack: http://paste.ubuntu.com/24126266/18:57
shewlessWhen I launch it, no errors are thrown18:57
shewlessbut.. my instances don't have floating ips18:58
shewlessand, there is a security group created, but it doesn't look like my instances are associated with iht18:58
shewlessBefore, when I didn't care about security groups, I didn't create a Port resource, and I just used the "get_attr" method to define the port_id in the floatingipassociation.  That did work for me (though I was having trouble deleting the stacks).19:00
*** dprince has quit IRC19:02
shewlessArg. I think I know what I did. Forgot to specify port instead of network on the instance creation :/19:03
*** shardy has quit IRC19:11
shewlessso it looks like I need to add a "depends_on: router_interface" to my "floatingip" resources19:24
shewlessthe problem is that my floatingip resources are nested and the router_interface is not (I only need 1)19:24
shewlessI get this error: The specified reference "router_i0" (in floating) is incorrect.19:24
shewlessIs there a way I can reference a resource id in the "top level" heat template?19:25
shewlessI don't know what I'd pass it in as a parameter.. Is there a way to do "by reference"?19:25
*** dprince has joined #heat19:28
shewlessIt looks like I'm hitting this bug: https://bugs.launchpad.net/heat/+bug/129925919:28
openstackLaunchpad bug 1299259 in heat "FloatingIP needs a hidden dependency on RouterInterfaces" [High,Fix released] - Assigned to Steve Baker (steve-stevebaker)19:28
*** chlong has joined #heat19:31
shewlessI'm not sure how I can get around this problem though19:31
*** fragatin_ has quit IRC19:42
*** EricGonczer_ has joined #heat19:54
*** rajpatel has joined #heat19:54
*** annegentle has joined #heat19:58
shewlessI'm stuck right now. I can create instances and associate floating ips using a nested stack with resource groups but I have not been able to find a way to properly delete the stacks. I either hit a "floating ip and router interface" constraint or a "subnet and ip allocation" constraint.  If anyone has any ideas it would be appreciated20:01
*** gmoro has quit IRC20:20
*** Jack_I has quit IRC20:22
*** rajpatel has quit IRC20:22
shewlessOkay this is the bug I think I'm hitting: https://bugs.launchpad.net/heat/+bug/149389420:22
openstackLaunchpad bug 1493894 in heat "Floating IP in nested stack prevents deletion of parent stack" [Undecided,New]20:22
shewlessIf anyone is aware of a workaround that would be great!20:23
shewlesscan I force a resource to be deleted "last" or something like that?20:23
*** dbecker has quit IRC20:26
*** vills has joined #heat20:26
*** stevelipinski has left #heat20:30
*** fragatina has joined #heat20:31
*** cacasmacas has joined #heat20:34
*** amoralej is now known as amoralej|off20:39
*** crose has quit IRC20:43
*** dbecker has joined #heat20:44
*** dbecker has quit IRC20:45
*** chlong has quit IRC20:48
*** askb has joined #heat20:49
*** jcoufal_ has joined #heat20:57
*** jamielennox|away is now known as jamielennox21:00
*** jcoufal has quit IRC21:00
*** rajpatel has joined #heat21:02
*** rook has quit IRC21:05
*** rook has joined #heat21:06
*** rook is now known as Guest9483321:06
*** jdandrea has quit IRC21:13
-openstackstatus- NOTICE: restarting gerrit to address performance problems21:14
*** jprovazn has quit IRC21:16
*** dprince has quit IRC21:17
*** Guest94833 is now known as rook-new21:32
*** dyasny has quit IRC21:32
*** dyasny has joined #heat21:43
*** catintheroof has quit IRC21:44
*** catintheroof has joined #heat21:45
*** catintheroof has quit IRC21:49
*** rook-new is now known as rook22:12
*** jcoufal_ has quit IRC22:14
*** steveg_afk has quit IRC22:20
*** chris_hultin is now known as chris_hultin|AWA22:28
*** dimtruck is now known as zz_dimtruck22:29
*** gongysh has joined #heat22:50
*** rajpatel has quit IRC22:51
*** ccamacho has quit IRC22:53
*** EricGonczer_ has quit IRC22:55
*** zz_dimtruck is now known as dimtruck22:57
*** derekh has quit IRC23:04
*** rajpatel has joined #heat23:12
*** rcernin has quit IRC23:19
*** jasond has quit IRC23:19
*** Drago has joined #heat23:33
*** Drago1 has quit IRC23:33
*** annegentle has quit IRC23:35
*** rajpatel has quit IRC23:43
*** rajpatel has joined #heat23:52
*** Pavo has joined #heat23:53
*** tmatsu has joined #heat23:55
*** gongysh has quit IRC23:57

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