*** sai_ has joined #puppet-openstack | 01:58 | |
*** ilbot3 has quit IRC | 02:45 | |
*** ilbot3 has joined #puppet-openstack | 02:57 | |
*** ykarel has joined #puppet-openstack | 04:02 | |
*** udesale has joined #puppet-openstack | 04:25 | |
*** udesale has quit IRC | 04:25 | |
*** udesale has joined #puppet-openstack | 04:25 | |
*** skramaja has joined #puppet-openstack | 05:04 | |
*** jaosorior has joined #puppet-openstack | 05:16 | |
*** jaganathan has joined #puppet-openstack | 05:18 | |
*** ratailor has joined #puppet-openstack | 05:46 | |
*** ntpttr_laptop has joined #puppet-openstack | 05:51 | |
*** sai_ has quit IRC | 06:00 | |
*** jtomasek has joined #puppet-openstack | 06:08 | |
*** ntpttr_laptop has quit IRC | 06:21 | |
*** morazi has quit IRC | 06:33 | |
*** jaganathan has quit IRC | 06:39 | |
*** jaganathan_ has joined #puppet-openstack | 06:39 | |
*** morazi has joined #puppet-openstack | 07:41 | |
*** karthiks has joined #puppet-openstack | 07:44 | |
*** shardy has joined #puppet-openstack | 07:48 | |
*** rcernin has quit IRC | 07:49 | |
*** ccamacho has joined #puppet-openstack | 07:55 | |
*** jtomasek has quit IRC | 08:11 | |
*** jtomasek has joined #puppet-openstack | 08:11 | |
*** tesseract has joined #puppet-openstack | 08:13 | |
*** agurenko has joined #puppet-openstack | 08:17 | |
*** yprokule has joined #puppet-openstack | 08:18 | |
*** rcernin has joined #puppet-openstack | 08:35 | |
*** jpena|off is now known as jpena | 08:48 | |
*** ykarel is now known as ykarel|lunch | 08:52 | |
*** vnogin has joined #puppet-openstack | 08:57 | |
*** vnogin has quit IRC | 09:01 | |
*** Guest13268 is now known as zigo | 09:09 | |
*** gfidente has joined #puppet-openstack | 09:13 | |
openstackgerrit | Dnyaneshwar proposed openstack/puppet-cinder stable/pike: Veritas HyperScale: Fixes image volume caching. https://review.openstack.org/525105 | 09:19 |
---|---|---|
*** vnogin has joined #puppet-openstack | 09:24 | |
*** derekh has joined #puppet-openstack | 09:38 | |
*** jaganathan_ has quit IRC | 09:56 | |
*** ykarel|lunch is now known as ykarel | 09:59 | |
*** salmankhan has joined #puppet-openstack | 10:09 | |
*** vnogin has quit IRC | 10:10 | |
*** salmankhan has quit IRC | 10:12 | |
*** vnogin has joined #puppet-openstack | 10:12 | |
*** salmankhan has joined #puppet-openstack | 10:12 | |
*** etingof has quit IRC | 10:17 | |
*** vnogin has quit IRC | 10:23 | |
*** vnogin has joined #puppet-openstack | 10:27 | |
*** vnogin has quit IRC | 10:50 | |
*** etingof has joined #puppet-openstack | 10:52 | |
*** jaganathan has joined #puppet-openstack | 10:56 | |
*** etingof has quit IRC | 10:59 | |
*** vnogin has joined #puppet-openstack | 11:11 | |
*** etingof has joined #puppet-openstack | 11:12 | |
*** chem has joined #puppet-openstack | 11:17 | |
*** dtantsur|afk is now known as dtantsur | 11:30 | |
*** shardy has quit IRC | 11:44 | |
*** shardy has joined #puppet-openstack | 11:45 | |
*** ratailor has quit IRC | 11:52 | |
*** jpena is now known as jpena|lunch | 11:57 | |
*** makowals has joined #puppet-openstack | 12:10 | |
*** oidgar has joined #puppet-openstack | 12:14 | |
*** oidgar has quit IRC | 12:28 | |
*** rcernin has quit IRC | 12:31 | |
*** ansmith has quit IRC | 12:31 | |
*** vnogin has quit IRC | 12:32 | |
*** vnogin has joined #puppet-openstack | 12:32 | |
*** derekh has quit IRC | 12:36 | |
*** oidgar has joined #puppet-openstack | 12:42 | |
*** skramaja has quit IRC | 12:42 | |
*** vnogin has quit IRC | 12:42 | |
*** gfidente has quit IRC | 12:57 | |
*** vnogin has joined #puppet-openstack | 12:58 | |
*** gfidente has joined #puppet-openstack | 13:00 | |
*** dprince has joined #puppet-openstack | 13:02 | |
*** dtantsur is now known as dtantsur|lunch | 13:03 | |
*** jpena|lunch is now known as jpena | 13:04 | |
*** gfidente has quit IRC | 13:05 | |
*** trown|outtypewww has quit IRC | 13:06 | |
*** trown has joined #puppet-openstack | 13:07 | |
*** gfidente has joined #puppet-openstack | 13:07 | |
*** gfidente has quit IRC | 13:07 | |
*** gfidente has joined #puppet-openstack | 13:07 | |
*** vnogin has quit IRC | 13:10 | |
*** oidgar has quit IRC | 13:12 | |
*** jaganathan has quit IRC | 13:14 | |
*** colonwq has quit IRC | 13:23 | |
*** ykarel_ has joined #puppet-openstack | 13:24 | |
*** ykarel has quit IRC | 13:26 | |
*** ykarel__ has joined #puppet-openstack | 13:30 | |
*** vinsh_ has quit IRC | 13:32 | |
*** ykarel_ has quit IRC | 13:32 | |
*** vinsh has joined #puppet-openstack | 13:33 | |
*** spredzy has quit IRC | 13:33 | |
*** spredzy has joined #puppet-openstack | 13:33 | |
*** ykarel_ has joined #puppet-openstack | 13:37 | |
*** dtantsur|lunch is now known as dtantsur | 13:38 | |
*** ykarel__ has quit IRC | 13:40 | |
*** ykarel_ has quit IRC | 13:51 | |
*** ykarel has joined #puppet-openstack | 13:51 | |
*** ansmith has joined #puppet-openstack | 14:02 | |
*** vnogin has joined #puppet-openstack | 14:02 | |
*** fultonj has joined #puppet-openstack | 14:11 | |
*** karthiks has quit IRC | 14:12 | |
*** makowals has quit IRC | 14:28 | |
*** makowals has joined #puppet-openstack | 14:32 | |
dtantsur | folks, can someone please advise me on some non-trivial puppet? | 14:33 |
dtantsur | I need something that will conditionally: 1. generate an SSH key, 2. put its private part on disk, 3. read its public part into a variable, 4. feed it into one of existing oslo.config variables. | 14:33 |
dtantsur | how crazy is this idea? especially, the conditional bit? | 14:34 |
* dtantsur looks at https://stackoverflow.com/questions/19694858/store-contents-of-a-file-in-a-variable | 14:36 | |
*** ykarel is now known as ykarel|away | 14:38 | |
*** ykarel|away has quit IRC | 14:43 | |
dtantsur | mmm, do I get it right that reading a file into a variable is so hard I better do it somewhere else? :( | 14:55 |
dtantsur | mwhahaha or EmilienM ^^^ | 14:55 |
mwhahaha | would need a provider to do such things | 14:55 |
*** vnogin has quit IRC | 14:56 | |
mwhahaha | it does sound quite complex, could ironic be updated to accept a path instead of the contents? | 14:56 |
dtantsur | mwhahaha: it's not about ironic, really.. | 14:56 |
dtantsur | mwhahaha: it's about auto-configuring this beast: https://docs.openstack.org/diskimage-builder/latest/elements/dynamic-login/README.html | 14:57 |
mwhahaha | cause i don't think the pub part really should be a file location and not a var in a conf | 14:57 |
dtantsur | a ramdisk cannot read a file on the host | 14:57 |
mwhahaha | ugh | 14:57 |
mwhahaha | but what feeds it to ramdisk? | 14:57 |
dtantsur | mwhahaha: the pub key content, see "sshkey" variable there | 14:58 |
mwhahaha | dtantsur: no what part of the process does that | 15:00 |
mwhahaha | dtantsur: what gives it to the ramdisk var, i assume this comes from the pxe stuff? | 15:00 |
dtantsur | mwhahaha: ironic defines kernel parameter via the pxe_append_params option | 15:01 |
mwhahaha | dtantsur: right so why can't ironic accept a file | 15:01 |
dtantsur | mwhahaha: and feed it where? the sshkey variable is specific to this particular DIB element, it does not come from ironic | 15:01 |
dtantsur | so such feature will depend on 1. using DIB for building ramdisk, 2. using this particular element | 15:02 |
mwhahaha | i guess i don't have a clear understanding of this whole process | 15:02 |
mwhahaha | it seems like it would be better if the pub key wasn't rolled into the image itself | 15:02 |
mwhahaha | but rather something fed in at pxe boot time | 15:02 |
dtantsur | that's what we do, yes | 15:02 |
mwhahaha | ... | 15:02 |
dtantsur | we can ask ironic to insert arbitrary parameters to the kernel command line | 15:03 |
*** vnogin has joined #puppet-openstack | 15:03 | |
dtantsur | this dynamic-login element injects a boot-time script that takes "sshkey" parameter and adds it in authorized_keys | 15:03 |
dtantsur | now, a problem: ironic is not aware of the existance of the dynamic-login element | 15:03 |
mwhahaha | so why can't ironic read a file, to get the pub key to pass in at boot time | 15:03 |
mwhahaha | ironic reads file, puts key in cmd line params, ..., profit? | 15:04 |
dtantsur | because ironic does not have a feature "inject public key into IPA". it's provided by DIB | 15:04 |
dtantsur | if we do that, we have to make "sshkey" kernel variable work with all the ways we build IPA | 15:04 |
dtantsur | and make it mandatory for DIB | 15:04 |
mwhahaha | so that is what i was asking | 15:05 |
mwhahaha | because ironic doesn't currently support this | 15:05 |
mwhahaha | but that's why i'm asking what if that was the feature rather than having to do a bunch of random shenanigans to get the pub key into a conf | 15:06 |
dtantsur | yeah, ironic does not have this feature. I'm trying to use a feature provided by DIB | 15:06 |
mwhahaha | i'm tring to figureout how you're trying to exercise the DIB feather | 15:06 |
mwhahaha | and how that plays into the whole workflow | 15:06 |
dtantsur | side note: reading a file is not "random shenanigans" in modern programming | 15:06 |
*** alee has quit IRC | 15:07 | |
dtantsur | this feature is completely within DIB. it does not exists anywhere else. | 15:07 |
mwhahaha | dtantsur: but it is in deployment, which is why i was poing to doing that in a programing language | 15:07 |
dtantsur | we can talk about introducing an ironic feature, but that's a whole other story, that will go way beyond what I'm trying to achieve for tripleo | 15:08 |
*** alee has joined #puppet-openstack | 15:09 | |
dtantsur | there is an option of doing it in instack-undercloud, of course | 15:11 |
mwhahaha | dtantsur: so i assume you're doing an ssh key gen as part of the deployment process then you need to capture the output and drop it into an ironic config | 15:12 |
dtantsur | correct | 15:12 |
mwhahaha | so for proper puppet, you'd need a provider | 15:13 |
mwhahaha | or add a custom part in the ironic_config | 15:14 |
mwhahaha | dtantsur: where is the oslo.config setting you're trying to do adjust? ironic_config? | 15:14 |
dtantsur | mwhahaha: yep, this one https://github.com/openstack/puppet-ironic/blob/afac29a623e20161cef56e09d4ebcd87786e0e47/manifests/drivers/pxe.pp#L111 | 15:15 |
mwhahaha | dtantsur: so you could add a custom bit of code in ironic_config to custom handle ssh key gen & var updates | 15:16 |
dtantsur | mwhahaha: anything to do with https://github.com/openstack/puppet-ironic/blob/afac29a623e20161cef56e09d4ebcd87786e0e47/lib/puppet/type/ironic_config.rb#L19-L34 ? | 15:17 |
mwhahaha | no necessarily | 15:20 |
mwhahaha | not | 15:20 |
mwhahaha | i'll see if i can dig up an example | 15:20 |
dtantsur | thanks, that would be handy | 15:21 |
*** agurenko has quit IRC | 15:23 | |
*** oidgar has joined #puppet-openstack | 15:25 | |
*** vnogin has quit IRC | 15:34 | |
*** sai_ has joined #puppet-openstack | 15:40 | |
*** vnogin has joined #puppet-openstack | 15:40 | |
*** colonwq has joined #puppet-openstack | 15:43 | |
*** vinsh has quit IRC | 15:50 | |
*** vinsh has joined #puppet-openstack | 15:50 | |
*** vinsh_ has joined #puppet-openstack | 15:52 | |
openstackgerrit | Emilien Macchi proposed openstack/puppet-cinder stable/pike: Veritas HyperScale: Fixes image volume caching. https://review.openstack.org/525105 | 15:54 |
*** makowals has quit IRC | 15:55 | |
*** vinsh has quit IRC | 15:56 | |
*** trown is now known as trown|brb | 15:58 | |
*** makowals has joined #puppet-openstack | 15:58 | |
*** trown|brb is now known as trown | 16:07 | |
*** morazi has quit IRC | 16:08 | |
rajinir | Hi , can someone help with this review. https://review.openstack.org/#/c/519765/, one of the tests keeps failing and not clear why. It has nothing to do with the patch | 16:12 |
mnaser | rajinir: i was just having a look now | 16:22 |
mnaser | i think its not breaking in something you did | 16:22 |
mnaser | im having a look | 16:22 |
rajinir | mnaser: ok | 16:23 |
*** vnogin has quit IRC | 16:23 | |
mnaser | i think whats happening here is that ubuntu starts up services by default on installation (sigh) | 16:29 |
mnaser | and what happens is cinder-backup starts up and fails a few times quickly while its doing other things | 16:29 |
mnaser | adn then when it comes and tries to do a restart i think systemd probably has the service blocked | 16:29 |
mnaser | Nov 30 17:39:24 ubuntu-xenial-citycloud-lon1-0001145044 systemd[1]: cinder-backup.service: Start request repeated too quickly. | 16:30 |
mnaser | yep. | 16:30 |
mnaser | mwhahaha: EmilienM you folks have an idea how we can work around this? :( | 16:34 |
mwhahaha | cinder is broke in ocata | 16:34 |
mwhahaha | for ubuntu | 16:34 |
mnaser | yeah | 16:34 |
mnaser | i've discovered this | 16:34 |
mwhahaha | so other than brining it up in #ubuntu-server not really | 16:34 |
mnaser | i ntrying to help rajinir pass get in | 16:34 |
mwhahaha | switch it to non-voting | 16:35 |
mnaser | bleh | 16:35 |
mnaser | okay | 16:35 |
mnaser | ill do a few checks over the holidays | 16:35 |
mnaser | either people have to help us maintain ubuntu stuff or we (unfortunately) might have to drop support because we're not getting any help from packaging :\ | 16:36 |
mnaser | esp that integration has been nv for a while too | 16:36 |
mnaser | this is just adding on top of it | 16:36 |
mwhahaha | well that one is probably a bug because it used to work | 16:36 |
mwhahaha | so something changed in updates so jamespage or corycb probably might be able to help get the cidner-backup thing fixed | 16:37 |
*** jpena is now known as jpena|brb | 16:43 | |
*** danpawlik_ has quit IRC | 16:45 | |
*** danpawlik_ has joined #puppet-openstack | 16:46 | |
rajinir | mnaser: thank you | 16:51 |
dtantsur | mwhahaha: sorry, did you manage to find an example we talked about today? | 17:02 |
mwhahaha | dtantsur: not yet, meetings | 17:06 |
dtantsur | ah, I see | 17:08 |
*** LutzB has quit IRC | 17:13 | |
mwhahaha | dtantsur: so what you could do is use munge to swap out the values | 17:14 |
mwhahaha | dtantsur: http://garylarizza.com/blog/2013/11/25/fun-with-providers/ general concept | 17:14 |
dtantsur | thanks! | 17:15 |
*** oidgar has quit IRC | 17:16 | |
*** udesale has quit IRC | 17:17 | |
mwhahaha | dtantsur: there is also a concept of transform_to | 17:18 |
mwhahaha | dtantsur: that you could use to transform a file path to a value | 17:18 |
mwhahaha | dtantsur: https://github.com/openstack/puppet-openstacklib/blob/master/lib/puppet/provider/openstack_config/ini_setting.rb#L14 | 17:18 |
dtantsur | yeah. I recall it was used somewhere, but I could not find an example | 17:18 |
dtantsur | thanks! | 17:18 |
mwhahaha | dtantsur: so you could for that key, run transform to check local file to read contents or just set value | 17:19 |
mwhahaha | so that option could accept either a string or a filepath | 17:19 |
mwhahaha | dtantsur: i think that would be the cleanest implementation | 17:19 |
dtantsur | it's going to be a bit funny though, as this is not the only thing in the variable | 17:20 |
dtantsur | I mean, the sshkey | 17:20 |
mwhahaha | dtantsur: well that's where the transform or munge comes in | 17:20 |
mwhahaha | https://github.com/openstack/puppet-openstacklib/blob/master/lib/puppet/provider/openstack_config/ini_setting.rb#L61 | 17:20 |
*** tesseract has quit IRC | 17:20 | |
mwhahaha | so you can operate on it, read it and fix it | 17:20 |
dtantsur | nice! /me will learn more puppet magic :) | 17:21 |
*** ntpttr_laptop has joined #puppet-openstack | 17:21 | |
mwhahaha | so if "a=123 key=file:/etc/foo" -> "a=123 key=abcef" | 17:21 |
mwhahaha | something like that | 17:22 |
dtantsur | wow, impressive | 17:22 |
*** jpena|brb is now known as jpena | 17:25 | |
mwhahaha | it gets complicated and ugly if you have to do string replacing stuff but if it's tokenizable it shouldn't be too bad to swap out part of it | 17:31 |
*** LutzB has joined #puppet-openstack | 17:32 | |
*** yprokule has quit IRC | 17:45 | |
*** gfidente has quit IRC | 17:57 | |
*** gfidente has joined #puppet-openstack | 17:59 | |
*** gfidente has quit IRC | 17:59 | |
*** gfidente has joined #puppet-openstack | 17:59 | |
*** trown is now known as trown|lunch | 18:00 | |
*** dtantsur is now known as dtantsur|afk | 18:08 | |
*** jpena is now known as jpena|away | 18:20 | |
*** fultonj has quit IRC | 18:35 | |
*** fultonj has joined #puppet-openstack | 18:37 | |
*** jpena|away is now known as jpena|off | 18:48 | |
*** salmankhan has quit IRC | 18:50 | |
*** etingof has quit IRC | 19:06 | |
*** fultonj has quit IRC | 19:06 | |
*** fultonj has joined #puppet-openstack | 19:14 | |
*** trown|lunch is now known as trown | 19:18 | |
*** vnogin has joined #puppet-openstack | 19:24 | |
*** vnogin has quit IRC | 19:28 | |
*** rwsu has quit IRC | 19:29 | |
*** salmankhan has joined #puppet-openstack | 20:09 | |
*** salmankhan has quit IRC | 20:14 | |
*** rwsu has joined #puppet-openstack | 20:25 | |
*** vnogin has joined #puppet-openstack | 20:38 | |
*** etingof has joined #puppet-openstack | 20:40 | |
mwhahaha | mnaser: fyi the m2 release https://review.openstack.org/525306 | 20:50 |
*** vnogin has quit IRC | 20:50 | |
*** jaosorior has quit IRC | 20:51 | |
mnaser | mwhahaha: thanks. I want to make sure release job isn’t broken. The vitrage changed in stable pike failed you did | 20:51 |
mnaser | I rechecked but let’s make sure that issue was resolved to avoid any issues | 20:52 |
mwhahaha | mnaser: stable/pike vitrage is broken but master is fine | 20:52 |
mwhahaha | i think it's related to pike's selinux | 20:52 |
mwhahaha | i tried to reproduce it on friday but couldn't | 20:52 |
mwhahaha | which was annoying | 20:52 |
mwhahaha | because it's fine in RDO but not against the centos mirrors | 20:53 |
mwhahaha | and beaker in CI uses centos mirrors while locally it used RDO | 20:53 |
mwhahaha | http://eavesdrop.openstack.org/irclogs/%23puppet-openstack/%23puppet-openstack.2017-12-01.log.html#t2017-12-01T22:55:01 | 20:54 |
mwhahaha | and http://eavesdrop.openstack.org/irclogs/%23puppet-openstack/%23puppet-openstack.2017-12-02.log.html#t2017-12-02T00:22:22 | 20:54 |
mnaser | mwhahaha: but the build job is failing not the unit tests or anything | 20:57 |
mnaser | let me find the review in question | 20:57 |
mwhahaha | mnaser: on stable/pike because we haven't been able to merge the stable/pike ci stuff | 20:57 |
mnaser | mwhahaha: https://review.openstack.org/#/c/524298/ | 20:57 |
mnaser | this one runs the build job only because of metadata.json change | 20:57 |
mnaser | the build gives "No such file or directory" | 20:57 |
mwhahaha | mnaser: we haven't been able to merge the bindep or zuul v3 stuff | 20:58 |
mnaser | oh no puppet in bindep | 20:58 |
mwhahaha | https://review.openstack.org/#/q/project:openstack/puppet-vitrage+status:open | 20:58 |
mnaser | ok sorry you're right | 20:58 |
mwhahaha | stable/pike vitrage CI is a bad spot | 20:58 |
mwhahaha | master is fine | 20:58 |
mnaser | yeah gotcha | 20:58 |
mnaser | mwhahaha: looks good, thank you | 21:00 |
*** shardy has quit IRC | 21:05 | |
*** vnogin has joined #puppet-openstack | 21:19 | |
openstackgerrit | Thiago da Silva proposed openstack/puppet-swift master: Adding barbican configuration to swift https://review.openstack.org/525321 | 21:23 |
*** vnogin has quit IRC | 21:29 | |
*** rwsu has quit IRC | 21:29 | |
*** vnogin has joined #puppet-openstack | 21:32 | |
alee | mwhahaha, hey - I'm trying to understand your comment here -- https://review.openstack.org/#/c/523449/8/manifests/api.pp | 21:36 |
mwhahaha | alee: $enabled_secretstore_plugins is defined when $::os_service_default | 21:37 |
mwhahaha | alee: you'd want to use !is_service_default($enabled_secretstore_plugins) to have a check when it's been defined by the operator | 21:37 |
*** ansmith has quit IRC | 21:40 | |
openstackgerrit | Xingchao Yu proposed openstack/puppet-magnum master: Add trustee related parameters in magnum::keystone::domain https://review.openstack.org/525327 | 21:42 |
*** dprince has quit IRC | 21:44 | |
*** jtomasek has quit IRC | 21:45 | |
alee | mwhahaha, I see -- so I need something like -- if $multiple_secret_stores_enabled and !is_service_default($enabled_secretstore_plugins) and $enabled_secretstre_plugins != $::os_service_default ? | 21:45 |
alee | mwhahaha, do I need the third check? | 21:46 |
mwhahaha | no | 21:46 |
*** etingof has quit IRC | 21:46 | |
mwhahaha | is_service_default($enabled_secretstore_pugins) is true if $::os_service_default | 21:46 |
alee | mwhahaha, cool - you mentioned it, so I was not sure .. | 21:46 |
*** vnogin has quit IRC | 21:48 | |
mwhahaha | alee: now the question is does $enabled_secretstore_plugins need to be defined if $multiple_secret_stores_enabled | 21:49 |
alee | mwhahaha, no it doesn't | 21:49 |
*** ccamacho has quit IRC | 21:49 | |
alee | mwhahaha, you could define it but it will be ignored | 21:49 |
mwhahaha | k | 21:49 |
openstackgerrit | Ade Lee proposed openstack/puppet-barbican master: Add support for multiple backends https://review.openstack.org/523449 | 21:54 |
*** trown is now known as trown|outtypewww | 21:54 | |
*** vnogin has joined #puppet-openstack | 21:56 | |
*** rcernin has joined #puppet-openstack | 22:07 | |
*** rwsu has joined #puppet-openstack | 22:27 | |
*** ansmith has joined #puppet-openstack | 22:47 | |
*** etingof has joined #puppet-openstack | 23:03 | |
*** hjensas has quit IRC | 23:06 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!