pabelanger | interesting news related to bubblewrap: https://www.bleepingcomputer.com/news/security/ubuntu-and-centos-are-undoing-a-gnome-security-feature/ seems ubuntu / centos are disabling it in gnome, because they haven't done an audit of the tool yet | 00:05 |
---|---|---|
pabelanger | take with grain of salt | 00:06 |
SpamapS | pabelanger: "It's easy to criticise but the reality is that to ship a high-quality distro all packages promoted to [Ubuntu main] have to go through a thorough review process which takes time," Murray added. | 00:12 |
SpamapS | Having been a part of the MIR process a few times.. the security team is pretty awesome and they actually do spot audits of code. And bubblewrap being security software.. they're all going to fight over who gets to audit it. ;) | 00:13 |
*** leifmadsen has quit IRC | 00:54 | |
*** leifmadsen has joined #zuul | 00:54 | |
SpamapS | http://paste.openstack.org/show/728892/ | 02:50 |
SpamapS | dmsimard: tristanC ^ latest 'splosion | 02:50 |
*** rlandy has quit IRC | 03:37 | |
SpamapS | oh this is fun now | 03:45 |
SpamapS | Ubuntu 18.04's don't have /usr/bin/python | 03:45 |
SpamapS | and Ansible doesn't even try /usr/bin/python3 | 03:45 |
SpamapS | hrm maybe an extra var | 03:45 |
* SpamapS gives up on stock images and just builds a custom ubuntu image | 04:08 | |
openstackgerrit | Merged openstack-infra/zuul-jobs master: write-inventory: add ansible_python_interpreter variable https://review.openstack.org/596961 | 04:46 |
*** weshay|rover has quit IRC | 04:55 | |
*** pabelanger has quit IRC | 04:55 | |
clarkb | SpamapS: the infra channel has a ton of scrollback of us going theough similar | 05:26 |
clarkb | it would be nice if ansible did its best to find a python | 05:26 |
tristanC | SpamapS: it may be caused by http://git.openstack.org/cgit/openstack-infra/zuul/tree/zuul/executor/server.py#n1508 | 05:39 |
tristanC | iiuc, zuul executor force using '/usr/bin/python2' | 05:40 |
tristanC | i had to such things (L1088 and L1463) to work around it to use fedora pod: https://review.openstack.org/#/c/570668/8/zuul/executor/server.py | 05:41 |
*** hwoarang has joined #zuul | 06:35 | |
*** pcaruana has joined #zuul | 06:39 | |
openstackgerrit | Ian Wienand proposed openstack-infra/zuul-jobs master: write-inventory: Add groups to created inventory https://review.openstack.org/596994 | 06:41 |
SpamapS | I've been trying to set variables but the failure is in the direct call to the setup module which doesn't use site or job variables. :-P | 06:46 |
*** hashar has joined #zuul | 06:58 | |
openstackgerrit | Ian Wienand proposed openstack-infra/zuul-jobs master: write-inventory: Add groups to created inventory https://review.openstack.org/596994 | 07:03 |
*** jpena|off is now known as jpena | 07:49 | |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: rewrite interface in react https://review.openstack.org/591604 | 08:42 |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: add build page https://review.openstack.org/597024 | 08:42 |
*** electrofelix has joined #zuul | 08:46 | |
openstackgerrit | Ian Wienand proposed openstack-infra/zuul-jobs master: write-inventory: Add groups to created inventory https://review.openstack.org/596994 | 09:54 |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: rewrite interface in react https://review.openstack.org/591604 | 11:18 |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: add build page https://review.openstack.org/597024 | 11:18 |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: add job page https://review.openstack.org/597048 | 11:18 |
*** jpena is now known as jpena|lunch | 11:28 | |
tristanC | Behold, a javascript unit test for the status ChangePanel component: https://review.openstack.org/#/c/591604/24/web/src/containers/status/ChangePanel.test.jsx | 11:28 |
tristanC | and the last status page with a loading spinner and jobs' page: http://logs.openstack.org/48/597048/1/check/zuul-build-dashboard/3147b22/npm/html/ | 11:32 |
rcarrillocruz | oh wow | 11:39 |
rcarrillocruz | that looks vveeeeery nice | 11:40 |
*** jpena|lunch is now known as jpena | 12:28 | |
*** rlandy has joined #zuul | 12:34 | |
openstackgerrit | Markus Hosch proposed openstack-infra/nodepool master: Add list of metrics provided to statsd https://review.openstack.org/590233 | 12:40 |
openstackgerrit | Markus Hosch proposed openstack-infra/nodepool master: Add list of metrics provided to statsd https://review.openstack.org/590233 | 12:42 |
*** samccann has joined #zuul | 12:51 | |
*** jimi|ansible has joined #zuul | 13:45 | |
*** pabelanger has joined #zuul | 14:08 | |
*** pcaruana has quit IRC | 14:29 | |
*** pcaruana has joined #zuul | 14:30 | |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: add config-error notifications drawer https://review.openstack.org/597147 | 14:34 |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: add config-errors notifications drawer https://review.openstack.org/597147 | 14:49 |
corvus | tristanC: that js unit test looks cool! :) | 14:53 |
*** pcaruana has quit IRC | 15:00 | |
tristanC | corvus: yes, i didn't add much test yet, but it looks promising | 15:01 |
corvus | the first one's always the hardest :) | 15:01 |
tristanC | also there are libraries to simplify mocking the store too, haven't looked into that yet | 15:02 |
tristanC | and writting those test really helped me understand how redux works, i think the design is much better now | 15:02 |
tristanC | and the "auto-reload" toggle on the status page is a great addition too :) | 15:03 |
tristanC | corvus: for the job page, i tried to used a carousel to match with your mockup https://imgur.com/a/5etfM . But the result was not conclusive, so I put a ListView in the meantime. | 15:07 |
corvus | tristanC: cool, i think that's a good start. the main thing is to be able to help people understand the different variants and their locations. listview is one way of doing that :) | 15:10 |
corvus | tristanC: do you have any ideas about how to format the variables? i think they're important to have on the page, but json is... not pretty. do you think we can do some kind of tree-rendering, like how firefox renders raw json? | 15:12 |
tristanC | corvus: the issue with listview is that you can't easily compare variants configuration, a carousel type of display would show the difference in place... | 15:19 |
tristanC | corvus: for the json, we could try using an extra library like https://github.com/alexkuz/react-json-tree | 15:19 |
corvus | tristanC: re carousel: yeah. or tabs, maybe? | 15:19 |
corvus | tristanC: that json tree looks promising :) | 15:20 |
tristanC | oh yes, tabs would be easier to use. the problem with carousel is that they are designed for images background with a tiny sub title | 15:20 |
corvus | cool, maybe let's try tabs then | 15:21 |
*** jhesketh has quit IRC | 15:41 | |
*** jhesketh has joined #zuul | 15:41 | |
openstackgerrit | David Shrewsbury proposed openstack-infra/nodepool master: Add post job to push pbrx container images https://review.openstack.org/597171 | 15:57 |
dmsimard | SpamapS: I'll send a patchset to fix some of the stuff you brought up sometime today | 15:57 |
*** snapiri has quit IRC | 16:08 | |
SpamapS | dmsimard: awesome | 16:09 |
*** jpena is now known as jpena|off | 16:11 | |
openstackgerrit | Tristan Cacqueray proposed openstack-infra/zuul master: web: add config-errors notifications drawer https://review.openstack.org/597147 | 16:12 |
dmsimard | I just tagged 0.16.0rc1 for ARA, changelog: https://github.com/openstack/ara/releases/tag/0.16.0.0rc1 | 17:09 |
*** hashar is now known as hasharAway | 17:16 | |
openstackgerrit | Merged openstack-infra/zuul-jobs master: write-inventory: Add groups to created inventory https://review.openstack.org/596994 | 18:10 |
*** elyezer has joined #zuul | 18:18 | |
*** electrofelix has quit IRC | 18:23 | |
*** samccann has quit IRC | 18:31 | |
*** jpena|off has quit IRC | 18:33 | |
*** jpena|off has joined #zuul | 18:33 | |
openstackgerrit | Merged openstack-infra/zuul-jobs master: Promote test-emit-job-header change https://review.openstack.org/591457 | 18:42 |
dmsimard | corvus: I believe there's an undocumented metric around here for wait_time at the job level: https://zuul-ci.org/docs/zuul/admin/monitoring.html#stat-zuul.tenant.%3Ctenant%3E.pipeline.%3Cpipeline%20name%3E.project.%3Ccanonical_hostname%3E.%3Cproject%3E.%3Cbranch%3E.job.%3Cjobname%3E | 19:01 |
dmsimard | i.e, stats.timers.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack-infra_zuul.master.job.tox-py36.wait_time.mean | 19:01 |
dmsimard | I'm not sure yet what it represents -- I expected it to be the time it took for the job to start (from initial queuing) but that doesn't appear accurate. I'm getting readings of <5 seconds when it stayed queued for about a minute before getting a node from nodepool | 19:03 |
*** samccann has joined #zuul | 19:20 | |
pabelanger | Hmm, does zuul containers not have a shell? | 19:47 |
pabelanger | ah | 19:47 |
clarkb | they are based on the python alpine minimal images iirc | 19:47 |
clarkb | so whatever that base includes | 19:47 |
pabelanger | /bin/sh | 19:47 |
pabelanger | was using bash | 19:47 |
SpamapS | they have /bin/sh :) | 19:57 |
* SpamapS has got them working-ish | 19:57 | |
SpamapS | now just need to get nodepool-builder to produce AMI's ;-) | 19:57 |
SpamapS | or figure out how to easily make an AMI for myself that has /usr/bin/python | 19:58 |
* SpamapS grumbles about Ansible being slow to adapt to the new distro reality | 19:58 | |
pabelanger | +1 nodepool-builder | 19:59 |
openstackgerrit | Paul Belanger proposed openstack/pbrx master: Don't store apk indexes in cache https://review.openstack.org/597224 | 20:00 |
SpamapS | is there a good graceful way to get zuul-executor to re-read its config without disturbing running jobs? | 20:00 |
SpamapS | or do I just have to pause.. wait... restart..? | 20:00 |
pabelanger | yah, think pause is working now | 20:01 |
pabelanger | so, pause, lets jobs finish, then stop | 20:01 |
pabelanger | start | 20:01 |
pabelanger | we had a playbook in openstack-infra that would wait upto 3hours for jobs to stop (tripleo) | 20:02 |
pabelanger | hopefully yours are faster :) | 20:02 |
pabelanger | or shorter | 20:02 |
SpamapS | seems like we could put that into zuul-executor | 20:02 |
SpamapS | pause+reexec-on-last-job-finishing | 20:02 |
SpamapS | I have a 1 hour job | 20:02 |
SpamapS | which is actually using too much disk because I foolishly set my disk limit per job to 250MB | 20:03 |
SpamapS | so I'm trying to raise the disk limit to 500MB | 20:03 |
SpamapS | (kind of gratifying to see the disk accounter I wrote working.. but.. derp) | 20:03 |
pabelanger | SpamapS: it is possible it exists now, I think corvus did some updates recently, or maybe tobiash | 20:07 |
pabelanger | guess not | 20:08 |
pabelanger | http://git.openstack.org/cgit/openstack-infra/zuul/tree/zuul/executor/server.py#n2215 | 20:08 |
corvus | SpamapS: https://hub.docker.com/r/zuul/ exists now thanks to Shrews | 20:17 |
corvus | dmsimard: hrm, something may be wrong with the wait_time stat then; perhaps we messed it up in the v3 transition | 20:18 |
SpamapS | corvus: \o/ | 20:18 |
pabelanger | if I read apk right, https://review.openstack.org/597224/ will save us some space in images. But removing apk indexes from /var/cache | 20:20 |
pabelanger | anybody know the difference between zuul/zuul and zuul/zuul-base ? | 20:21 |
pabelanger | on docker | 20:21 |
clarkb | pabelanger: zuul-base is the zuul install, zuul is the zuul command | 20:22 |
clarkb | this way you can run the zuul cli command seasily | 20:22 |
pabelanger | Ah | 20:22 |
pabelanger | okay, that helps | 20:22 |
pabelanger | I was thinking it would be docker pull zuul/zuul if you wanted all services in a single container | 20:24 |
Shrews | zuul-base is the image with all deps installed, from which the other containers are based on | 20:27 |
Shrews | i contemplated not pushing that one, but mordred thought it might be useful for someone | 20:28 |
pabelanger | I can see somebody wanting to build atop of zuul-base | 20:30 |
fungi | is there an etherpad yet for brainstorming zuul-oriented topic ideas for berlin forum sessions? | 20:30 |
dmsimard | Are there any plans to make the secrets backend pluggable ? i.e, hashicorp vault or some other thing | 20:31 |
dmsimard | Writing that made me realize that Ansible already has vault (and other) lookups available so it might be possible to do things within the jobs themselves... although that makes me question how secure that would be with speculative execution and all | 20:33 |
openstackgerrit | Rafael Folco proposed openstack-infra/zuul-jobs master: Set zuul job start time fact https://review.openstack.org/597235 | 20:38 |
SpamapS | dmsimard: what context are you getting at? | 20:42 |
SpamapS | dmsimard: like, the secrets are encrypted in git and only decrypted into temp files inside bwrap | 20:42 |
dmsimard | SpamapS: fyi in the upcoming patchset I'll change the "ami" label arg to "cloud-image" to bring it line with the driver spec which expects either "diskimage" or "cloud-image" https://zuul-ci.org/docs/nodepool/configuration.html#pool-labels | 20:42 |
SpamapS | the keys would be much happier in Hashicorp Vault | 20:42 |
SpamapS | dmsimard: isn't cloud-image a separate config object too? | 20:43 |
dmsimard | SpamapS: not sure yet, the trace you provided ( http://paste.openstack.org/show/728892/ ) is a bit rabbit-holey | 20:44 |
SpamapS | dmsimard: yeah I patched around that by just tacking on a diskimage attribute defaulted to None | 20:45 |
dmsimard | SpamapS: the trace happens here: https://github.com/openstack-infra/nodepool/blob/master/nodepool/launcher.py#L902 and occured because we don't check if there is a diskimage attribute before trying to access it -- I'll patch that line with a getattr instead | 20:45 |
SpamapS | yeah hasattr/getattr makes more sense | 20:47 |
SpamapS | seems like the driver interface is still kind of unclear inside nodepool | 20:47 |
pabelanger | SpamapS: fungi: clarkb: corvus: anybody care to +3 Shrews change for nodepool pbrx publishing: https://review.openstack.org/597171/ | 20:48 |
dmsimard | SpamapS: yeah -- past that hasattr, it'll use the "labelReady" method from the driver -- it's a patch that has nothing to do with aws :D | 20:51 |
dmsimard | SpamapS: hmm, the other drivers do a better job at setting default values though -- so the assumption that a diskimage attribute exists (although it might be none) doesn't seem out of line | 20:53 |
SpamapS | dmsimard: I'd like to see that as part of an abcmeta that requires implementing it as a getter if the underlying code will assume it | 20:54 |
* SpamapS really starts to long for a strongly typed language in these situations | 20:54 | |
dmsimard | ¯\_(ツ)_/¯ | 20:56 |
corvus | i'm all for documenting/improving the nodepool driver interface. we need to make it more solid before we add too many more of these. | 20:58 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul master: Add private key storage migration https://review.openstack.org/592213 | 20:59 |
openstackgerrit | Merged openstack-infra/nodepool master: Add post job to push pbrx container images https://review.openstack.org/597171 | 21:00 |
dmsimard | yeah, I think actually trying to work with it is a good way to expose what's good and what could be improved | 21:01 |
*** jimi|ansible has quit IRC | 21:06 | |
*** samccann has quit IRC | 21:18 | |
Shrews | corvus: SpamapS: dmsimard: yes, the iface makes a lot of assumptions about config values. I put a lot of work in the recent past into getting the common interface to not reference many driver specific config values, so there's at least that. But it has a long way to go | 21:36 |
Shrews | to become a proper iface | 21:36 |
Shrews | i welcome improvements as you all iterate on the new drivers | 21:37 |
Shrews | s/you all/we/ :) | 21:37 |
dmsimard | I think a lot of it has to do with abstracting the differences between drivers while attempting to keep a single interface ... like AWS has a lot of the same concepts as OpenStack (floating IPs, security groups, networks, regions, AZs, etc.) but they might be named differently or used differently, etc. | 21:38 |
Shrews | yup | 21:38 |
dmsimard | also, shade and osc take care of a LOT of business logic | 21:39 |
dmsimard | s/shade/openstacksdk/ | 21:39 |
*** hasharAway has quit IRC | 21:50 | |
dmsimard | Shrews: another thing I'm struggling a bit with is where to really put things -- for example the region name could be at the provider level like it could be at the pool level | 21:59 |
clarkb | dmsimard: I really like how we've got openstack split up for that currently, each provider is a logical location/failure domain/quota set | 22:07 |
clarkb | then you manage pools within that | 22:07 |
dmsimard | clarkb: yeah the exercise I'm doing right now is to align the current experimental implementation of the ec2 driver against the openstack one | 22:08 |
dmsimard | but for a lot of things it's not a 1:1 mapping | 22:08 |
dmsimard | an easy example -- openstack has a "boot_from_volume" parameter but it's not exactly straightforward to translate that to ec2 (because ec2's version of flavors, images and volumes is a mess) | 22:10 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul master: Add private key storage migration https://review.openstack.org/592213 | 22:10 |
clarkb | dmsimard: in that case just don't support it? | 22:11 |
dmsimard | clarkb: right but then the whole point of a driver interface is to abstract these kind of differences, no ? i.e, volume: yes and then the openstack and ec2 drivers do their respective thing to make it happen | 22:12 |
clarkb | not necessarily, the driver interface is primarily there to allow you to speak to many backends | 22:14 |
clarkb | they don't need to have the same config inputs | 22:14 |
clarkb | especially if they don't all support the same features | 22:14 |
rcarrillocruz | lcd | 22:14 |
clarkb | if nodepool was user facing api then I think that would be more important | 22:15 |
clarkb | but its a CI operator tool (primarily) and they'll be able to reconcile the differences between their backend compute providers | 22:16 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul master: Change project.private_key to private_secrets_key https://review.openstack.org/597302 | 22:27 |
*** sshnaidm is now known as sshnaidm|afk | 22:39 | |
SpamapS | Yeah I'm more a fan of the "common interface to put the cloud specific configurations into" than "high level concept of what a cloud is" pattern. | 23:29 |
SpamapS | Like one reason I like nodepool+openstack is that the provider configs kind of read as 1:1 with openstack concepts so it's easy to understand what's happening under the covers | 23:30 |
SpamapS | if it was high level concept driven... | 23:30 |
SpamapS | no | 23:30 |
SpamapS | just let me influence the calls to the aws APIs so I get the test resources I want from aws. | 23:31 |
*** threestrands has joined #zuul | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!