Monday, 2017-08-14

*** kbaegis has quit IRC00:07
*** omie888777 has quit IRC00:16
*** omie888777 has joined #heat00:17
*** spzala has joined #heat00:18
*** spzala has quit IRC00:22
*** kbaegis has joined #heat00:23
*** kbaegis has quit IRC00:34
*** spzala has joined #heat00:41
*** kbaegis has joined #heat00:44
*** kbaegis has quit IRC00:56
*** yangyapeng has joined #heat00:59
*** kiennt has joined #heat00:59
*** elynn has joined #heat01:15
*** elynn_ has joined #heat01:27
*** elynn has quit IRC01:27
*** elynn__ has joined #heat01:30
*** hoonetorg has quit IRC01:30
*** elynn_ has quit IRC01:32
*** Shunli has joined #heat01:34
*** hoonetorg has joined #heat01:48
*** zsli_ has joined #heat01:48
*** Shunli has quit IRC01:51
*** annegentle has joined #heat01:52
*** hoonetorg has quit IRC02:10
*** annegentle has quit IRC02:12
*** kbaegis has joined #heat02:13
*** hoonetorg has joined #heat02:28
*** kbaegis has quit IRC02:30
*** spzala has quit IRC02:37
*** felipemonteiro has joined #heat02:44
*** ricolin has joined #heat03:26
*** gkadam has joined #heat03:35
*** blomquisg_gone is now known as blomquisg03:57
*** links has joined #heat04:07
*** ramishra has joined #heat04:17
*** gmoro has quit IRC04:24
*** blomquisg is now known as blomquisg_gone04:26
*** gmoro has joined #heat04:29
*** felipemonteiro has quit IRC04:32
*** gmoro_ has joined #heat04:35
*** gmoro has quit IRC04:35
*** spzala has joined #heat04:38
*** spzala has quit IRC04:42
*** shan has joined #heat05:00
openstackgerritRico Lin proposed openstack/heat master: Add release notes for heat  https://review.openstack.org/49342305:00
*** ramishra has quit IRC05:04
*** ramishra has joined #heat05:06
ramishraricolin: we've not cut rc1 yet?05:11
ricolinnot yet:)05:11
ramishraricolin: Are we waiting for anything? I moved most bugs remaning from rc1 to rc2 on Staurday.05:13
ricolinramishra, actually we not waiting, I'm writing the release to openstack/release now:)05:17
ricolinramishra, I do got one question, will rc2 still adopt pike release note?05:17
ricolinwe need some release note for identity federation issue05:18
ricolinhttps://review.openstack.org/49342305:18
ramishraIf it's a release not for a bug then it should be fine, I think05:18
ramishraWe could have added that note rom the beginning of the cycle;)05:19
ricolinramishra, okay, try to find clue in document, but got nothing05:19
ramishraanyway, I would probably not worry about it05:19
*** mdnadeem has joined #heat05:19
ramishrawe also have to create stable/pike branch, that's also a patch to the release repo.05:21
ricolinyes, of course!05:22
openstackgerritRico Lin proposed openstack/heat master: Add release notes for heat  https://review.openstack.org/49342305:36
*** kiennt has quit IRC05:44
openstackgerritMerged openstack/heat master: Mark stack failed when exception raised in resource check  https://review.openstack.org/48722205:44
*** elynn__ has quit IRC05:44
*** links has quit IRC05:50
*** links has joined #heat05:56
*** jprovazn has joined #heat05:57
*** elynn has joined #heat06:02
*** kiennt has joined #heat06:09
*** ramishra has quit IRC06:27
*** elynn_ has joined #heat06:30
*** rwsu has joined #heat06:32
*** elynn has quit IRC06:33
*** hoonetorg has quit IRC06:39
*** ramishra has joined #heat06:45
*** hoonetorg has joined #heat06:52
*** rcernin has joined #heat06:57
*** shardy has joined #heat07:09
*** ramishra has quit IRC07:11
*** ramishra has joined #heat07:12
*** ccamacho has joined #heat07:30
*** jtomasek has joined #heat07:32
*** amoralej|off is now known as amoralej07:32
*** serlex has joined #heat07:32
*** spzala has joined #heat07:38
*** spzala has quit IRC07:39
*** spzala has joined #heat07:39
*** spzala has quit IRC07:39
*** omie888777 has quit IRC07:41
*** iogg has joined #heat07:53
openstackgerritEthan Lynn proposed openstack/heat master: Override ssl options for heatclient in RemoteStack  https://review.openstack.org/48092307:56
*** dmellado has quit IRC08:06
*** ltomasbo has quit IRC08:06
*** amoralej has quit IRC08:06
*** zsli__ has joined #heat08:09
*** kiennt has quit IRC08:10
*** kiennt_ has joined #heat08:10
*** zsli_ has quit IRC08:11
*** derekh has joined #heat08:22
*** havess has joined #heat08:26
*** jaosorior has joined #heat08:41
*** flg has joined #heat08:43
*** flg__ has joined #heat08:43
*** amoralej has joined #heat08:46
*** gfidente has joined #heat08:46
*** gfidente has joined #heat08:46
*** openstackgerrit has quit IRC08:48
*** dbecker has joined #heat08:53
*** ramishra has quit IRC09:10
*** ramishra has joined #heat09:11
*** zsli_ has joined #heat09:14
*** zsli__ has quit IRC09:17
*** zsli_ has quit IRC09:32
*** spzala has joined #heat09:40
*** spzala has quit IRC09:44
*** havess has quit IRC09:47
*** dixiaoli_ has joined #heat09:48
*** havess has joined #heat09:49
*** openstackgerrit has joined #heat09:49
openstackgerrithuangtianhua proposed openstack/heat master: Rollback stack with correct tags  https://review.openstack.org/48015309:49
*** shardy has quit IRC09:50
*** shardy has joined #heat09:51
*** dixiaoli_ has quit IRC09:55
openstackgerrithuangtianhua proposed openstack/heat master: Rollback stack with correct tags  https://review.openstack.org/48015309:59
*** yangyapeng has quit IRC10:06
*** kiennt_ has quit IRC10:14
*** elynn_ has quit IRC10:15
*** mdnadeem has quit IRC10:44
*** mdnadeem has joined #heat11:00
*** mdnadeem has quit IRC11:12
*** shardy is now known as shardy_lunch11:15
*** mdnadeem has joined #heat11:27
*** yangyapeng has joined #heat11:31
*** iogg has quit IRC11:40
*** yangyapeng has quit IRC11:43
*** dprince has joined #heat11:56
*** nicolasbock has joined #heat11:57
*** shardy_lunch is now known as shardy12:01
*** slagle has joined #heat12:04
openstackgerritMerged openstack/heat master: Avoid creating two Stacks when loading Resource  https://review.openstack.org/47945412:23
openstackgerritMerged openstack/heat master: Rename Resource._resolve_all_attributes() method  https://review.openstack.org/46780612:24
openstackgerritMerged openstack/heat master: Switch integration jobs to use local mirrors  https://review.openstack.org/49263412:24
openstackgerritMerged openstack/heat master: Use zaqar v2 in integration tests  https://review.openstack.org/49280012:24
*** iogg has joined #heat12:27
iogghi@æll12:36
*** gkadam has quit IRC12:36
*** spzala has joined #heat12:40
*** spzala has quit IRC12:41
*** spzala has joined #heat12:41
*** spzala has quit IRC12:41
*** flg has quit IRC12:45
*** flg__ has quit IRC12:45
*** shewless has joined #heat12:58
shewlessHi. I'm working on a software change to heat to expose the project name as a psuedo param.  I have successfully implemented this change in mitaka (deployed in my production env) and the unit tests all passed when I ran them12:59
shewlessI'm trying to make this change on the master branch now so that I can get it committed.. this is where I'm running into problems12:59
shewlessI can't get all of the unit tests to pass.  It looks like there were some big changes to the RequestContext class and I think I've got something screwed up there13:00
shewlessI'm stuck.  I need help.  Either someone who is familiar with the heat code OR someone who can help me debug unit tests.  I'm trying to step through the unit tests but I don't understand why they are failing13:02
shewlessI'm using "tox/py27/bin/python -m testtools.run discover" and pdb .. starting with this test: api/openstack_v1/test_stacks.py:test_update_with_existing_template13:03
*** nicolasbock has quit IRC13:03
shewlessThe problem is that (in some cases) my new "project name" is taking on the same value of "project id".  I suspect there is a method signature I've missed updating but I'm having trouble following the stack trace13:04
*** jcoufal has joined #heat13:06
shewlessHere is the patch that is working on mitaka FYI: http://paste.ubuntu.com/25312189/13:06
*** spzala has joined #heat13:08
*** mbuil has joined #heat13:13
shewlessIf I'm reading tox right I think I'm failing 63 tests out of 6686.13:20
shewlessSo I think I'm close13:20
shewlessHere is an example of the error I'm getting13:21
shewlesshttp://paste.ubuntu.com/25312261/13:21
shewlessnote that "tenant" and "tenant_name" are the same which is unexpected.13:22
shewlesslooks like a good chunk of these failures are happening specifically in api.openstack_v1.test_stacks13:23
*** yangyapeng has joined #heat13:23
*** shan has quit IRC13:24
*** yangyapeng has quit IRC13:26
*** yangyapeng has joined #heat13:26
*** felipemonteiro has joined #heat13:39
*** dixiaoli has joined #heat13:41
*** dixiaoli has quit IRC13:43
*** dixiaoli has joined #heat13:43
*** EricGonczer_ has joined #heat13:44
*** hongbin has joined #heat13:44
*** felipemonteiro has quit IRC13:45
*** dixiaoli has quit IRC13:47
*** dixiaoli has joined #heat13:47
*** links has quit IRC13:47
*** kiennt has joined #heat13:48
*** blomquisg_gone is now known as blomquisg13:54
*** dixiaoli has quit IRC13:54
mbuilguys, if I use the publicURL of heat instead of the internalURL, I keep getting SSL certificates verification problems. Does anybody know what might be happening? I am a bit lost :(13:56
mbuilFor example, if I execute 'openstack stack list' everything is fine (I am using internalURL). If I execute 'heat stack-list', I get the SSL problem13:57
*** dixiaoli has joined #heat13:59
*** ramishra has quit IRC14:00
shewlessmbuil are both urls on the same domain?14:02
shewlessmbuil: the easiest way (imo) to get ssl to work is to use something like haproxy to do your SSL termination... then you don't have to fight with configuring heat,glance, nova, neutron, individually14:03
*** ayoung has joined #heat14:03
*** chlong has joined #heat14:04
*** ramishra has joined #heat14:07
*** gmoro has joined #heat14:07
*** gmoro_ has quit IRC14:07
mbuilshewless: when you say domain, you mean Region?14:09
*** havess has quit IRC14:10
*** annegentle has joined #heat14:11
*** yangyapeng has quit IRC14:20
shewlessmbuil: no I mean DNS domain. If the internalURL works and the publicURL doesn't work wrt ssl.. I would start by confirming you have your certs configured correctly14:20
shewlessmbuil: also you might want to check out the #openstack-operators groups or "ask.openstack.org" since this probably isn't a heat specific problem14:21
*** catintheroof has joined #heat14:21
*** yangyapeng has joined #heat14:22
shewlessshardy: Do you know if anyone is around that might be able to help me with my problem above (adding project name pseudo parameter)14:25
mbuilshewless: It is an openstack-ansible deployment. We are using IPs when registering the endpoints so DNS is not necessary. I am currently trying to make tacker work but I always get the SSL error when trying to use heat. It only happens when using heat plug-in :(. Anyway, I'll try to ask around and see if I can isolate the problem14:26
shewlessmbuil: SSL doesn't work so good with IP addresses..14:27
*** dixiaoli has quit IRC14:31
*** dixiaoli has joined #heat14:33
*** dixiaoli has quit IRC14:33
*** armaan has joined #heat14:33
shardyshewless: Hi, ramishra may be able to help, or if you can push your patch to gerrit I'll try to take a look later14:35
shardyshewless: out of interest, what's the use-case for project name vs the ID which will be unique regardless of domain?14:36
shardyor ricolin may be able to take a look14:36
shewlessshardy: thanks. my use-case for project name is to create unique and meaningful DNS names (using designate).  it would also be useful to create usernames based on the project name14:39
shewlessshardy: in my private cloud every user has their own "project" space. So user shardy would launch a stack and automatically get an instance called "instance-stack.shardy.domain.com"14:40
shewlessshardy: it's okay to upload a "not working" patch to gerrit?14:40
*** armaan has quit IRC14:41
*** armaan has joined #heat14:41
shardyshewless: ack, I see - yes you can just mark it WIP, by the commit title and/or via workflow -114:44
shardythat will make it a bit easier for folks to pull it and help with your test issues14:45
ricolinshardy, shewless I'm back:)14:46
shewlessshardy, ricolin: makes sense. I'll see about uploading what I have to gerrit. I've never done that before so we'll see14:46
shardyshewless: https://docs.openstack.org/infra/manual/developers.html has details, other than the one-off setup it's basically git review -s && git review14:48
*** annegentle has quit IRC14:57
*** ramishra has quit IRC15:00
*** rcernin has quit IRC15:00
shewlessshardy, ricolin: dumb question.. how do I get "git review -s" to use the ssh key I created for gerrit?15:14
shewlessfor example.. if I am sshing into gerrit I would need to do: ssh -p 29418 -i ~/.ssh/gerrit shewless@review.openstack.org gerrit version15:14
shewlessnote the -i15:14
*** mdnadeem has quit IRC15:15
*** ccamacho has quit IRC15:19
*** shardy has quit IRC15:22
ricolinshewless, you can try write some config in .ssh/config15:23
ricolinlike15:23
ricolincat << EOF > ~/.ssh/config15:23
ricolinHost review.openstack.org15:23
ricolin     IdentityFile {PATH to your private key}15:23
ricolinHost review15:23
ricolin  Hostname review.openstack.org15:23
ricolin  Port 2941815:23
ricolin  User {your gerrit user name}15:23
ricolinEOF15:23
*** shardy has joined #heat15:23
shewlessricolin: thanks!15:24
shewlessricolin, shardy: I want to double check how I mark this WIP15:25
shewlessis it by the branch name, or the commit message or something else?15:25
ricolinshewless,15:25
ricolinshewless, the first line in commit message15:25
*** omie888777 has joined #heat15:26
*** omie888777 has quit IRC15:27
*** dprince has quit IRC15:35
*** felipemonteiro has joined #heat15:36
openstackgerritScott Charron proposed openstack/heat master: WIP: add project_name as a pseudo parameter.  https://review.openstack.org/49358815:40
*** felipemonteiro has quit IRC15:41
shewlessricolin, shardy: there it is.. 49358815:42
shewlessNote.. this file heat/objects/stack.py I think is new from master vs mitaka.. may have screwed that up..15:42
*** chlong has quit IRC15:45
*** chlong_ has joined #heat15:45
*** links has joined #heat15:47
*** gmoro has quit IRC15:51
shardyshewless: ack thanks, will check it out15:51
*** gmoro has joined #heat15:52
*** dprince has joined #heat15:56
*** omie888777 has joined #heat15:58
*** mw_ has joined #heat16:03
shardyshewless: I think I spotted why the tenant id/name are getting mixed up16:05
shardyhopefully that helps, can take a closer look later if there are other issues16:05
*** armaan has quit IRC16:05
*** armaan has joined #heat16:05
shardyshewless: unfortunately there is some historical duplication and confusion around tenant/project variables in the context16:06
shewlessshardy tell me about it :) tenant is sometimes the id and sometimes the name from what I could see16:10
shardyshewless: yeah, it's a bit of a mess unfortunately, the deprecated tenant naming has been hard to fully purge :(16:10
shardyshewless: I think switching to self.context.project_name will give you the value you expect tho16:11
shewlessshardy: I thought I had tried that.. but Let me try again and report back16:11
shardyshewless: it makes heat.tests.test_hot.StackParametersTest.test_param_refs pass for me, but there could be other issues I've not spotted from my quick review/test16:12
*** kiennt has quit IRC16:12
*** gmoro has quit IRC16:17
shardyshewless: I think we have a similar problem with heat/tests/utils.py dummy_context where we set tenant to test_tenant, not project_id16:17
shewlessshardy: do you mean heat/api/openstack/v1/util.py ? looks like the problem is there16:19
shardyshewless: No I mean heat/tests/utils.py - the dummy context doesn't have the expected project_name, it's an empty string, which is causing e.g heat.tests.test_engine_service.StackServiceTest.test_stack_identify to fail16:20
shardythere could be issues elsewhere, just mentioning what I tried :)16:20
*** gmoro has joined #heat16:20
*** gmoro has quit IRC16:21
shewlessshardy: ah.. I remember this util.py file.. should I add "project_name" : "something"16:21
shewlessshardy: hmm.. or I guess the from_dict kind of maps tenant to project_name ?16:21
*** gmoro has joined #heat16:21
shewlessshardy: excellent.. down to 3 unit test failures. needed to fix the problem you pointed out and this the v1/util.py also referenced tenant instead of project_name.16:25
*** iogg has quit IRC16:28
*** kbaegis has joined #heat16:29
shewlessshardy: all 3 tests are in test_engine_service. I think they all use heat/tests/engine/tools.py. EG: heat.tests.test_engine_service.StackServiceTest.test_stack_identify_uuid16:30
kbaegisHi all. I'm looking for a good way to let a VM notify heat when its swdeployment is complete16:32
kbaegisHow is this typically done?16:32
kbaegisRight now I've got partial functionality using curl, retrieving a token functioning with os-collect/apply-config16:33
kbaegisBut I'm getting 400 errors from the heat-api when I try to POST to the resource URL16:33
kbaegishttps://hastebin.com/ucifibazod.tex Everything after "SEND SIGNAL" I need help with16:34
*** serlex has quit IRC16:34
kbaegisI tried to pull what I could from the example cirros template, but it was unworkable. I've never even seen json2fs before16:35
shardyshewless: yeah I replaced tenant with project_name in the from_dict data, I think tenant gets mapped by the context base class to the ID16:35
shardyshewless: good to hear the number of failures is improved, sounds like you're nearly there :)16:35
shewlessshardy: so close. I think it's this self.ctx = utils.dummy_context(tenant_id='stack_service_test_tenant')16:36
shewlessneed to somehow pass in the tenant name too16:37
shardyshewless: yeah you could add a parameter to dummy_context if you need to control the hard-coded name16:37
kbaegisPlease help :)16:37
kbaegisWish there was a clean command line utility that would send a "COMPLETE" back to heat, but I couldn't find it16:38
shewlessshardy: hmm.. actually maybe that's not the problem. I'm okay with the hard coded name.  The tests end up saying the expected is correct but the "actual" has a blank string for tenant_name.16:38
kbaegisThe example-template for cirros has precisely the same problem. The swdeploy never completes: https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/cirros-example/cirros-hello-world.yaml16:39
shardykbaegis: There is, it's called heat-config-notify, but if you want to use curl, you can use the default CFN_SIGNAL signal_transport, provided the heat-api-cfn is running16:40
shardykbaegis: I wrote the cirros example, and I agree it's not the simplest of things, but I wanted to use the native transport16:40
kbaegisshardy: Thanks! Which pip package is heat-config-notify included in?16:41
shardyhttps://github.com/openstack/tripleo-image-elements/blob/master/elements/os-refresh-config/os-refresh-config/post-configure.d/99-refresh-completed#L1916:41
shardykbaegis: that shows how to call curl with the pre-signed URL the deployment gives you when CFN_SIGNAL is selected16:41
shardykbaegis: it's in the heat-agents repo:16:42
shardyhttps://github.com/openstack/heat-agents/blob/master/heat-config/bin/heat-config-notify16:42
shardykbaegis: heat-config-notify is really designed for use from the various hooks, but you could call it manually16:42
shardykbaegis: I assume you're trying to use cirros, e.g you can't just use the python hooks and have them do the notify for you?16:43
kbaegisshardy: Actually, I'm trying to figure out an os-independent way to report back16:43
kbaegisSo this is on a tails livecd16:43
shardykbaegis: ack, by os-independent, does that mean you can't use python?16:43
shardyin theory the heat-agents hooks should be distro agnostic, modulo bugs and testing16:44
kbaegisI can use python, certainly. I just need a list of deps to build into the image16:44
kbaegisso it's heat-agents? as in pip install -U heat-agent16:44
kbaegis*heat-agents?16:45
shardykbaegis: yup it's heat-agents, although I've not personally tested with them installed via pip16:45
kbaegisshardy: They aren't including anything new in $PATH. How do I call the scripts, and what do I pass them?16:45
shardykbaegis: the normal way is to install os-collect-config in the image, which is configured to call  os-refresh-config16:47
shardyhttps://github.com/openstack/heat-agents/blob/master/heat-config/os-refresh-config/configure.d/55-heat-config16:47
*** jmlowe has quit IRC16:47
shardythat then runs that hook script every time the metadata collected from heat changes16:47
shardywhich then triggers running the tool specific hooks in heat-agents16:47
kbaegishmm. I already have os-collect-config running16:47
kbaegisshardy: I've set it up via cloud-init. Probably the wrong way to do this16:48
shardyhttps://docs.openstack.org/heat/latest/template_guide/software_deployment.html#building-custom-image-for-software-deployments16:48
*** spzala has quit IRC16:49
shardykbaegis: well it's not wrong, but possibly less well tested than baking an image via diskimage builder16:49
shardykbaegis: https://github.com/openstack/heat-templates/tree/master/hot/software-config/boot-config has some examples, but again it's not something I've personally tested in a while16:50
kbaegisshardy: I think maybe this is all traceable back to the os-collect-config config file I'm writing out then?16:50
shardykbaegis: could be - does running os-collect-config manually show it polling the metadata OK?16:51
kbaegisshardy: https://hastebin.com/quxonaruhe.ini16:51
kbaegisYeah, it's doing pulls perfectly16:51
kbaegisBut when I look in orchestration, it says deploying for a full hour and eventually fails on the stack16:51
shardykbaegis: Ok, you should see it run os-refresh-config, which you can also run manually to check for clues16:52
kbaegisNo stdout/stderr16:52
openstackgerritOpenStack Release Bot proposed openstack/heat master: Update reno for stable/pike  https://review.openstack.org/49360516:53
kbaegisos-apply-config -t /var/run/os-collect-config/ returns success16:53
kbaegisFinds all 3 of the files os-collect pulls too16:53
shardykbaegis: is the heat-config hook script installed in /usr/libexec/os-refresh-config/configure.d/ ?16:53
*** gkadam has joined #heat16:53
kbaegisshardy: I'm passing everything through cloudinit. Sec, I'll paste the commands16:53
kbaegishttps://hastebin.com/dinalejofi.lua16:54
shardykbaegis: Ok, but does the image contain the heat-config scripts, e.g 55-heat-config and all the heat-agents hooks?16:55
shardyif not then you need cloud-init to install them too16:55
shardyhttps://github.com/openstack/heat-templates/blob/master/hot/software-config/boot-config/templates/install_config_agent_fedora_pip.yaml16:56
shardythere's an example there but it doesn't seem to have been updated since the agents were moved from heat-templates to heat-agents (the repos were split)16:56
*** derekh has quit IRC16:57
*** rcernin has joined #heat16:59
*** armaan has quit IRC17:01
*** armaan has joined #heat17:02
kbaegisHmm17:03
kbaegisshardy: Am I correct in saying that this is all it does? https://github.com/openstack/heat-templates/blob/master/hot/software-config/elements/heat-config-script/install.d/50-heat-config-hook-script17:05
*** links has quit IRC17:05
*** ricolin has quit IRC17:05
shewlessshardy: the 3 tests failing all do pretty much the same thing17:08
shewless        identity = self.eng.identify_stack(self.ctx, self.stack.name)         self.assertEqual(self.stack.identifier(), identity)17:08
kbaegisshardy: What I suppose I need to know is how to do what you were just suggesting. Sounds like I need hook-script.py here: /var/lib/heat-config/hooks/script17:08
shewlessshardy: If "expected" is correct and "actual" has a blank string for tenant_name should I expect a problem with my actual code and not in the unit test?17:08
*** jmlowe_ has joined #heat17:11
kbaegisWhat I've tried: pip install -U heat-agents; git clone <repo>&&/heat-templates/hot/software-config/elements/heat-config-script/install.d/50-heat-config-hook-script;os-apply-config -t /var/run/os-collect-config/17:18
kbaegisThe softwaredeployment just failed/timed out17:19
openstackgerritScott Charron proposed openstack/heat master: WIP: add project_name as a pseudo parameter.  https://review.openstack.org/49358817:20
*** gfidente is now known as gfidente|afk17:24
*** spzala has joined #heat17:27
shewlessshardy: I updated gerrit with my changes. Still have those 3 failing test cases. I'm not sure if you can see the comments I'm adding (showing up as draft) but your input would be appreciated17:27
*** annegentle has joined #heat17:30
*** jtomasek has quit IRC17:31
kbaegisshardy: Can you please provide me with some sample json possibly to indicate that a given swdeployment succeeded?17:32
*** jtomasek has joined #heat17:32
kbaegisMy curl command appears to be the cheapest way to get this working rather than trying to figure out the arcane way in which the os-collect-config calls the heat-agents hook17:33
kbaegis:)17:33
kbaegisI'm just lost there, and I'm not very confident that I can figure it out with the documentation provided17:33
shardykbaegis: it's not really arcane, but I appreciate there are a few moving parts, I think you're still missing the 55-heat-config script I mentioned earlier, which is required for os-refresh-config to call the hook scripts17:34
shardykbaegis: if you want to just use curl, that should work fine provided you use the default CFN_SIGNAL transport17:34
shardythe data is optional, just POSTing to it should be enough, or refer to this one I linked:17:34
*** gkadam has quit IRC17:35
shardyhttps://github.com/openstack/tripleo-image-elements/blob/master/elements/os-refresh-config/os-refresh-config/post-configure.d/99-refresh-completed#L3217:35
shardykbaegis: you can see there we just run call_curl_deployment for a number of deployment resources17:36
kbaegisshardy: Well maybe not arcane :) When I try running this hook script manually (post "install"), it hangs: https://github.com/openstack/heat-templates/blob/master/hot/software-config/elements/heat-config-script/install.d/hook-script.py17:36
kbaegisAnd then diskimage-builder automates a lot of the critical understanding of what packages need to be installed on your images17:37
kbaegisI didn't find it very friendly either17:38
kbaegisThis is what I need examples for: {\"deploy_stdout\": \"$stdout\", \"deploy_status_code\": \"0\"}17:38
shardythat's how tripleo signalled some deployment resources not handled by heat-agents hooks17:38
shardyshewless: ack will check it tomorrow - you need to click reply/post to post the draft comments17:38
shardykbaegis: note there's a heat CLI to signal things too, e.g heat resource-signal stackname deployment_resource_name17:38
kbaegisOH!17:39
kbaegisWonderful17:39
kbaegisI already have python-heatclient installed17:39
*** flg has joined #heat17:39
*** flg__ has joined #heat17:39
*** gmoro has quit IRC17:41
kbaegis*openstack stack resource signal17:41
kbaegisThat worked17:42
kbaegisWonderful17:42
shardykbaegis: yeah I'm sure as always the docs could use improvement, many/most folks do rely on dib created images so that's the best tested/documented path atm17:42
shardyhttps://docs.openstack.org/heat/latest/template_guide/software_deployment.html has some info, patches welcom :)17:42
shardykbaegis: ack good news17:42
kbaegisshardy: That's fine for everyone else. :) It's been a battle at my org just getting standardized image creation processes17:43
kbaegisshardy: Working exclusively with diskimage-builder OSes and processes is a non-starter for me17:43
shardykbaegis: understood, at one point we did document use of multiple image building tools, but ultimately it was to hard to keep the docs updated17:44
shardydib is tested in CI so it's the path of least resistance for us right now - some tool agnostic docs would be a nice addition tho17:44
kbaegisThat makes perfect sense. This works for me, tracking application deployment state via cloud-init17:44
*** gmoro has joined #heat17:44
kbaegisOne thing that is pretty solidly distro-agnostic17:45
*** gmoro has quit IRC17:49
*** armaan has quit IRC17:52
*** armaan has joined #heat17:52
*** shardy has quit IRC17:54
*** EricGonczer_ has quit IRC18:01
*** shan has joined #heat18:01
*** shan has quit IRC18:01
*** ayoung has quit IRC18:02
*** ayoung has joined #heat18:06
*** EricGonczer_ has joined #heat18:11
*** EricGonc_ has joined #heat18:14
*** jmlowe_ has quit IRC18:15
*** EricGonczer_ has quit IRC18:15
*** jmlowe has joined #heat18:16
*** annegentle has quit IRC18:17
*** d0ugal has quit IRC18:19
kbaegisShardy left :(18:22
*** armaan has quit IRC18:22
*** armaan has joined #heat18:22
*** felipemonteiro has joined #heat18:23
*** felipemonteiro_ has joined #heat18:23
*** armaan has quit IRC18:27
*** felipemonteiro has quit IRC18:28
*** felipemonteiro_ has quit IRC18:28
*** felipemonteiro__ has joined #heat18:28
*** felipemonteiro has joined #heat18:29
*** felipemonteiro__ has quit IRC18:32
*** annegentle has joined #heat18:39
*** iogg has joined #heat18:39
*** amoralej is now known as amoralej|off18:43
*** armaan has joined #heat18:44
*** iogg has quit IRC18:52
*** jtomasek has quit IRC18:58
*** felipemonteiro has quit IRC19:12
*** felipemonteiro has joined #heat19:13
*** armaan has quit IRC19:19
*** armaan has joined #heat19:20
*** armaan has quit IRC19:24
*** gmoro has joined #heat19:49
*** felipemonteiro_ has joined #heat19:50
*** felipemonteiro has quit IRC19:54
*** mbuil has quit IRC19:56
*** gmoro has quit IRC19:59
*** gmoro_ has joined #heat19:59
*** jprovazn has quit IRC20:01
*** kbaegis has quit IRC20:08
*** crose has joined #heat20:12
*** d0ugal has joined #heat20:12
*** gmoro_ has quit IRC20:22
*** gmoro_ has joined #heat20:23
*** felipemonteiro_ has quit IRC20:27
*** felipemonteiro_ has joined #heat20:27
*** gmoro_ has quit IRC20:27
*** flg has quit IRC20:28
*** flg__ has quit IRC20:28
*** felipemonteiro__ has joined #heat20:28
*** gmoro_ has joined #heat20:30
*** gmoro_ has quit IRC20:31
*** felipemonteiro_ has quit IRC20:32
*** gmoro_ has joined #heat20:34
*** dyasny_ has quit IRC20:34
*** gmoro_ has quit IRC20:37
*** dyasny_ has joined #heat20:40
*** jmlowe has quit IRC20:40
*** gfidente|afk has quit IRC20:54
*** dyasny__ has joined #heat20:57
*** spzala has quit IRC21:00
*** dyasny_ has quit IRC21:00
*** dprince has quit IRC21:03
*** jmlowe has joined #heat21:03
openstackgerritOmar Tleimat proposed openstack/heat master: Replace pycrypto with cryptography  https://review.openstack.org/45489121:06
*** jnettlet[m] has quit IRC21:07
*** crose has quit IRC21:16
*** EricGonc_ has quit IRC21:34
*** EricGonczer_ has joined #heat21:39
*** jnettlet[m] has joined #heat21:41
*** spzala has joined #heat21:58
*** spzala has quit IRC21:58
*** felipemonteiro__ has quit IRC21:59
*** spzala has joined #heat21:59
*** spzala has quit IRC21:59
*** pradk has quit IRC22:10
*** EricGonczer_ has quit IRC22:35
*** gmoro has joined #heat22:38
*** rcernin has quit IRC23:02
*** catintheroof has quit IRC23:12
*** pbourke has quit IRC23:18
*** pbourke has joined #heat23:20
*** spzala_ has joined #heat23:31
*** pbourke has quit IRC23:51
*** gmoro has quit IRC23:51
*** annegentle has quit IRC23:51
*** amoralej|off has quit IRC23:51
*** hoonetorg has quit IRC23:51
*** vishwana_ has quit IRC23:51
*** stevebaker has quit IRC23:51
*** jmlowe has quit IRC23:51
*** dyasny__ has quit IRC23:51
*** d0ugal has quit IRC23:51
*** dr_gogeta86 has quit IRC23:51
*** kei1 has quit IRC23:51
*** dims has quit IRC23:51
*** Tyrantelf has quit IRC23:51
*** jamielennox has quit IRC23:51
*** dgonzalez has quit IRC23:51
*** aignatov has quit IRC23:51
*** clayton has quit IRC23:51
*** blomquisg has quit IRC23:51
*** anton has quit IRC23:51
*** sgran has quit IRC23:51
*** ivveh has quit IRC23:51
*** ccard has quit IRC23:51
*** masber has quit IRC23:51
*** yuanying has quit IRC23:51
*** rook has quit IRC23:51
*** EmilienM has quit IRC23:51
*** syjulian has quit IRC23:51
*** yohoffman has quit IRC23:51
*** zigo has quit IRC23:51
*** mw_ has quit IRC23:51
*** omie888777 has quit IRC23:51
*** openstackgerrit has quit IRC23:51
*** zzzeek has quit IRC23:51
*** Dave has quit IRC23:51
*** slagle has quit IRC23:51
*** mfisch` has quit IRC23:51
*** htruta` has quit IRC23:51
*** ivve has quit IRC23:51
*** jistr|off has quit IRC23:51
*** lifeless_ has quit IRC23:51
*** hoolio has quit IRC23:51
*** nwonknu has quit IRC23:51
*** anupn has quit IRC23:51
*** sai has quit IRC23:51
*** redondo-mk has quit IRC23:51
*** hogepodge has quit IRC23:51
*** Hazelesque has quit IRC23:51
*** spzala_ has quit IRC23:51
*** chlong_ has quit IRC23:51
*** yangyapeng has quit IRC23:51
*** hongbin has quit IRC23:51
*** tiantian has quit IRC23:51
*** liusheng has quit IRC23:51
*** mnaser has quit IRC23:51
*** weshay has quit IRC23:51
*** basilAB has quit IRC23:51
*** jcoufal has quit IRC23:51
*** Qiming has quit IRC23:51
*** serverascode has quit IRC23:51
*** robcresswell has quit IRC23:51
*** gxn_ has quit IRC23:51
*** ameade has quit IRC23:51
*** wolsen has quit IRC23:51
*** chris_hultin|AWA has quit IRC23:51
*** jreeves_` has quit IRC23:51
*** rwsu has quit IRC23:51
*** iurygregory has quit IRC23:51
*** DinaBelova has quit IRC23:51
*** herrsergio has quit IRC23:51
*** sdake has quit IRC23:51
*** zaneb has quit IRC23:51
*** andreaf has quit IRC23:51
*** FL1SK has quit IRC23:51
*** wirehead_ has quit IRC23:51
*** jaosorior has quit IRC23:51
*** palexster has quit IRC23:51
*** jidar has quit IRC23:51
*** beagles has quit IRC23:51
*** yuval has quit IRC23:51
*** szaher has quit IRC23:51
*** partner has quit IRC23:51
*** honza has quit IRC23:51
*** andreykurilin has quit IRC23:51
*** shewless has quit IRC23:51
*** ChanServ has quit IRC23:51
*** jrist has quit IRC23:51
*** mwhahaha has quit IRC23:51
*** logan- has quit IRC23:51
*** shadower has quit IRC23:51
*** zhenguo has quit IRC23:51
*** jnettlet[m] has quit IRC23:51
*** ayoung has quit IRC23:51
*** dbecker has quit IRC23:51
*** higgins has quit IRC23:51
*** zioproto has quit IRC23:51
*** cmyster has quit IRC23:51
*** therve has quit IRC23:51
*** afazekas has quit IRC23:51
*** flwang has quit IRC23:51
*** kalensk has quit IRC23:51
*** ayoung has joined #heat23:55
*** zioproto has joined #heat23:55
*** higgins has joined #heat23:55
*** flwang has joined #heat23:55
*** cmyster has joined #heat23:55
*** therve has joined #heat23:55
*** afazekas has joined #heat23:55
*** pbourke has joined #heat23:55
*** gmoro has joined #heat23:55
*** jmlowe has joined #heat23:55
*** dyasny__ has joined #heat23:55
*** d0ugal has joined #heat23:55
*** annegentle has joined #heat23:55
*** chlong_ has joined #heat23:55
*** yangyapeng has joined #heat23:55
*** jcoufal has joined #heat23:55
*** slagle has joined #heat23:55
*** amoralej|off has joined #heat23:55
*** hoonetorg has joined #heat23:55
*** rwsu has joined #heat23:55
*** jrist has joined #heat23:55
*** tiantian has joined #heat23:55
*** dr_gogeta86 has joined #heat23:55
*** clayton has joined #heat23:55
*** dims has joined #heat23:55
*** mwhahaha has joined #heat23:55
*** jistr|off has joined #heat23:55
*** lifeless_ has joined #heat23:55
*** anton has joined #heat23:55
*** sgran has joined #heat23:55
*** iurygregory has joined #heat23:55
*** DinaBelova has joined #heat23:55
*** herrsergio has joined #heat23:55
*** hoolio has joined #heat23:55
*** logan- has joined #heat23:55
*** kei1 has joined #heat23:55
*** vishwana_ has joined #heat23:55
*** ivveh has joined #heat23:55
*** stevebaker has joined #heat23:55
*** Qiming has joined #heat23:55
*** liusheng has joined #heat23:55
*** mnaser has joined #heat23:55
*** serverascode has joined #heat23:55
*** nwonknu has joined #heat23:55
*** weshay has joined #heat23:55
*** sdake has joined #heat23:55
*** mfisch` has joined #heat23:55
*** htruta` has joined #heat23:55
*** anupn has joined #heat23:55
*** ccard has joined #heat23:55
*** masber has joined #heat23:55
*** robcresswell has joined #heat23:55
*** ivve has joined #heat23:55
*** Tyrantelf has joined #heat23:55
*** yuanying has joined #heat23:55
*** gxn_ has joined #heat23:55
*** redondo-mk has joined #heat23:55
*** rook has joined #heat23:55
*** sai has joined #heat23:55
*** jamielennox has joined #heat23:55
*** shadower has joined #heat23:55
*** zaneb has joined #heat23:55
*** andreaf has joined #heat23:55
*** FL1SK has joined #heat23:55
*** hogepodge has joined #heat23:55
*** ameade has joined #heat23:55
*** dgonzalez has joined #heat23:55
*** zhenguo has joined #heat23:55
*** basilAB has joined #heat23:55
*** aignatov has joined #heat23:55
*** EmilienM has joined #heat23:55
*** syjulian has joined #heat23:55
*** yohoffman has joined #heat23:55
*** wirehead_ has joined #heat23:55
*** zigo has joined #heat23:55
*** Hazelesque has joined #heat23:55
*** jreeves_` has joined #heat23:55
*** chris_hultin|AWA has joined #heat23:55
*** wolsen has joined #heat23:55
*** rook has quit IRC23:55
*** shewless has joined #heat23:56
*** ChanServ has joined #heat23:56
*** tepper.freenode.net sets mode: +o ChanServ23:56
*** mw_ has joined #heat23:56
*** omie888777 has joined #heat23:56
*** openstackgerrit has joined #heat23:56
*** zzzeek has joined #heat23:56
*** Dave has joined #heat23:56
*** jaosorior has joined #heat23:56
*** palexster has joined #heat23:56
*** jidar has joined #heat23:56
*** beagles has joined #heat23:56
*** yuval has joined #heat23:56
*** szaher has joined #heat23:56
*** partner has joined #heat23:56
*** honza has joined #heat23:56
*** andreykurilin has joined #heat23:56
*** shewless has quit IRC23:56
*** ChanServ has quit IRC23:56
*** kalensk has joined #heat23:56
*** chlong_ has quit IRC23:57
*** yangyapeng has quit IRC23:57
*** tiantian has quit IRC23:57
*** liusheng has quit IRC23:57
*** mnaser has quit IRC23:57
*** weshay has quit IRC23:57
*** jaosorior has quit IRC23:57
*** palexster has quit IRC23:57
*** jidar has quit IRC23:57
*** beagles has quit IRC23:57
*** yuval has quit IRC23:57
*** szaher has quit IRC23:57
*** partner has quit IRC23:57
*** honza has quit IRC23:57
*** andreykurilin has quit IRC23:57
*** mw_ has quit IRC23:57
*** omie888777 has quit IRC23:57
*** openstackgerrit has quit IRC23:57
*** zzzeek has quit IRC23:57
*** Dave has quit IRC23:57
*** zioproto has quit IRC23:57
*** cmyster has quit IRC23:57
*** ayoung has quit IRC23:57
*** pbourke has quit IRC23:57
*** gmoro has quit IRC23:57
*** annegentle has quit IRC23:57
*** amoralej|off has quit IRC23:57
*** hoonetorg has quit IRC23:57
*** vishwana_ has quit IRC23:57
*** stevebaker has quit IRC23:57
*** jmlowe has quit IRC23:57
*** dyasny__ has quit IRC23:57
*** d0ugal has quit IRC23:57
*** dr_gogeta86 has quit IRC23:57
*** kei1 has quit IRC23:57
*** dims has quit IRC23:57
*** Tyrantelf has quit IRC23:57
*** jamielennox has quit IRC23:57
*** dgonzalez has quit IRC23:57
*** aignatov has quit IRC23:57
*** clayton has quit IRC23:57
*** anton has quit IRC23:57
*** sgran has quit IRC23:57
*** ivveh has quit IRC23:57
*** ccard has quit IRC23:57
*** masber has quit IRC23:57
*** yuanying has quit IRC23:57
*** EmilienM has quit IRC23:57
*** syjulian has quit IRC23:57
*** yohoffman has quit IRC23:57
*** zigo has quit IRC23:57
*** flwang has quit IRC23:57
*** slagle has quit IRC23:57
*** mfisch` has quit IRC23:57
*** htruta` has quit IRC23:57
*** ivve has quit IRC23:57
*** kalensk has quit IRC23:57
*** higgins has quit IRC23:57
*** afazekas has quit IRC23:57
*** therve has quit IRC23:57
*** jistr|off has quit IRC23:57
*** lifeless_ has quit IRC23:57
*** hoolio has quit IRC23:57
*** nwonknu has quit IRC23:57
*** anupn has quit IRC23:57
*** sai has quit IRC23:57
*** redondo-mk has quit IRC23:57
*** hogepodge has quit IRC23:57
*** Hazelesque has quit IRC23:57
*** basilAB has quit IRC23:57
*** jcoufal has quit IRC23:57
*** Qiming has quit IRC23:57
*** serverascode has quit IRC23:57
*** robcresswell has quit IRC23:57
*** gxn_ has quit IRC23:57
*** ameade has quit IRC23:57
*** wolsen has quit IRC23:57
*** chris_hultin|AWA has quit IRC23:57
*** jreeves_` has quit IRC23:57
*** rwsu has quit IRC23:57
*** iurygregory has quit IRC23:57
*** DinaBelova has quit IRC23:57
*** herrsergio has quit IRC23:57
*** sdake has quit IRC23:57
*** zaneb has quit IRC23:57
*** andreaf has quit IRC23:57
*** FL1SK has quit IRC23:57
*** wirehead_ has quit IRC23:57
*** jrist has quit IRC23:57
*** mwhahaha has quit IRC23:57
*** logan- has quit IRC23:57
*** shadower has quit IRC23:57
*** zhenguo has quit IRC23:57

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