Tuesday, 2014-10-07

*** hdd has joined #heat00:00
*** gokrokve has quit IRC00:03
asalkeldno one lining up to go for tc00:04
asalkeldor they are as confused as i am about those questions:-O00:04
openstackgerritA change was merged to openstack/heat: Revert "Hard delete backup stack after successful update."  https://review.openstack.org/12608400:06
*** hdd has quit IRC00:08
*** EricGonczer_ has joined #heat00:09
*** Putns has quit IRC00:11
*** EricGonczer_ has quit IRC00:16
asalkeldcool so our coverage does work: http://logs.openstack.org/c5/c511d076b8b36ec70f1edeb7176bde156aee429a/post/heat-coverage/d858a26/cover/00:19
openstackgerritSteve Baker proposed a change to openstack/heat: Configure flavor and image from env  https://review.openstack.org/12644500:24
stevebakerasalkeld: what check job produces that?00:26
asalkeldstevebaker, i don't think it's a check00:26
asalkeldit's a "post" job00:26
asalkeldwhat ever that is00:26
asalkeld(maybe time based?)00:27
asalkeldpip install git-os-jobs00:27
asalkeldcd heat00:27
asalkeldgit os-jobs00:27
*** DaveJ__ has quit IRC00:36
*** gokrokve has joined #heat00:39
*** kopparam has joined #heat00:40
*** gokrokve has quit IRC00:40
*** kopparam has quit IRC00:45
*** Qiming has joined #heat00:46
*** ajc_ has joined #heat00:46
*** dsneddon_ has quit IRC00:47
*** gokrokve has joined #heat00:47
*** dsneddon_ has joined #heat00:48
*** dims has quit IRC00:57
*** dims has joined #heat00:57
openstackgerritA change was merged to openstack/heat: Implement check for Rackspace resources  https://review.openstack.org/11735701:00
*** nosnos has joined #heat01:01
miguelgrinbergI have a quick question about software config, hopefully someone has seen this before and can give me an idea of what I'm doing wrong.01:02
*** dims has quit IRC01:02
miguelgrinbergI have a template that has a server, a software deployment and a software config. The software config has a simple bash script. When I run the template the boot log shows that the user data script was empty.01:02
*** Drago has quit IRC01:02
miguelgrinbergso it appears that the bash script in the software config resource never makes it to the instance01:02
miguelgrinbergif I add a config section to the instance, that runs just fine01:03
miguelgrinbergsorry, I mean a "user data" section. That overrides the software deployment and runs, and the template reaches completion01:03
miguelgrinbergwithout user data in the server resource the software deployment resource times out01:04
asalkeldstevebaker, ^01:04
*** dsneddon_ has quit IRC01:08
*** dsneddon_ has joined #heat01:09
*** kebray has quit IRC01:09
miguelgrinbergasalkeld: thanks. I guess this'll have to wait until tomorrow :-)01:10
asalkeldmiguelgrinberg, sorry I don't know software config enough to know where you are going wrong01:12
miguelgrinbergsure, no problem, I'll bang my head against the wall for a bit more and if not I'll try to find stevebaker tomorrow01:13
asalkelddo you have the userdata_format set?01:14
asalkelddo you have the agents installed?01:14
asalkeld(some things I'd check)01:15
miguelgrinbergyes, it's set to SOFTWARE_CONFIG, but I get the same issue if I go with HEAT_CFNTOOLS01:15
miguelgrinbergagents? what do you mean by agents?01:15
asalkeldhttps://github.com/openstack/heat-templates/tree/master/hot/software-config01:16
asalkeldhttp://docs.openstack.org/developer/heat/getting_started/jeos_building.html01:17
miguelgrinbergOne of the images I tried is the Fedora 17 from the heat wiki, so I guess I do have that01:17
miguelgrinbergI have another image that was created (by someone else) using the disk image builder, based on Ubuntu. Both show the same problem.01:18
asalkelddiskimage-builder/bin/disk-image-create vm \01:18
asalkeld    fedora selinux-permissive \01:18
asalkeld    heat-config \01:18
asalkeld    os-collect-config \01:18
asalkeld    os-refresh-config \01:18
asalkeld    os-apply-config \01:18
asalkeld    heat-config-cfn-init \01:18
asalkeld    heat-config-puppet \01:18
asalkeld    heat-config-script \01:18
asalkeld    -o fedora-software-config.qcow201:18
*** EricGonczer_ has joined #heat01:19
miguelgrinbergI'm trying to send a shell script, and I see in the boot log that the instance tries to run it. The problem is that when the software deployment sends the user data blog to the instance that has an empty user script. The other parts of the multipart blog are there.01:20
miguelgrinberg*blob01:20
miguelgrinbergI can even see this if I talk to the metadata service from the instance after the fact01:21
miguelgrinbergwhatever I put in the software config resource is lost for some reason01:21
*** sdake has joined #heat01:24
*** gokrokve_ has joined #heat01:26
*** dimsum_ has joined #heat01:26
*** gokrokve has quit IRC01:29
*** gokrokve_ has quit IRC01:30
*** erkules has joined #heat01:37
*** erkules_ has quit IRC01:40
openstackgerritAngus Salkeld proposed a change to openstack/heat: Make sure that property defaults are converted correctly  https://review.openstack.org/12494301:41
openstackgerritAngus Salkeld proposed a change to openstack/heat: Use properties in ceilometer alarm not parsed_template('Properties')  https://review.openstack.org/12494401:41
*** kopparam has joined #heat01:41
*** hdd has joined #heat01:43
*** ajc_ has quit IRC01:44
*** Qiming has quit IRC01:44
miguelgrinbergasalkeld: I made it work. It seems this is undocumented (figured it out by reading the code), but the "user_data" property of the server resource needs to be set to the software config resource for things to work. This comment message gave me the clue: https://github.com/openstack/heat/commit/15fc2af0aee403cd5a541d6d1d219d6daa5d033901:45
asalkeldlooking01:46
*** kopparam has quit IRC01:46
miguelgrinbergthe odd thing is that I have a software deployment linking to the server and the software config, and now I added yet another link from the server to the config, bypassing the deployment resource01:46
asalkeldyeah, that doesn't seem right01:47
miguelgrinbergthere's a bug somewhere in there, I'll talk to stevebaker when I find him01:47
asalkeldbut we need stevebaker to explain that to us01:48
asalkeldyeah01:48
miguelgrinbergthanks for your help01:48
*** ccrouch has joined #heat01:48
*** ccrouch has quit IRC01:48
*** ccrouch has joined #heat01:48
miguelgrinbergwhat TZ is he on?01:48
asalkeldyou mean thanks for the company, whilst you solved it;)01:48
*** reed has quit IRC01:48
asalkeldhe is in NZ01:48
asalkeldmaybe lunch time?01:49
asalkeld2:49pm01:49
miguelgrinbergah, okay, I'll try him later, I'm US west coast, still have some time01:49
*** andreaf has quit IRC01:57
*** andreaf has joined #heat01:58
stevebakerI'm back02:01
*** hdd has quit IRC02:01
miguelgrinbergstevebaker: Hi, looks like you have answers, and I have questions02:01
stevebakerreading the backscroll02:01
stevebakermiguelgrinberg: so, user_data is for boot-only config, so you can reference a config resource or specify an inline script02:03
miguelgrinbergthat's what I thought, but if I don't set user_data to a config resource my deployment times out02:04
stevebakermiguelgrinberg: deployment resources are for runtime config, which is if you might want to do any configuration task without having to boot a new server.02:04
miguelgrinbergbecause the script in my config resource never makes it to the instance02:04
stevebakermiguelgrinberg: it gets polled later by the agent on your custom image. It isn't in the user_data02:04
miguelgrinbergstevebaker: you mean I can't use a software deployment resource with a brand new server?02:05
miguelgrinbergfrom reading the code it appears the only way to get a provisioning script stored in a config resource to be provided to an instance is by putting the uuid of the config resource in the user_data property02:06
stevebakermiguelgrinberg: I would recommend building your own custom image as per line 470 of https://review.openstack.org/#/c/120280/3/doc/hot-guide/source/software_deployment.rst02:06
stevebakermiguelgrinberg: it is configured on boot as soon as the first poll for metadata happens02:06
miguelgrinbergI have a deployment resource, and a config resource with a script. My server does not set the "user_data" property. The deployment resource links to the config and the server. With this setup the server gets an empty user script.02:10
*** JayJ has joined #heat02:10
miguelgrinbergthe cloud-init part that tries to run the user script fails, because it tries to run a zero size file02:10
stevebakermiguelgrinberg: yes, that is correct and expected.02:10
*** dimsum_ has quit IRC02:11
stevebakercloud-init fails? I would assume that it would tolerate having no user_data02:11
miguelgrinbergwell yes, it survives, I just see errors in the log02:11
*** dimsum_ has joined #heat02:11
*** JayJ has quit IRC02:12
stevebakermiguelgrinberg: try building your own image, don't specify anything for user_data, and set user_data_format: SOFTWARE_CONFIG02:12
*** JayJ has joined #heat02:12
stevebakerbiab02:13
miguelgrinbergstevebaker: aren't the images in this page built according to your instructions? https://fedorapeople.org/groups/heat/prebuilt-jeos-images/02:15
*** EricGonczer_ has quit IRC02:15
*** dimsum_ has quit IRC02:15
*** JayJ has quit IRC02:17
*** JayJ has joined #heat02:17
miguelgrinbergstevebaker: I need to be AFK for a bit02:21
*** JayJ has quit IRC02:22
*** JayJ has joined #heat02:23
*** Yanyanhu has joined #heat02:24
*** nkhare has joined #heat02:26
*** JayJ has quit IRC02:27
*** zigo has quit IRC02:27
*** JayJ has joined #heat02:28
*** Yanyanhu has quit IRC02:29
*** zigo has joined #heat02:29
*** andersonvom has quit IRC02:30
*** JayJ has quit IRC02:32
*** JayJ has joined #heat02:33
*** sgordon_ has quit IRC02:35
*** JayJ has quit IRC02:37
*** JayJ has joined #heat02:38
*** andersonvom has joined #heat02:42
*** kopparam has joined #heat02:42
*** Yanyanhu has joined #heat02:42
*** JayJ has quit IRC02:42
*** JayJ has joined #heat02:43
asalkeldYanyanhu, you about?02:46
asalkeldthat current_size thing you added02:46
*** kopparam has quit IRC02:46
asalkeldwhy did you make it so you need to pass a path?02:47
asalkeldit's just getting the instance count02:47
*** JayJ has quit IRC02:47
*** JayJ has joined #heat02:48
*** Yanyanhu has quit IRC02:51
*** JayJ has quit IRC02:53
*** JayJ has joined #heat02:53
*** Yanyanhu has joined #heat02:53
Yanyanhuhi, asalkeld, sorry I was disconnected... my home's network connection is poor02:54
asalkeldok02:54
asalkeldjust suggesting remove the requirement to provide a path02:55
asalkeld(I am knocking up a patch)02:55
asalkeldhaving to rebase autoscaling tests02:55
Yanyanhuok, thanks a lot for this02:56
*** JayJ has quit IRC02:58
*** JayJ has joined #heat02:58
*** sdake_ has quit IRC02:59
*** JayJ has quit IRC03:01
*** sdake has quit IRC03:01
*** ramishra has joined #heat03:09
*** cmyster_away is now known as cmyster03:10
*** nosnos has quit IRC03:24
*** ajc_ has joined #heat03:25
*** Yanyanhu has quit IRC03:28
openstackgerritAngus Salkeld proposed a change to openstack/heat: Unit test autoscaling._calculate_new_capacity  https://review.openstack.org/11890703:29
openstackgerritAngus Salkeld proposed a change to openstack/heat: Move TestInstanceGroup to test_instance_group.py  https://review.openstack.org/11890603:29
openstackgerritAngus Salkeld proposed a change to openstack/heat: Rewrite AutoScalingGroup adjustment tests as unit tests  https://review.openstack.org/11894803:29
openstackgerritAngus Salkeld proposed a change to openstack/heat: Convert the autoscaling policy tests into unit tests  https://review.openstack.org/11890903:29
openstackgerritAngus Salkeld proposed a change to openstack/heat: Move some AutoScalingGroup validation tests to a separate file  https://review.openstack.org/11890803:29
openstackgerritAngus Salkeld proposed a change to openstack/heat: Rework autoscaling group current_size attribute  https://review.openstack.org/12645903:30
*** ajc_ has quit IRC03:30
*** ramishra has quit IRC03:31
*** ramishra has joined #heat03:31
*** ramishra has quit IRC03:33
*** Yanyanhu has joined #heat03:33
*** ramishra has joined #heat03:34
*** hdd has joined #heat03:34
*** spzala has quit IRC03:34
* asalkeld is behind the times "Hewlett-Packard to split into two companies"03:35
stevebakermiguelgrinberg: no. they are ancient03:36
*** sarob has quit IRC03:37
*** rushiagr_away is now known as rushiagr03:38
asalkeldstevebaker, is your functional test patch series in a working state ? i.e. are you happy with it03:39
asalkeldi am quiet keen to knock it in03:39
stevebakerasalkeld: I've got another fix-the-gate chagne03:40
asalkeldok, let me know when you are happy with it03:40
asalkeldi'd really like proper functional tests and proper unit tests03:41
stevebakerasalkeld: oh, I put them in the wrong order. if you wack this one in it will help https://review.openstack.org/#/c/126445/03:41
asalkeldi am trying to work on the unit test part03:41
stevebakerasalkeld: once https://review.openstack.org/#/c/126445/ is in I'll rebase all the other tests of master and they can be reviewed on merit, and actually passing03:42
asalkelddo you want to stay as admin after the flavor create03:42
asalkeldos.environ.get('OS_TENANT_NAME')03:43
asalkelddoh, don't worry03:43
asalkeldmissed the demo/demo03:44
stevebakeryep03:44
stevebakerasalkeld: we can refine that more later, like by actually generating a conf file. but at least the tests run for now03:45
asalkeldapproved03:45
asalkeldlet me know if there is anything else i can help with03:46
asalkeldstevebaker, if you have some time: https://review.openstack.org/#/c/118948/03:47
asalkeldfrom there downward03:47
*** nkhare has quit IRC03:48
stevebakerok03:48
openstackgerritA change was merged to openstack/heat: update docs to use correct stack list command  https://review.openstack.org/12608803:51
openstackgerritA change was merged to openstack/heat: Provide support status info for OS::Glance::Image  https://review.openstack.org/12587403:51
*** jamielennox has quit IRC03:55
*** blomquisg has joined #heat03:55
openstackgerritAngus Salkeld proposed a change to openstack/heat: Use properties in ceilometer alarm not parsed_template('Properties')  https://review.openstack.org/12494403:59
stevebakerasalkeld: this looks like it fixes a real thing, I wonder if a bug should be raised so it can go into rc2?04:00
asalkeldwhich one?04:00
asalkeldparsed_template?04:00
*** nkhare has joined #heat04:01
*** jamielennox has joined #heat04:01
stevebakeroh, https://review.openstack.org/#/c/126459/104:03
asalkeldstevebaker, I could04:04
asalkeldbut nothing "broken"04:04
asalkeldjust requires a path which is a bit odd04:04
stevebakerright, lets leave it then. avoid the busywork04:05
asalkeldfingers still worn out from fridays lanchpad button attack04:05
*** rushiagr is now known as rushiagr_away04:09
*** nosnos has joined #heat04:10
openstackgerritA change was merged to openstack/heat: Preserve env when calling tox  https://review.openstack.org/12643904:11
openstackgerritA change was merged to openstack/heat: Move test_server_cfn_init from tempest to heat  https://review.openstack.org/11049704:11
stevebakerwow, tempest test_server_cfn_init is skipped now too?04:14
asalkeldstevebaker, yeah it had ping timeout issues04:19
*** sarob has joined #heat04:20
asalkeldi think the nova.ping.timeout was just too small04:20
asalkeldconsidering it is for cirros and not fedora image04:20
stevebakercould be, or there is a race which only happens when booting fedora04:21
asalkeldyeah, tho' even the cirros has occasional timeouts04:23
Yanyanhuhi, asalkeld, sorry my parents came. I saw your patch, https://review.openstack.org/#/c/126459/1, thanks for helping to fix this04:23
asalkeldno problem04:23
asalkeldstevebaker, http://status.openstack.org/elastic-recheck/#137049604:24
asalkeldBug 1370496 - Failed to establish authenticated ssh connection to cirros - error: [Errno 113] No route to host04:24
uvirtbotLaunchpad bug 1370496 in nova "Failed to establish authenticated ssh connection to cirros - error: [Errno 113] No route to host" [Critical,Incomplete] https://launchpad.net/bugs/137049604:24
*** gokrokve has joined #heat04:28
*** blomquisg has quit IRC04:36
*** Yanyanhu has quit IRC04:43
*** gokrokve has quit IRC04:44
asalkeldbrb picking kids up04:45
*** hdd has quit IRC04:47
*** lazy_prince2 has joined #heat05:10
*** lazy_prince2 has quit IRC05:12
*** rakesh_hs has joined #heat05:17
*** rushiagr_away is now known as rushiagr05:23
*** coolsvap|afk is now known as coolsvap05:24
*** harlowja is now known as harlowja_away05:26
*** nosnos has quit IRC05:37
*** nosnos has joined #heat05:38
*** nosnos has quit IRC05:42
*** nosnos has joined #heat05:43
*** kopparam has joined #heat05:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/12428106:01
openstackgerritA change was merged to openstack/heat: Unittests: refactor AWS::EC2::SecurityGroup tests  https://review.openstack.org/12120706:01
openstackgerritA change was merged to openstack/heat: Refactor AWS::EC2::SecurityGroup resource  https://review.openstack.org/11630406:01
rushiagrhi, any heat folks around?06:04
rushiagrI created an ASG, but when I update the metadata for the servers in the ASG, it is visible only on the nodes which are added 'after' this metadata update06:04
rushiagrfor example, if I created 4 VMs for that ASG, and then update the metadata for the servers (e.g. add another key=value pair), and if I increase the number of nodes to 6, the new metadata is only visible in the new 2 nodes06:05
rushiagrif I don't scale (I'm doing manual scaling), the metadata is not updated in any of the nodes at all06:06
asalkeldhi rushiagr06:06
rushiagrI think this is a bug, but please correct me if such behavior is intentional06:06
asalkeldthat *should* work06:06
asalkeldi think make a bug, and we can look at it06:07
rushiagrasalkeld: okay06:07
rushiagrasalkeld: here is my yaml file FYI https://github.com/rushiagr/cloud-cassandra/blob/master/heat/cassandra-provision.yaml06:08
rushiagr(just in case I'm using heat in a wrong way)06:08
asalkeldrushiagr, where is the metadata?06:09
rushiagrasalkeld: oh yeah, I didn't commit it. At line 61, I had this: metadata: {"key1": "value1"}06:10
asalkeldrushiagr, so that is nova metadata06:11
asalkeldi am not sure if that is modifiable06:11
rushiagrasalkeld: oh, I see06:11
asalkeld(could be wrong)06:12
rushiagrasalkeld: what is the heat way to pass metadata? If you can point me to a link, would be helpful06:12
rushiagrasalkeld: hmm. I'll check it out with a single server (not in an ASG), and if it can be updated at a later point of time06:13
asalkeldok, there is Metadata the same level as properties06:14
asalkeldbut even better is to use software config06:14
asalkeldtho' i haven't tried mixing autoscaling and software config06:14
skraynevgood morning06:15
asalkeldhi skraynev06:16
skraynevasalkeld: hi ;)06:16
rushiagrasalkeld: sorry, I am unsure what 'ok, there is Metadata the same level as properties' mean. You mean to say it is the heat metadata, or nova metadata (modifiable after boot time vs non-modifiable)06:16
asalkeldhttps://github.com/openstack/heat-templates/blob/master/cfn/F19/WordPress_NoKey.yaml#L6006:16
asalkeldskraynev, is that ^ available for HOT too?06:17
asalkeldrushiagr, https://github.com/openstack/heat/blob/master/heat/engine/resources/server.py#L24306:18
rushiagrasalkeld: ah, I see what you're trying to say there. Thanks!06:18
skraynevasalkeld: yeap, it's available, but is not required too. and may be missed. As result it will be equal None06:18
asalkeldnova metadata should be updatable06:18
openstackgerritA change was merged to openstack/heat: Move TestInstanceGroup to test_instance_group.py  https://review.openstack.org/11890606:19
openstackgerritA change was merged to openstack/heat: Unit test autoscaling._calculate_new_capacity  https://review.openstack.org/11890706:19
rushiagrasalkeld: okay. I'll try things out once again, to confirm nova metadata behavior, and file bug if needed06:19
asalkeldcool, thanks rushiagr06:19
rushiagrasalkeld: thank YOU :)06:20
asalkeldhttps://github.com/openstack/heat/blob/master/heat/engine/resources/autoscaling.py#L83206:21
asalkeldrushiagr, maybe you need "rolling_updates"06:21
rushiagrasalkeld: any doc on what is it and how to use it?06:22
asalkeldhttp://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::AutoScalingGroup06:22
rushiagrasalkeld: thanks, I'm having a look06:23
rushiagrhmm, rolling updates seem to be an overkill just to update metadata06:26
rushiagrbut let me first confirm the metadata behavior once again06:26
*** jprovazn has joined #heat06:31
*** tspatzier has joined #heat06:36
*** dimsum_ has joined #heat06:50
*** ishant has joined #heat06:56
*** dimsum_ has quit IRC06:56
*** andreaf has quit IRC06:59
*** jcoufal has joined #heat07:09
*** arif-ali has quit IRC07:11
*** arif-ali has joined #heat07:11
*** jstrachan has joined #heat07:16
*** sanjayu has joined #heat07:18
*** kopparam has quit IRC07:18
*** ifarkas has joined #heat07:21
*** ktaube has joined #heat07:21
*** ramishra has quit IRC07:26
*** ramishra has joined #heat07:32
*** kopparam has joined #heat07:46
*** jistr has joined #heat07:46
*** lazy_prince has quit IRC07:48
*** ramishra has quit IRC07:49
*** lazy_prince has joined #heat07:49
*** dsneddon_ has quit IRC07:49
*** Putns has joined #heat07:50
*** dsneddon_ has joined #heat07:51
*** lazy_prince2 has joined #heat07:51
*** lazy_prince is now known as killer_prince07:53
*** killer_prince is now known as lazy_prince07:56
*** ramishra has joined #heat07:57
*** derekh has joined #heat07:57
*** lazy_prince2 has quit IRC07:58
Firespiritdoes anyone here have experience with the the neutron resource in heat template here?08:05
arif-aliFirespirit, what do you need to know08:06
Firespiritbasicly i don't know how to assign a floating ip in my heat template08:06
arif-aliCheck this out https://github.com/larsks/heat-kubernetes/blob/master/kubecluster.yaml08:07
*** ramishra has quit IRC08:07
arif-alithis should be a good example that may be useful08:07
*** sorantis has joined #heat08:07
Firespiritthanks arif08:08
arif-alii have for example modified this to create a 10 instances with floating ips08:08
Firespiritok i really to find this external_network_id08:09
Firespiritcan i get it from an other resource?08:09
arif-aliyes, you can08:09
arif-aliyou need to just pass that as an argument to the heat template08:10
arif-alifor example, I with my template, I am running  the following command08:10
arif-aliheat stack-create cluster02 -f hpc.yaml -P "key_name=demo_key;public_net_id=0f2214b5-6d72-4b66-b559-0ea5372c2b4c"08:10
arif-aliso you can specify the public_net_id on the CLI08:11
*** openstackgerrit has quit IRC08:11
Firespiritok08:11
Firespiritbut how did you find this id08:11
arif-alineutron net-list08:12
Firespiritok08:12
FirespiritCould not find Service or Region in Service Catalog.08:12
Firespiriti guess something not working with my neutron08:13
*** che-arne has quit IRC08:14
*** fayablazer has joined #heat08:14
cmysterFirespirit: you can also create your own network if you need it08:15
Firespiriti don't think i can cmyster i don't have level of privilege in our cloud08:16
cmysterthat's a different matter08:17
Firespirit:P08:17
Firespiritdid you see the error i got when i tried a neutron command line08:17
Firespiritdid you ever see that before?08:18
shardymorning all08:18
*** pas-ha has joined #heat08:18
cmystermorning08:19
cmysteryes its a configuration issue08:19
cmysterI am trying to remember where08:19
shardyFirespirit: Try running "keystone catalog"08:19
shardyI assume something is wrong there, e.g the Neutron endpoint is missing08:20
pas-hamorning all08:20
cmystermorning08:20
cmysterFirespirit: you should see a bunch of tables with 'region: someregion'08:21
*** nosnos has quit IRC08:23
*** pasquier-s has joined #heat08:31
*** nosnos has joined #heat08:40
Firespiritfor what i should look after do a keystone catalog08:49
*** simonc has joined #heat08:50
*** ananta has joined #heat08:57
*** mkollaro has joined #heat09:00
*** simonc has quit IRC09:02
cmystershardy: I need an explanation on a bug status, do you have a few ?09:09
shardycmyster: sure09:10
cmysterhttps://bugs.launchpad.net/heat/+bug/125071009:10
uvirtbotLaunchpad bug 1250710 in heat "OS::Neutron::Subnet needs host_routes property" [High,Fix released]09:10
cmystercheck last comment, what exactly does it mean for Havana ?09:10
cmystermerged but abandoned ?09:10
shardyIt means the patch was proposed to upstream, but can't be merged due to the upstream backport policy09:11
cmysterahha09:11
shardythat's done when we want to carry the patch downstream09:11
shardyas everything has to be proposed (not necessarily always merged) upstream first09:12
cmysterI see09:12
cmysterok09:12
*** htruta has quit IRC09:14
*** pasquier-s_ has joined #heat09:16
ikke-tshardy, still having tough time with heat here. I added all that's in your blog & redhat manual, but keystone now denies heat by: keystone.auth.plugins.password UserNotFound: Could not find user, <id>09:16
ikke-ti checked from keystone, the user with id exists09:17
ikke-tit's the heat_domain_admin09:17
ikke-tany idea why would keystone not find the heat_domain_admin when heat calls it09:17
ikke-t?09:17
shardyikke-t: is it possible you created the user in the wrong domain, or that you've not yet created the domain correctly?09:18
shardyikke-t: Also, how did you install Heat?09:18
ikke-tanything is possible, but i did my best to follow the guide. I noticed the role table looks a bit odd09:19
*** pasquier-s has quit IRC09:19
ikke-twith puppet09:19
ikke-tthe  role table has "extra" column09:19
shardyikke-t: there is a puppet change up for review which configures this for you, FYI09:19
ikke-twhich has "_member_         | {"enabled": "True", "description": "Default role for project membership"}"09:19
*** sorantis has quit IRC09:20
*** che-arne has joined #heat09:20
ikke-ti need ot get that for the next round09:20
ikke-tnow I need to get this working09:20
shardyhttps://review.openstack.org/#/c/103127/09:20
ikke-tfor heat stack user that's missing the enabled: "heat_stack_user  | {} "09:20
ikke-tfrom the heat db i can see the heat_domain_admin has correct domain id09:21
ikke-tand the domain "heat" is enabled09:22
ikke-ti didn't yet find how to check the role is attached to  user09:22
shardyikke-t: I'd focus on one thing at a time, heat_stack_user is unrelated to the domain configuration09:23
shardy(you should never assign that role to anyone, it's only used by heat internally)09:23
*** simonc has joined #heat09:24
*** sorantis has joined #heat09:25
ikke-tok09:25
ikke-tsorry, i ment from user table, the user: heat_domain_admin09:26
ikke-tso admin09:26
ikke-t| heat_stack_owner | {}09:27
ikke-tis also missing the enabled: True09:27
ikke-ti wonder if it's really needed, just caught my eye09:27
ikke-tthe _member_ is the only one having the enabled: True09:28
ikke-tand everything else is working09:28
ikke-tbut keystone does not find the heat_domain_admin09:28
shardyhttp://paste.openstack.org/show/119301/09:29
*** lazy_prince has quit IRC09:29
shardyFishing in the DB may be causing additional confusion, I'd check your config aligns with mine via openstackclient ^^09:30
*** andreaf_ is now known as andreaf09:32
*** dsneddon_ has quit IRC09:32
ikke-tthe openstack python client in rhopsp5 is broken, it won't work with the commands:09:33
ikke-t# openstack --os-token ${ADMIN_TOKEN} --os-url=${IDENTITY_IP}:5000/v3 --os-identity-api-version=3 domain list09:33
ikke-tERROR: cliff.app No connection adapters were found for 'ip:5000/v3/domains'09:33
*** dsneddon_ has joined #heat09:33
shardyikke-t: IIRC that happens when ${IDENTITY_IP} is malformed09:33
shardymake sure it's http://192.168.123.456:5000/v309:34
ikke-tah you are right! i copy pasted my old wrong setting09:34
* shardy thinks we already had this discussion ;)09:34
* ikke-t is a bit dumb occationally09:35
ikke-tit seems my all users are now part of domain heat09:36
*** mkulke has quit IRC09:37
shardyThat does not sound right..09:37
ikke-t# openstack --os-token ${ADMIN_TOKEN} --os-url=${IDENTITY_IP}:5000/v3 --os-identity-api-version=3 role list --user heat_domain_admin --domain heat09:37
ikke-tusage: openstack role list [-h] [-f {csv,table}] [-c COLUMN]09:37
ikke-t                           [--quote {all,minimal,none,nonnumeric}]09:37
ikke-topenstack role list: error: unrecognized arguments: --user heat_domain_admin --domain heat09:37
ikke-tpython-openstackclient-0.3.1-3.el7ost.noarch09:38
ikke-trather old09:38
shardyYeah, too old probably09:39
shardyIIRC there was another way to list roles previously09:39
shardyuser list --roles ?09:39
ikke-tnope09:39
shardyIt was a weird interface as I recall, I'm not surprised they changed it09:39
ikke-ttoo bad rhosp comes with the couple notches old version09:40
shardywell we'll have to update it then09:40
*** simonc has quit IRC09:41
ikke-topenstack --os-token ${ADMIN_TOKEN} --os-url=${IDENTITY_IP}:5000/v3 --os-identity-api-version=3 user list --role heat_domain_admin09:41
ikke-tthat's the format, it just doesn't return anything09:41
shardyikke-t: you probably need to specify the domain as well09:43
ikke-tyou are right09:43
ikke-topenstack --os-token ${ADMIN_TOKEN} --os-url=${IDENTITY_IP}:5000/v3 --os-identity-api-version=3 user list --role heat_domain_admin --domain heat09:43
ikke-tthat's the format09:44
ikke-t| admin | heat   | heat_domain_admin |09:44
ikke-tthere's the error !09:45
ikke-tyou have: stack_domain_admin = heat_domain_admin09:45
ikke-ti have: stack_domain_admin =ab61ede375d148eb9611df37f360cc2c09:45
ikke-t\o/09:45
ikke-tquick change....09:45
*** kopparam has quit IRC09:48
*** kopparam has joined #heat09:48
*** kopparam has quit IRC09:49
*** kopparam has joined #heat09:53
ikke-tshardy, you made my week! i've been debugging this for quite a while. The first problem was that haproxy default buffer dropped something from heat API packages09:54
ikke-tthis now finally likely fixes it. thanks a lot!09:54
*** cdent has joined #heat09:54
*** kopparam has quit IRC09:58
shardyikke-t: no problem, glad we discovered what the issue was :)10:01
*** kopparam has joined #heat10:03
ikke-tactually, now we are back to where we started from, heat stays in CREATE_IN_PROGRESS10:04
ikke-t:)10:05
ikke-tit crerates a machine though10:05
*** mkulke has joined #heat10:05
ikke-tthis whole operation was in order to try to fix that :)10:05
rushiagrasalkeld: created the bug for what I'm facing10:09
rushiagrasalkeld: https://bugs.launchpad.net/heat/+bug/137827210:09
uvirtbotLaunchpad bug 1378272 in heat "Server metadata not updated in autoscalinggroup" [Undecided,New]10:09
asalkeldthanks rushiagr10:10
*** asalkeld has quit IRC10:27
*** asalkeld has joined #heat10:29
*** dimsum_ has joined #heat10:29
*** mkollaro has quit IRC10:30
*** sdake has joined #heat10:32
*** sdake has quit IRC10:32
*** sdake has joined #heat10:32
*** lazy_prince has joined #heat10:34
*** dimsum_ has quit IRC10:35
*** kopparam has quit IRC10:36
*** kopparam has joined #heat10:39
*** zbitter has joined #heat10:50
*** bart613 has joined #heat10:50
*** jprovazn_ has joined #heat10:50
bart613Hello -- I was wondering if anyone could point me towards some sample HEAT templates where we've ASG with instances where each of the instances we want to have a floating IP10:51
bart613A single server is easy as I specify port and assign the specific port to instance and then floating IP to that port10:52
bart613But how can I dynamically create ports and then refer to them from within Heat template?10:52
*** dsneddon_ has quit IRC10:54
*** jprovazn has quit IRC10:54
*** zaneb has quit IRC10:54
shardybart613: https://github.com/openstack/heat-templates/blob/master/hot/asg_of_stacks.yaml#L5110:54
shardybasically you want to create a nested stack template containing the server and floating IP resource, then scale that out via OS::Heat::AutoScalingGroup10:55
bart613ha!  I did not think of that.  Thank you -- going back to trying now10:55
shardybart613: np, that example is server+volume, but the principle is the same10:56
*** dimsum_ has joined #heat11:00
*** serg_melikyan has joined #heat11:01
*** dsneddon_ has joined #heat11:03
*** serg_melikyan has quit IRC11:03
*** serg_melikyan has joined #heat11:04
*** serg_melikyan has quit IRC11:06
bart613shardy: that worked flawlessly!  thx!11:11
bart613shardy: BTW maybe you know off the top of your head, just by using that ASG definition from example, I'm getting the "Forbidden: You are not authorized to perform the requested action, identity:list_roles. (HTTP 403)" error while creating it for scale_dn_policy11:14
bart613shardy: which is weird, I'm doing that as admin user11:14
*** serg_melikyan has joined #heat11:14
*** nkhare has quit IRC11:17
*** serg_melikyan has quit IRC11:18
*** EricGonczer_ has joined #heat11:23
*** lazy_prince has quit IRC11:23
*** lazy_prince has joined #heat11:23
*** sdake has quit IRC11:27
*** sdake has joined #heat11:28
*** serg_melikyan has joined #heat11:28
*** serg_melikyan has quit IRC11:29
*** lazy_prince has quit IRC11:30
shardybart613: either your user does not posess the necessary roles to do keystone role-list, or you've not configured stack domains:11:30
shardyhttp://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-2-stack.html11:30
*** nkhare has joined #heat11:30
shardybart613: how did you install heat?11:31
*** amakarov has joined #heat11:31
*** jistr has quit IRC11:32
bart613it's a Fuel from Mirantis based installation11:32
*** alexpilotti has joined #heat11:33
*** crose has joined #heat11:33
shardyskraynev, pas-ha: ^^11:34
*** kopparam has quit IRC11:37
*** sorantis has quit IRC11:39
bart613shardy: oh that's interesting, I can successfully create it under a default admin project.  it must be some permission stuff then11:46
*** mkollaro has joined #heat11:46
*** jistr has joined #heat11:52
*** nkhare has quit IRC11:52
asalkeldg11:52
asalkeldg'night11:52
*** cmyster is now known as cmyster_out11:52
*** asalkeld has quit IRC11:52
*** jistr is now known as jistr|english11:54
*** tchaypo has joined #heat11:54
*** tspatzier has quit IRC12:00
*** coolsvap is now known as coolsvap|afk12:07
*** kopparam has joined #heat12:09
*** Qiming has joined #heat12:11
*** crose has quit IRC12:12
bart613If I create a OS::Heat::AutoScalingGroup with min/desired/max = 3 and kill one instance, should Heat recreate that instance for me?12:16
bart613I'm kind of expecting this to happen, but it's not happening :(12:16
shardybart613: Not unless you set up an alarm which triggers when the instance gets killed12:16
*** JayJ has joined #heat12:16
bart613shardy: ah like OS::Ceilometer::Alarm that monitors number of existing instances?12:17
*** dsneddon_ has quit IRC12:18
shardybart613: There are a few ways to do it depending on your requirements, it may be possible to do something with ceilometer hypervisor level metrics, or you'd need to push data from an agent in the instance to send heartbeat metric data to Ceilometer12:19
shardythere have been discussions about something more automatic, but it's not yet implemented12:19
bart613shardy: oh crap, that doesn't seem like a straight-forward thing12:20
*** dsneddon_ has joined #heat12:20
bart613shardy: any resource on the internet you could point me at to see some examples?12:20
shardyhttps://github.com/openstack/heat-templates/blob/master/openshift-origin/F19/hot-template/openshift-scalable-cpu-nbgears/openshift.yaml#L36612:21
shardyThat's an example of sending data to ceilometer12:21
shardythe disadvantage of doing that is you have to pass in credentials12:21
shardythe alternative is the CFNish approach:12:21
shardyhttps://github.com/openstack/heat-templates/blob/master/cfn/F17/WordPress_Single_Instance_With_IHA.template#L15412:22
*** EricGonczer_ has quit IRC12:22
shardyWe probably need some more recent examples showing what is possible but hopefully that somewhat helps12:23
* shardy adds examples to his TODO list12:23
bart613shardy: thank you very much (again!)12:23
*** jdob has joined #heat12:24
*** rpothier has joined #heat12:26
*** sgordon_ has joined #heat12:26
*** zbitter is now known as zaneb12:28
ryansbIs there a way to get a list (or other structure) of the changes a stack update is going to make?12:28
ryansbI've been using the StackUpdate's dependencies() function but that's only been giving me stacks, not individual resources12:29
*** dimsum_ has quit IRC12:29
*** hdd has joined #heat12:29
*** dimsum_ has joined #heat12:29
*** dims_ has joined #heat12:30
*** ishant has quit IRC12:31
*** dims_ has quit IRC12:32
*** dimsum_ has quit IRC12:33
*** dimsum_ has joined #heat12:33
zanebpas-ha: congrats :)12:36
pas-hazaneb, thanks! :)12:36
*** achampion has quit IRC12:37
*** dsneddon_ has quit IRC12:39
*** dsneddon_ has joined #heat12:41
*** tspatzier has joined #heat12:44
*** kopparam has quit IRC12:45
*** kopparam has joined #heat12:45
*** openstackgerrit has joined #heat12:49
*** kopparam has quit IRC12:50
*** tonisbones has joined #heat12:53
skraynevpas-ha: hi and welcome in core team :)12:53
pas-haskraynev, thanks :)12:53
ryansbpas-ha++12:55
*** pasquier-s has joined #heat12:56
*** crose has joined #heat12:58
*** spzala has joined #heat12:58
*** pasquier-s_ has quit IRC12:59
*** radez_g0n3 is now known as radez12:59
*** mohits has joined #heat13:01
*** Drago has joined #heat13:04
*** jistr|english is now known as jistr13:07
*** Drago has quit IRC13:07
*** sdake_ has joined #heat13:09
*** vijendar has quit IRC13:12
*** DrBacchus is now known as rbowen13:13
*** Drago has joined #heat13:15
*** kopparam has joined #heat13:16
*** jprovazn_ has quit IRC13:19
*** jprovazn has joined #heat13:21
*** crose has quit IRC13:22
*** kopparam has quit IRC13:22
*** nosnos has quit IRC13:24
*** Drago has quit IRC13:25
*** Drago has joined #heat13:26
*** sanjayu has quit IRC13:26
jdandreagit/heat question: To look at the proposed juno branch locally, I set that up with "git checkout --track origin/proposed/juno" from my end?13:29
*** sdake_ has quit IRC13:30
*** Drago has quit IRC13:30
ryansbyes, or you can check out the rc1 git tag13:30
ryansb(2014.2.rc1)13:31
*** Drago has joined #heat13:31
jdandrearyansb: Ah, thanks.13:33
jdandreaFinally getting around to setting up devstack with saner git integration. I think I just blew up my local checkout though. (RECLONE=True - oops)13:35
*** gokrokve has joined #heat13:35
*** zns has joined #heat13:42
*** dsneddon_ has quit IRC13:43
*** jmckind has joined #heat13:43
*** jprovazn has quit IRC13:44
*** jmckind has quit IRC13:44
*** jmckind has joined #heat13:44
*** jmckind has quit IRC13:44
*** dsneddon_ has joined #heat13:45
*** jmckind has joined #heat13:45
*** jmckind has quit IRC13:45
*** jprovazn_ has joined #heat13:45
*** killer_prince has joined #heat13:48
*** jmckind has joined #heat13:48
*** killer_prince is now known as lazy_prince13:48
*** jmckind has joined #heat13:49
*** jmckind has quit IRC13:49
*** hdd has quit IRC13:50
*** jmckind has joined #heat13:50
*** jmckind has quit IRC13:50
*** sorantis has joined #heat13:53
*** pasquier-s_ has joined #heat13:53
*** gokrokve has quit IRC13:53
*** hdd has joined #heat13:54
*** hdd has quit IRC13:55
*** vijendar has joined #heat13:55
*** pasquier-s has quit IRC13:56
*** andreaf is now known as andreaf_13:57
*** jmckind has joined #heat13:57
*** achampion has joined #heat13:59
*** nkhare has joined #heat14:02
*** dsneddon_ has quit IRC14:05
*** dsneddon_ has joined #heat14:05
*** EricGonczer_ has joined #heat14:06
*** radez is now known as radez_g0n314:08
*** zns has quit IRC14:13
*** Drago has quit IRC14:16
*** hdd has joined #heat14:17
*** kopparam has joined #heat14:18
*** Drago has joined #heat14:18
*** radez_g0n3 is now known as radez14:19
*** pasquier-s__ has joined #heat14:22
*** zns has joined #heat14:22
*** zz_gondoi is now known as gondoi14:22
*** sanjayu has joined #heat14:23
*** kopparam has quit IRC14:23
*** pasquier-s_ has quit IRC14:25
*** mohits_ has joined #heat14:26
*** ramishra has joined #heat14:26
*** mohits has quit IRC14:27
*** sorantis has quit IRC14:29
*** gokrokve has joined #heat14:32
*** rakesh_hs has quit IRC14:33
*** sjmc7 has joined #heat14:36
ikke-tshardy, any idea what is missing if heat can build up things, but keeps status as creating... ?14:36
ikke-tsome one is either not sending status14:36
*** coolsvap|afk is now known as coolsvap14:37
ikke-tor packet is dropped14:37
ikke-tor someone is not listening14:37
ikke-twho notifies heat? ceilometer? nova?14:38
ikke-tany tips where to debug?14:40
*** hdd has quit IRC14:40
*** andersonvom has quit IRC14:43
*** andersonvom has joined #heat14:44
*** mohits_ has quit IRC14:53
*** crose has joined #heat14:55
*** reed has joined #heat14:56
*** ananta has quit IRC14:56
*** jprovazn_ has quit IRC14:57
*** nkhare has quit IRC14:57
shardyikke-t: use heat resource-list to figure out which resource is getting stuck IN_PROGRESS15:01
shardythen look at the logs and/or look at the service directly to figure out why15:02
ikke-tall resources as volume, attach and vm are done15:02
shardyikke-t: we don't (yet) use notifications, heat polls the related service, e.g nova for OS::Nova::Server for an active state15:02
*** rushiagr is now known as rushiagr_away15:04
*** sergmelikyan has joined #heat15:04
*** BillArnold has joined #heat15:06
*** Qiming has quit IRC15:08
*** dsneddon_ has quit IRC15:08
*** jamielennox has quit IRC15:08
*** dsneddon_ has joined #heat15:10
openstackgerritA change was merged to openstack/heat: Clean up signalling events after stack updates  https://review.openstack.org/12572315:19
*** kopparam has joined #heat15:19
*** bdossant has joined #heat15:19
*** sanjayu has quit IRC15:20
*** ktaube has quit IRC15:20
*** kopparam has quit IRC15:24
openstackgerritA change was merged to openstack/heat: Don't send multiple update-cancel messages to an event  https://review.openstack.org/12604615:25
*** che-arne has quit IRC15:27
*** k4n0 has quit IRC15:33
*** pasquier-s_ has joined #heat15:33
*** Drago has quit IRC15:36
*** pasquier-s__ has quit IRC15:36
*** hdd has joined #heat15:37
*** ramishra has quit IRC15:41
*** jamielennox has joined #heat15:43
*** daneyon_ has left #heat15:46
*** Drago has joined #heat15:51
*** bdossant has quit IRC15:51
*** randallburt has joined #heat15:58
*** DaveJ__ has joined #heat16:01
*** mkollaro has quit IRC16:03
*** mgc has joined #heat16:03
mgchi all, does anyone know if it's possible to create cloudwatch metrics with cloudformation?16:04
*** ananta_ has joined #heat16:05
zanebmgc: in Heat?16:06
mgcwell AWS preferrably, but eventually we'll be transitioning to heat16:06
zanebmgc: this isn't #aws you know ;) Anyway, it appears you don't need to create metrics in CloudWatch, they're autocreated when you publish to them16:09
zanebhttp://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html16:09
mgczaneb: yeah i've read that doc, but the problem is that I will be launching a cluster (several stacks) with some instances being monitored with an alarm that listens on a metric16:10
mgcso I was concerned that when I launch the stacks with the metric that doesn't exist the stack creation would fail16:11
mgcbut maybe it's fine...16:11
Putnsit wil lbe fine16:11
zanebI suspect it just won't match any data16:11
Putnsthe alarms will just be in a state of no data16:11
Putnsnot_enough_data or what it was called16:11
Putnsuntil the metrics appear16:11
mgcPutns: zaneb ok cool, i reckon i'll give it a shot and find out for sure16:12
mgcthanks for your help!16:12
ryansbINSUFFICIENT_DATA, IIRC.16:14
ryansbthen after a few metrics arrive (depends on your alarm parameters) it'll transition into OK16:15
ryansbmgc: ^16:15
*** rpothier has quit IRC16:17
mgcryansb: cool, thanks16:19
*** pasquier-s_ has quit IRC16:21
*** DaveJ__ has quit IRC16:22
*** Ng has quit IRC16:22
*** coolsvap is now known as coolsvap|afk16:23
*** rushiagr_away is now known as rushiagr16:23
*** ishant has joined #heat16:25
*** ifarkas has quit IRC16:28
*** jistr has quit IRC16:29
*** daneyon has joined #heat16:34
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Refactor template simple_parse  https://review.openstack.org/12047116:42
*** zigo has quit IRC16:43
*** gokrokve has quit IRC16:45
*** gokrokve has joined #heat16:45
*** Drago has quit IRC16:45
*** gokrokve has quit IRC16:45
*** zigo has joined #heat16:46
*** DaveJ__ has joined #heat16:46
*** swygue has quit IRC16:47
*** derekh has quit IRC16:53
*** cdent has quit IRC16:56
*** harlowja_away is now known as harlowja16:58
*** Ng_ has joined #heat16:59
*** jstrachan has quit IRC17:07
*** rushiagr is now known as rushiagr_away17:09
*** zns has quit IRC17:09
*** andersonvom has quit IRC17:11
*** andersonvom has joined #heat17:12
*** fayablazer has quit IRC17:16
*** andreaf has joined #heat17:17
*** spzala has quit IRC17:19
*** kopparam has joined #heat17:21
*** mgc has quit IRC17:22
*** kopparam has quit IRC17:25
*** mgc has joined #heat17:26
*** kopparam has joined #heat17:28
*** kopparam has quit IRC17:33
Firespiriti have a issue with cloud init where my params don't seem to work fine and i don't know why. Someone can help?17:37
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/12663017:39
*** jcoufal has quit IRC17:42
*** ramishra has joined #heat17:42
*** harlowja_ has joined #heat17:42
*** harlowja has quit IRC17:42
*** rushiagr_away is now known as rushiagr17:46
*** ramishra has quit IRC17:47
*** randallburt1 has joined #heat17:47
*** randallburt has quit IRC17:47
*** Drago has joined #heat17:52
*** Drago has quit IRC17:52
*** Drago has joined #heat17:52
*** funzo has quit IRC17:54
*** funzo has joined #heat17:55
*** swygue has joined #heat17:57
*** ramishra has joined #heat17:58
*** jcoufal has joined #heat18:02
*** ramishra has quit IRC18:02
uberj_stevebaker: question on https://bugs.launchpad.net/heat/+bug/1376008 , why is the conig executing twice?18:03
uvirtbotLaunchpad bug 1376008 in heat-templates "Implicit dependency between two SoftwareDeployment resources causes double run (rdo-icehouse-release)" [High,Triaged]18:03
*** uberj_ is now known as uberj18:04
*** uberj has quit IRC18:04
*** uberj has joined #heat18:04
*** kebray has joined #heat18:07
*** sabeen1 has quit IRC18:10
*** sabeen has joined #heat18:10
jdandreaTrying out Heat (proposed/juno) and I'm stuck in some kind of loop while creating a stack with a server, a port, and a floating ip. Anyone else running into this? http://paste.openstack.org/show/119436/18:11
*** zns has joined #heat18:12
*** spzala has joined #heat18:15
*** mgc has quit IRC18:15
*** swygue has quit IRC18:17
*** jprovazn has joined #heat18:18
*** tspatzier has quit IRC18:18
*** kebray has quit IRC18:23
*** ananta_ has quit IRC18:28
*** kopparam has joined #heat18:29
*** EricGonczer_ has quit IRC18:30
*** amakarov is now known as amakarov_away18:33
*** EricGonczer_ has joined #heat18:33
*** kopparam has quit IRC18:33
jdandreaIt's worse. I can't *delete* the stack either. Stuck in scheduler.py trying to get rid of the floating ip.18:34
*** xmltok has quit IRC18:37
jdandreaOk. It eventually failed to delete the stack, with this reason: "Resource DELETE failed: Error: Resource DELETE failed: Error: Server server1 delete failed: (500) Build of instance 097564e4-9f86-4912-b4f2-38451dd2083c aborted: Failed to allocate the network(s), not rescheduling."18:39
*** xmltok has joined #heat18:44
*** gokrokve has joined #heat18:52
*** DaveJ__ has quit IRC18:54
*** Dragomir has joined #heat18:54
*** rushiagr is now known as rushiagr_away18:55
*** ralph has joined #heat18:56
*** ramishra has joined #heat18:58
*** packet has joined #heat18:58
*** Ng_ is now known as Ng19:02
*** ramishra has quit IRC19:04
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/12663019:04
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/12663019:11
openstackgerritOpenStack Proposal Bot proposed a change to openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/12667819:17
*** ishant has quit IRC19:17
*** sabeen has quit IRC19:18
*** kebray has joined #heat19:18
*** sergmelikyan has quit IRC19:28
*** kopparam has joined #heat19:30
*** kopparam has quit IRC19:34
*** crose has quit IRC19:34
*** ralph has quit IRC19:36
uberjjprovazn: ping, question about 1376008 . are you the right guy to ask?19:45
jprovaznuberj, Hi, I took the bug though I'm quite noob in Heat internals - stevebaker might be the right guy19:48
uberjokay. I'm also a noob19:48
uberjwill wait for sb19:48
uberjOS::Heat::SteveBaker <--- should be a resource :)19:49
*** crose has joined #heat19:49
*** achampion has quit IRC19:49
*** achampion has joined #heat19:50
*** Dragomir has quit IRC19:52
jprovaznhehe19:54
*** ramishra has joined #heat19:59
*** BillArnold has quit IRC20:01
*** ramishra has quit IRC20:04
*** jprovazn has quit IRC20:05
*** harlowja_ is now known as harlowja_away20:09
*** crose has quit IRC20:11
*** tonisbones has quit IRC20:12
*** gokrokve has quit IRC20:13
*** gokrokve has joined #heat20:14
*** JayJ has quit IRC20:16
*** JayJ has joined #heat20:16
*** gokrokve has quit IRC20:18
*** randallburt1 has quit IRC20:22
*** crose has joined #heat20:24
*** kopparam has joined #heat20:30
*** kopparam has quit IRC20:35
*** Drago has quit IRC20:37
*** Drago has joined #heat20:37
*** Drago has quit IRC20:37
*** mkollaro has joined #heat20:48
pas-hauberj, lol20:48
*** ananta_ has joined #heat20:50
*** jdob has quit IRC20:50
*** randallburt has joined #heat20:57
*** asalkeld has joined #heat20:57
asalkeldmorning20:58
*** ramishra has joined #heat21:00
*** jcoufal has quit IRC21:03
stevebakermorning21:03
*** harlowja_away is now known as harlowja_21:04
*** ramishra has quit IRC21:05
stevebakeruberj: my last comment in the bug says what needs to be done21:09
*** aweiteka has quit IRC21:12
sdakehey stevebaker21:16
stevebakersdake: hai!21:16
openstackgerritSteve Baker proposed a change to openstack/heat: Configure flavor and image from env  https://review.openstack.org/12644521:16
uberjstevebaker: I'm just wondering why the heat-config script is seeing asking it to run something twice, and how the dependency is causing it21:17
*** Drago has joined #heat21:19
stevebakeruberj: I likely made the assumption that config scripts would be idempotent, or scripts would check for dupe runs themselves.21:19
uberjI see21:19
stevebakeruberj: in hindsight this was wrong. 55-heat-config needs to be modified to only run a config with a given UUID once21:20
uberjhow would you store state?21:20
uberja file with a list of "already been run" UUIDs?21:20
stevebakeruberj: touching a file with the UUID as the filename would be enough21:21
uberja file like that already exists in something like /var/lib/heat-config/heat-config-script/ or /var/lib/heat-config/heat-config-puppet/ right?21:21
stevebakeruberj: and maybe writing out the config contents to that file too, just to aid in config debugging21:21
*** vijendar has quit IRC21:22
*** Drago has quit IRC21:23
*** sdake_ has joined #heat21:23
stevebakeruberj: its heat-config state, so maybe /var/run/heat-config/{something}/{uuid}21:24
*** packet has quit IRC21:24
uberjokay, so it would be removed after heat-config finishes. I would assume that multiple runs of heat-config would cause the SC to happen multiple times, just that one run wouldn't cause a SC to run multiple times.21:25
stevebakeruberj: a deployment resource actually creates a new derived config with its own uuid, so these touched files can just accumulate, and 55-heat-config will not execute any config for which a touched file already exists21:28
jdandreaI'm trying something out in proposed/juno. If I find what appears to be a bug and have steps to reproduce, do I file it on launchpad in the usual way? (I'll note it's concerning proposed/juno)21:30
*** kopparam has joined #heat21:31
stevebakerjdandrea: would it not affect heat master too?21:33
stevebakerjdandrea: just file the bug against heat and we'll figure out what version it applies to21:33
jdandreastevebaker: True. Thanks.21:34
*** kopparam has quit IRC21:36
*** kebray has quit IRC21:37
*** ananta_ has quit IRC21:41
*** swygue has joined #heat21:44
*** ccrouch is now known as ccrouch-brb21:45
*** sarob has quit IRC21:46
openstackgerritWilliam C. Arnold proposed a change to openstack/heat: Implement AZ spanning for AWS ASGs  https://review.openstack.org/11613921:51
zanebasalkeld: I'll leave the mechanics of adding pas-ha to heat-core as an exercise for you ;)21:53
*** mkollaro has quit IRC21:57
asalkeldzaneb, ok21:58
asalkeldzaneb, good luck with your tc candidacy21:59
zanebthanks21:59
zanebit will be interesting, if nothing else :)22:00
asalkeldagree with the "need a project mentor" rather than tc grilling22:00
asalkeldthen no feedback for ages22:00
*** EricGonczer_ has quit IRC22:00
zanebyeah, we need to find a way to stop doing that22:00
stevebakerI thought deva was the project mentor for zaqar22:01
*** zns_ has joined #heat22:01
zanebstevebaker: I believe he was22:01
asalkeldone point about it is the mentor then needs to go back to tc meeting and explain what is going on22:02
zanebthat didn't work out that well for them though22:02
asalkeldi think this tc thing should be very time consuming22:02
asalkeldbut people don't give it the time it needs22:03
zanebI think it is now22:03
zanebjust following the necessary threads on openstack-dev is very time consuming22:03
*** zns has quit IRC22:04
asalkeldunderstanding a new tech. and doing your own research ...22:04
*** zns_ has quit IRC22:06
asalkeldone thing, i think tc members should have a maximum term (like in politics)22:06
asalkeldonce "in" it seems easier to get re elected22:06
asalkeldthan competing as a newbi22:06
*** radez is now known as radez_g0n322:12
*** jmckind has quit IRC22:16
shardyasalkeld: that's an interesting idea22:19
shardyatm it does end up as something of a popularity contest22:20
asalkeldotherwise it the same stooges22:20
asalkeldadded pas-ha to core22:20
pas-hayay!22:20
asalkeldgo try out your super powers:-)22:21
*** mikal has quit IRC22:21
pas-haa bit affraid. i should be sleeping for two hours already, but seems I have long sleepless night before me..22:22
asalkeldstop looking at the screen and close your eyes22:22
asalkeld:O22:23
*** mikal has joined #heat22:23
pas-hadeploying custom product - a recepie for sleep deprivation22:23
pas-ha(c)22:23
*** gokrokve has joined #heat22:24
uberjstevebaker: so I did a bit of poking to see if I could clarify what I was trying to say. when 55-heat-config shells out to the script hook and passes the json blob that contains the SD's unique UUID it uses the same UUID between runs. I think that means the state needed in 55-heat-config needs to be cleared at the end of every run22:24
stevebakeruberj: but that is what it does currently, and that is the problem22:25
*** sdake_ has quit IRC22:25
stevebakeruberj: the unique UUID will change if *anything* changes in the deployment resource, such as new config, change input_value. So we can change 55-heat-config to only run a unique UUID once. This means we need to add state which remains between runs22:27
uberjhmm, I don't know if this is a good idea though. what if, for example, a cookbook changes that is being pulled in dynamically? heat won't see the change but the user might expect heat to run22:28
uberjI'm starting to like your idempotent assumptions22:29
uberjupon further inspection, I think what I was pointing out was that doing something like 'dib-run-parts /opt/stack/os-config-refresh/configure.d' actually causes an element to run twice22:30
uberjwhich didn't seem right22:30
*** kopparam has joined #heat22:32
*** sarob has joined #heat22:32
*** dimsum_ has quit IRC22:34
asalkeldthat's new : "Patch in Merge Conflict"22:34
asalkeldbig red message22:34
*** dimsum_ has joined #heat22:34
stevebakeryes, running too often is preferable to not enough, but it does push complexity to the config writer. Now that we have SoftwareComponent we can deploy arbitrary non-lifecycle config to servers but we don't yet have a way of triggering them to be run. In Paris I'd like to discuss adding a REST API to trigger and monitor executing already deployed config. Ninja workflow!22:35
*** ccrouch-brb is now known as ccrouch22:36
asalkeldyeah, stevebaker that would be good22:36
asalkeldyou added that to the session pad?22:36
stevebakernot yet22:36
*** kopparam has quit IRC22:36
*** randallburt has quit IRC22:37
*** JayJ has quit IRC22:38
*** sjmc7 has quit IRC22:38
*** dimsum_ has quit IRC22:39
uberjstevebaker: ah, I see how SoftwareComponent solves this and specifically it would address my issue (trying to run a one-time install script exactly once). Are you saying that SoftwareComponent doesn't yet have a way to listen in to the lifecycle hooks?22:39
stevebakeruberj: the config hook for SoftwareComponent hasn't landed yet22:39
uberjI see22:39
uberjokay22:39
uberjplease feel free to invalidate the bug I filed22:40
stevebakeruberj: and currently it just deploys the non-lifecycle config, but there is no way to trigger it22:40
*** andreaf has quit IRC22:40
*** andreaf has joined #heat22:40
uberjdoes AWS's cloud formation have an equivalent to SoftwareComponents?22:40
asalkeldstevebaker, were is the most uptodate docs on this?22:40
asalkelduberj, no22:41
stevebakerasalkeld: https://review.openstack.org/#/c/120280/ I haven't written the actual interesting bit yet22:41
asalkeldok22:42
asalkeldbrb, school run22:43
openstackgerritA change was merged to openstack/heat-templates: A simple template to test SoftwareComponent  https://review.openstack.org/11295822:48
*** randallburt has joined #heat22:48
*** crose has quit IRC22:54
*** gondoi is now known as zz_gondoi22:56
*** vijendar has joined #heat22:57
*** randallburt has quit IRC22:58
*** andersonvom has quit IRC23:00
*** ramishra has joined #heat23:02
*** dimsum_ has joined #heat23:02
*** dimsum_ has quit IRC23:03
*** dimsum_ has joined #heat23:04
*** ramishra has quit IRC23:06
*** andersonvom has joined #heat23:07
*** JayJ has joined #heat23:08
*** jamielennox has quit IRC23:10
*** JayJ has quit IRC23:13
*** andersonvom has quit IRC23:15
*** Drago has joined #heat23:19
asalkeldfabbione, you about?23:22
asalkeldsdake, maybe you?23:23
asalkeld*some* RHT HA oriented person...23:23
*** Drago has quit IRC23:24
*** ananta_ has joined #heat23:24
sdakeshoot me plz23:24
asalkeldfabbione, sdake for later: can you guys contribute/review the HA section in 2 places https://etherpad.openstack.org/p/kilo-crossproject-summit-topics23:25
sdakeasalkeld ah, I can't help there23:25
sdakeyou want fabbione for that23:25
asalkeld(maybe point fabbione to it?)23:25
sdakeasalkeld I'll send a mail - no guarantees fabbione is swamped atm23:25
asalkeldwe need openstack services to be HA friendly23:25
asalkeldmaybe beekhof?23:26
asalkeldshouldn't take long23:26
sdakewhat is your email address now23:26
*** hdd has quit IRC23:26
asalkeldasalkeld@mirantis.com23:26
asalkeldi also added an entry to https://etherpad.openstack.org/p/kilo-heat-summit-topics23:27
asalkeldfor HA23:27
asalkeldbut maybe it's best to focus on the cross project one23:27
sdakeemail in the air23:28
sdakelets see what pops out23:28
asalkeldthanks steve23:28
*** dsneddon_ has quit IRC23:28
sdakenp23:28
*** dsneddon_ has joined #heat23:29
openstackgerritAbhishek Chanda proposed a change to openstack/heat: Use the new keystonemiddleware module  https://review.openstack.org/12675223:29
*** ananta_ has quit IRC23:32
*** kopparam has joined #heat23:33
openstackgerritA change was merged to openstack/heat: Configure flavor and image from env  https://review.openstack.org/12644523:34
*** kopparam has quit IRC23:37
*** alexpilotti has quit IRC23:39
openstackgerritSteve Baker proposed a change to openstack/heat: Move test_autoscaling from tempest to heat  https://review.openstack.org/11218923:43
*** ananta_ has joined #heat23:46
openstackgerritSteve Baker proposed a change to openstack/heat: Integration test for software-config tools  https://review.openstack.org/11371123:47
*** hdd has joined #heat23:49
stevebakerPlease don't approve any of ^ tests unless check-heat-dsvm-functional actually passes23:50
*** gokrokve has quit IRC23:59

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