Thursday, 2019-09-05

*** zhurong has quit IRC00:38
flwangstevebaker: sorry, i missed your message yesterday01:04
flwangthe error is on ignition side, it's still complaining the format01:05
flwangso i think that's why we do need the support from ignition side for multi part01:05
*** zhurong has joined #heat01:21
openstackgerritlidong proposed openstack/heat master: Modify the process of creating firewall by HOT  https://review.opendev.org/67994001:45
openstackgerritMerged openstack/heat master: Fix Senlin policy resource  https://review.opendev.org/67040403:33
*** ricolin has joined #heat03:49
*** gkadam has joined #heat03:54
*** gkadam has quit IRC03:54
*** ramishra has joined #heat04:20
*** jtomasek has joined #heat04:29
*** jtomasek has quit IRC04:40
*** jtomasek has joined #heat04:51
*** hoonetorg has quit IRC04:56
*** maddtux has joined #heat05:00
openstackgerritMerged openstack/python-heatclient master: Ignore not found when delete in test  https://review.opendev.org/52659905:04
*** hoonetorg has joined #heat05:14
openstackgerritRabi Mishra proposed openstack/heat master: [WIP]Limit ResourceGroup Concurrency  https://review.opendev.org/66157905:14
*** mlycka has joined #heat05:17
*** radeks has joined #heat05:44
*** radeks has quit IRC05:49
*** radeks has joined #heat05:52
*** zhurong has quit IRC06:37
openstackgerritlidong proposed openstack/heat master: Modify the process of creating firewall by HOT  https://review.opendev.org/67994006:39
hjensasgregwork: are you using a OS::Heat::SoftwareDeployment to drive satellite registration?06:50
hjensasgregwork: you can influence how it run's using the 'actions' property - https://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Heat::SoftwareDeployment-prop-actions06:51
*** openstackgerrit has quit IRC06:51
hjensasgregwork: so you can have one resource on 'CREATE' that registers, then another on 'UPDATE' that does unregister -> register. One on 'DELETE' that does unregister.06:52
gregworkhjensas: i am, however since this is being deployed as a substack via OS::Heat::Stack the whole instance is recreated06:52
gregworkduring my dev cycle if i have a mistake in the substack, heat wont catch it when i launch the master stack until it tries to deploy ..then it barfs06:53
gregworkand loops06:53
gregworkthere is a bug in the current version of satellite 6.5 that makes re-registration not work at all06:53
gregworkeven with 6.5.2.1 patch which was supposed to fix it06:53
gregworkhttps://bugzilla.redhat.com/show_bug.cgi?id=173289106:53
openstackbugzilla.redhat.com bug 1732891 in Registration "subscription-manager fails: HTTP error (422 - Unknown): Please unregister or remove hosts which match this host before registering: <hostname>" [Unspecified,Closed: errata] - Assigned to jturel06:53
gregworkanyhow i was just curious if there was a way to make any errors during stack deploy to bomb the whole thing06:54
gregworkrather than retry06:54
gregworkmy build script that kicks off the stack deploy will wipe the sat hosts once.. but it wont get called during the actual deploy06:54
*** ivve has joined #heat07:27
*** rcernin has quit IRC07:33
*** zhurong has joined #heat07:53
*** mikecmpbll has joined #heat07:59
*** tkajinam has quit IRC08:05
*** openstackgerrit has joined #heat08:06
openstackgerritRico Lin proposed openstack/heat master: Add ironic client plugin support  https://review.opendev.org/68031108:06
openstackgerritRico Lin proposed openstack/heat master: Add Ironic Port resource type support  https://review.opendev.org/68031208:06
openstackgerritRico Lin proposed openstack/heat master: Add Ironic BaremetalAllocation resource type support  https://review.opendev.org/68031308:06
openstackgerritRico Lin proposed openstack/heat master: Add Ironic BaremetalDeployment resource type support  https://review.opendev.org/68031408:06
ricolingregwork, to use Software Deployment with Ansible, you need to first install heat-agents in your image, which will use os-collect-config to call ansible playbook to run tasks and return result. You can build a container for agents https://github.com/openstack/heat-templates/tree/master/hot/software-config/heat-container-agent08:16
ricolinhere's some slides FYI https://docs.google.com/presentation/d/1zaumCdjqKphPw9R3TW19XxlDCWs4_XCtKuMKt2qkbxc/edit#slide=id.g44b962802c_0_13608:17
ricolinI didn't build any image with ansible so can't really share with you right now08:18
* ricolin (As an action ) will write more docs for heat-agents, or even add periodic job to generate and public images08:20
openstackgerritpengyuesheng proposed openstack/heat master: Blacklist eventlet 0.25.0  https://review.opendev.org/68032208:24
*** e0ne has joined #heat08:41
*** k_mouza has joined #heat08:44
*** k_mouza has quit IRC08:47
*** k_mouza_ has joined #heat08:47
*** gfidente has joined #heat09:29
openstackgerritpengyuesheng proposed openstack/heat master: Blacklist eventlet 0.21.0,0.23.0,0.25.0  https://review.opendev.org/68032209:32
*** k_mouza_ has quit IRC10:00
*** rubasov has quit IRC10:10
*** k_mouza has joined #heat10:10
*** maddtux_ has joined #heat10:28
*** maddtux has quit IRC10:31
*** maddtux_ has quit IRC10:35
*** maddtux has joined #heat10:38
*** ramishra has quit IRC10:39
*** maddtux has quit IRC10:41
*** maddtux has joined #heat10:43
*** gfidente has quit IRC10:52
*** ramishra has joined #heat11:06
*** rubasov has joined #heat11:11
*** gfidente has joined #heat11:45
*** mikecmpbll has quit IRC12:12
*** rubasov has quit IRC12:19
*** rubasov has joined #heat12:28
*** jmlowe has quit IRC12:36
openstackgerritVishal Manchanda proposed openstack/heat-dashboard master: [WIP] PDF documentation build  https://review.opendev.org/68011412:48
*** jmlowe has joined #heat12:59
*** ramishra has quit IRC13:04
*** ramishra has joined #heat13:04
*** jcoufal has joined #heat13:06
*** k_mouza has quit IRC13:14
*** k_mouza has joined #heat13:35
*** hjensas is now known as hjensas|afk13:37
*** mailingsam has joined #heat13:39
*** k_mouza_ has joined #heat13:40
mailingsamHello, I see pep error in this review, could you point me to logs page where I can see the exact error? https://review.opendev.org/#/c/663404/13:41
openstackgerritVishal Manchanda proposed openstack/heat-dashboard master: [WIP] PDF documentation build  https://review.opendev.org/68011413:42
*** k_mouza has quit IRC13:44
*** bnemec has quit IRC13:48
*** bnemec has joined #heat13:48
*** mlycka has quit IRC13:50
*** mailingsam has quit IRC14:03
*** dopplergange has quit IRC14:05
*** dopplergange has joined #heat14:05
*** maddtux has quit IRC14:38
*** e0ne has quit IRC15:05
*** k_mouza_ has quit IRC15:18
openstackgerritRico Lin proposed openstack/heat master: Add ironic client plugin support  https://review.opendev.org/68031115:43
openstackgerritRico Lin proposed openstack/heat master: Add Ironic Port resource type support  https://review.opendev.org/68031215:44
openstackgerritRico Lin proposed openstack/heat master: Add Ironic BaremetalAllocation resource type support  https://review.opendev.org/68031315:44
openstackgerritRico Lin proposed openstack/heat master: Add Ironic BaremetalDeployment resource type support  https://review.opendev.org/68031415:44
*** jmlowe has quit IRC15:47
*** SmearedBeard has joined #heat16:00
*** jmlowe has joined #heat16:01
*** altlogbot_0 has quit IRC16:01
*** altlogbot_0 has joined #heat16:01
*** irclogbot_0 has quit IRC16:02
*** irclogbot_3 has joined #heat16:03
gregworkricolin: yeah i figured that out from pining around with google and some experimenting.  the problem here is that it requires the redhat-openstack-13-rpms channel which consumes entitlements if you are a paying customer.  this seems like a pretty gross overcite as people who want to use heat in their instances arent standing up OSP/director infra.. they just need access to a few rpms.16:05
gregworkthis isnt a problem for people using centos i suppose, but i think the OSP PM and the RHEL PM need to have a chat16:05
gregworkand get those packages moved into rh-supplemental or something16:06
*** irclogbot_3 has quit IRC16:07
*** irclogbot_3 has joined #heat16:07
ricolingregwork, who requires `redhat-openstack-13-rpms`?16:13
gregworkpeople who want to install the heat agents in their instances16:14
gregworkwho use rhel16:14
ricolinif you put heat-agents in container, the only thing you needed in your environment is docker16:14
gregworkis there a heat agent container available on docker.io / registry.redhat.io ?16:16
gregworkim doing something like this atm: https://github.com/gprocunier/cloudforms-heat-deployment/blob/master/cloud-init/node-configuration.sh16:16
gregworkis this a privileged container or something, wouldnt running heat agent in a container preclude it from fiddling with the exterior ?16:17
ricolingregwork, you can build your own. I build out few month ago but didn't put ansible hook in16:18
*** gfidente has quit IRC16:18
gregworkwe are shifting the responsibility of heat-agent from something redhat supports to something the user found/downloaded/hopefully got right16:18
*** ivve has quit IRC16:19
gregworki mean with the cloud-init that i have there, we get subs from satellite .. enroll in IDM so we trust the overcloud cert through all the install orchestration ipa-client-install has .. then yum install required packages for heat-agent to work and turn it on16:20
ricolingregwork, FYI https://github.com/openstack/heat-templates/tree/master/hot/software-config/heat-container-agent/16:20
gregworkthat all just works, but it requires access to a channel16:20
gregworkok lemme look16:20
*** e0ne has joined #heat16:23
*** e0ne has quit IRC16:31
*** k_mouza has joined #heat16:39
*** zigo has quit IRC16:43
*** k_mouza has quit IRC16:44
*** ramishra has quit IRC16:45
*** spsurya has quit IRC16:48
*** zigo has joined #heat17:08
*** SmearedBeard has quit IRC17:10
openstackgerritVishal Manchanda proposed openstack/heat-dashboard master: [WIP] PDF documentation build  https://review.opendev.org/68011417:16
*** ricolin has quit IRC17:35
*** ayoung has joined #heat17:57
*** zaneb has quit IRC18:15
*** zaneb has joined #heat18:16
*** k_mouza has joined #heat18:19
openstackgerritSam Kumar proposed openstack/heat master: Support domain in keystone lookups  https://review.opendev.org/66340418:23
*** k_mouza has quit IRC18:23
*** e0ne has joined #heat18:54
*** e0ne has quit IRC19:07
*** e0ne has joined #heat19:12
*** e0ne has quit IRC19:14
*** e0ne has joined #heat19:16
*** e0ne_ has joined #heat19:18
*** e0ne has quit IRC19:21
*** jmlowe has quit IRC19:32
openstackgerritMerged openstack/heat master: Add connect_retries when creating domain_admin_client  https://review.opendev.org/67898619:41
*** e0ne_ has quit IRC19:49
*** jmlowe has joined #heat19:50
*** e0ne has joined #heat19:54
*** e0ne_ has joined #heat19:59
*** e0ne has quit IRC20:00
gregworkis there a way to create a series of software deployments  a -> b -> c20:02
gregworkwhere a b and c are individual softwareconfig's20:02
gregworkor maybe i can use depends_on to have linkage ?20:03
gregworkSoftwareDeployment-C -> depends on B, SoftwareDeployment-B -> depends on A .. and so on20:04
gregworkif this was just cloud-init i could use a multipart mime and the configs are sequential in the list20:04
gregworknot sure how you do that yet with software deployment20:04
*** e0ne_ has quit IRC20:19
*** SmearedBeard has joined #heat20:46
*** zaneb has quit IRC20:48
*** zbitter has joined #heat20:48
*** zbitter is now known as zaneb20:49
*** flwang has quit IRC21:00
gregworkhmmn depends_on doesnt seem to matter for softwaredeployment21:05
zanebgregwork: depends_on works21:06
gregworkso i have two software config's: timeconfig and roleconfig and two softwaredeployments, timedeploy and roledeploy.  I have roledeploy depends_on timedeploy21:07
gregworkbut when the server builds roledeploy happens before timedeploy21:07
gregworkive been trying to find an example of softwaredeployment order/dependencies21:08
zanebso there is an alphabetical thing with the name21:08
gregworkoh lol really21:09
zanebI think that's the order stuff gets run in once the server sees it21:09
zanebbut afaik the server can't see it until the deployment is created21:09
zanebso I'd have expected depends_on to work21:09
gregworkso if i made 01_timedepoy 02_roledeploy21:09
gregworktimedeploy would implicitly be looked at first21:09
gregworkbecause of how it was named21:09
zanebI believe so21:10
gregworkas it is right now depends_on doesnt seem to work as i have them named with just names (not thinking names mattered)21:10
gregworkill try it with the implicit lexical ordering21:11
zanebhttps://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Heat::SoftwareDeployment-prop-name21:11
gregworkoh so not the resource name21:12
gregworkthe property name21:12
zanebyeah21:12
gregworkgotcha21:12
gregworkso if thats the case, then depends_on would never work21:12
gregworksince that is resource level21:12
zanebgregwork: are you using NO_SIGNAL as the signal_transport by any chance?21:12
-openstackstatus- NOTICE: Gerrit is being restarted to pick up configuration changes. Should be quick. Sorry for the interruption.21:12
gregworkno im not21:12
gregworkim using the default CFN_signaling21:12
gregworkwhatever the undefined default is21:13
gregworkNO_SIGNAL isnt safe for what im trying to do21:13
gregworkone of the steps in standing up cloudforms is waiting for the encryption key to be generated and the database configured on the primary appliance21:14
gregworkeverthing needs to wait for that to be done21:14
zanebso what should happen is that heat creates the deployment timedeploy, waits for it to signal back, and only then creates the deployment roledeploy21:14
zanebso the sort order shouldn't matter because there is only one deployment created at the time that timedeploy is run21:14
gregworkso im really confused now21:14
* zaneb too21:14
gregworkim not speciffying the signal type the hot spec said if not specified it defaults to cfn type iirc21:15
gregworkmaybe i misread that21:15
zanebno, that's correct21:15
zanebstevebaker: can you explain why depends_on might not be working for a SW deployment? ^21:16
stevebakerzanebgregwork depends_on should work as expected, but the execution order of deployments on the server is determined by sorting the name21:20
zanebgregwork: you definitely put the depends in the deployment not the config right? ;)21:22
gregworkyeah i did21:22
gregworkhttps://pastebin.com/gAUUiPtC21:23
gregworkim just about to try that with the lexical name ordering21:24
gregworkbut the depends_on was already there21:24
gregworkline 117/11821:25
zaneb  roledeployment:21:25
zaneb   type: OS::Heat::SoftwareDeployment21:25
zanebdepends_on:21:25
zaneb     - timeconfig21:25
zanebdeployment depends on config21:25
zanebdeployment should depend on deployment21:25
gregworkgotcha .. my bad :)21:26
zanebwhew, mystery solved :)21:26
gregworkheh sorry im flying here by the seat of my pants and this is getting to be a beast of a build getting cloudforms fully rolled out21:27
gregworkim trying to make this fairly smart about putting this software together so theres a lot of moving parts now21:29
gregworkespecially now that i figured out how to leverage ansible to do the app configuration via the api21:29
*** jcoufal has quit IRC21:32
*** radeks has quit IRC21:54
*** SmearedBeard has quit IRC22:56
*** tkajinam has joined #heat23:02
*** rcernin has joined #heat23:23
*** rcernin is now known as rcernin|brb23:52

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