*** jimi|ansible has joined #zuul | 00:06 | |
ianw | join the club :) | 00:11 |
---|---|---|
* Shrews grumbles more than usual | 00:42 | |
*** snapiri has quit IRC | 00:44 | |
*** snapiri has joined #zuul | 00:44 | |
*** EvilienM is now known as EmilienM | 00:50 | |
*** AJaeger has quit IRC | 03:05 | |
*** AJaeger has joined #zuul | 03:05 | |
*** bhavikdbavishi has joined #zuul | 03:06 | |
*** chkumar|off is now known as chandankumar | 04:44 | |
*** adam_g has quit IRC | 05:41 | |
*** adam_g has joined #zuul | 05:41 | |
tobiash | Shrews: +2 with comment on the port cleanup. We have leaked ports too so thanks :) | 06:35 |
openstackgerrit | Merged openstack-infra/zuul master: Use doc/requirements.txt https://review.openstack.org/613796 | 07:11 |
tobiash | ianw: when are you planning to do the next diskimage-builder release? | 07:26 |
*** pcaruana has joined #zuul | 07:46 | |
openstackgerrit | Tobias Henkel proposed openstack-infra/nodepool master: Rate limit updateNodeStats https://review.openstack.org/613680 | 07:51 |
*** AJaeger has quit IRC | 08:11 | |
*** AJaeger has joined #zuul | 08:15 | |
*** sshnaidm is now known as sshnaidm|ruck | 08:18 | |
*** jpena|off is now known as jpena | 08:57 | |
*** hashar has joined #zuul | 09:01 | |
*** panda|off is now known as panda | 09:19 | |
*** snapiri has quit IRC | 09:21 | |
*** bhavikdbavishi has quit IRC | 09:45 | |
*** bhavikdbavishi has joined #zuul | 09:46 | |
*** nilashishc has joined #zuul | 10:02 | |
*** sshnaidm|ruck is now known as sshnaidm|afk | 10:18 | |
*** sshnaidm|afk has quit IRC | 10:23 | |
*** bhavikdbavishi has quit IRC | 10:32 | |
*** goern has quit IRC | 10:49 | |
*** rfolco|rover has quit IRC | 11:10 | |
*** rcarrillocruz has joined #zuul | 11:15 | |
*** spsurya has quit IRC | 11:16 | |
*** tflink has quit IRC | 11:16 | |
*** zigo has quit IRC | 11:17 | |
*** spsurya has joined #zuul | 11:18 | |
*** tflink has joined #zuul | 11:22 | |
ianw | tobiash: ... soon. i just added the zuulv3 native jobs, i'd like to look at the systemd image stuff proposed and after that. couple of days; if needed can do sooner | 11:38 |
*** sshnaidm has joined #zuul | 11:51 | |
*** rlandy has joined #zuul | 12:02 | |
*** bhavikdbavishi has joined #zuul | 12:24 | |
openstackgerrit | Merged openstack-infra/zuul-sphinx master: Use tox-docs directly https://review.openstack.org/602252 | 12:25 |
*** _ari_ has joined #zuul | 12:26 | |
*** nilashishc has quit IRC | 12:28 | |
*** rfolco has joined #zuul | 12:30 | |
tobiash | ianw: thanks, that's fine for me :) | 12:37 |
dmsimard | https://vespene.io is out | 12:37 |
dmsimard | CI/CD from the guy that created Ansible | 12:37 |
*** bhavikdbavishi has quit IRC | 12:44 | |
*** jpena is now known as jpena|lunch | 13:03 | |
*** zigo has joined #zuul | 13:17 | |
*** themroc has joined #zuul | 13:25 | |
mordred | dmsimard: "Unlike some other CI tools, pipelines in Vespene are easily and graphically configured, and there is no custom DSL (“Domain Specific Language”) to learn and debug." | 13:26 |
mordred | EDONOTWANT | 13:26 |
SpamapS | zomg | 13:33 |
SpamapS | also | 13:33 |
SpamapS | didn't somebody tell him he's not allowed to python anymore? | 13:34 |
rcarrillocruz | ... | 13:55 |
rcarrillocruz | just UI? | 13:55 |
rcarrillocruz | wow... | 13:55 |
*** jpena|lunch is now known as jpena|mtg | 13:55 | |
*** sshnaidm is now known as sshnaidm|ruck | 14:18 | |
*** rfolco has quit IRC | 14:38 | |
*** rfolco has joined #zuul | 14:49 | |
*** jpena|mtg is now known as jpena | 14:59 | |
*** quiquell has joined #zuul | 15:09 | |
quiquell | Hello | 15:09 |
quiquell | Do we have access to zuul job inheritance information from a runnin job at a running ansible task ? | 15:09 |
quiquell | Like for example the running playboks at pre | 15:10 |
*** rfolco is now known as rfolco|rover | 15:10 | |
mordred | quiquell: yes - if you look, for instance, at this inventory file: http://logs.openstack.org/69/612169/5/check/nodepool-functional-py35/cdb60df/zuul-info/inventory.yaml | 15:11 |
*** irclogbot_3 has joined #zuul | 15:11 | |
mordred | quiquell: you can see the zuul._inheritance_path varialbe | 15:11 |
mordred | now - it's marked with a _ - so I wouldn't write a ton of logic based on it - it's mostly there for human debugging purposes | 15:12 |
*** goern has joined #zuul | 15:13 | |
quiquell | mordred: is ther eany way we can access te Job python model from the ansible tasks ? | 15:19 |
mordred | quiquell: no, I do not believe so - what are you trying to do? | 15:20 |
quiquell | mordred: we are reworking the reproducer we have a tripleo | 15:20 |
mordred | (also, I may come and go for a bit - ton of phone calls today, so if I disappear for a minute, it's not personal) | 15:21 |
quiquell | mordred: And wanted to try to get the info from pre runs for example | 15:21 |
mordred | gotcha. I think this might overlap with the work people have been interested in in terms of tooling to locally run a zuul job. clarkb jhesketh I can't remember where discussion around that is, do you? | 15:22 |
clarkb | mordred: in denver the OSA crew was going to fiddle with getting something going that relied on the jobs api to list out the bits you need. I think the api needed more work/info in it to make that possible and havent heard or seen that happening yet | 15:24 |
mordred | clarkb: nod. so odyssey4me might be a better person to ping there | 15:25 |
clarkb | ya | 15:27 |
quiquell | rlandy: ^ | 15:29 |
*** bhavikdbavishi has joined #zuul | 15:38 | |
*** sshnaidm|ruck is now known as sshnaidm|bbl | 16:13 | |
kmalloc | dmsimard: wow, that makes me cringe =/ | 16:15 |
kmalloc | SpamapS, mordred ++ | 16:15 |
*** quiquell is now known as quiquell|off | 16:15 | |
*** bhavikdbavishi has quit IRC | 16:34 | |
*** bhavikdbavishi has joined #zuul | 16:35 | |
ssbarnea | is the "files" section on jobs inhered from parent (merged) or if you define it in job, it will completely replace parent values? | 16:49 |
clarkb | ssbarnea: https://zuul-ci.org/docs/zuul/user/config.html#attr-job.files you inherit your parents value, but if you define a new value that overrides | 16:52 |
Shrews | clarkb: ianw: either of you want to push https://review.openstack.org/609829 (Cleanup down ports) through? | 16:58 |
ssbarnea | clarkb : thanks. docs states clearly. so I need to copy/paste values from parent. | 17:00 |
ssbarnea | make sense, a merge strategy could bring undesired behaviour for others. cannot make everyone happy. | 17:01 |
clarkb | ssbarnea: probably good to have ianw double check it again since ianw did a lotof the automation hacks around that | 17:03 |
clarkb | er Shrews ^ | 17:03 |
clarkb | sorry ssbarnea | 17:03 |
ssbarnea | clarkb : not this is not in docs: If I list foo.bar into both files and irellevant-files, which one wins? I hope inclusion wins. | 17:03 |
clarkb | Shrews: mordred also should we filter by the port type to only cleanup the nova compute ports | 17:03 |
Shrews | clarkb: yeah sure | 17:03 |
clarkb | ssbarnea: I think that is an error, they have to be distinct lists iirc | 17:03 |
Shrews | clarkb: oh right! i forgot that | 17:04 |
AJaeger | zuul cores, here's small change for zuul-jobs - please review https://review.openstack.org/613785 | 17:04 |
Shrews | clarkb: i can't find that info you pasted in irc. still have it? | 17:06 |
clarkb | Shrews: let me see | 17:06 |
clarkb | Shrews: "The entity type that uses this port. For example, compute:nova (server instance), network:dhcp (DHCP agent) or network:router_interface (router interface)." | 17:07 |
clarkb | Shrews: from the neutron api port list/show docs | 17:07 |
Shrews | clarkb: device_owner, right? | 17:09 |
Shrews | ok yep | 17:09 |
clarkb | ya device_owner | 17:10 |
*** themroc has quit IRC | 17:10 | |
mordred | clarkb: have we seen that set properly on the leaked ports? | 17:22 |
Shrews | clarkb: so, umm, that value doesn't appear to be consistent. For vexxhost, I get back device_owner = compute:ca-ymq-2 | 17:22 |
mordred | I think it's "compute:{az}" - and 'nova' is the default az name | 17:22 |
Shrews | i mean, my server is in ca-ymq-1 | 17:23 |
Shrews | so... ???? | 17:23 |
mordred | Shrews: does your server have anything in the az field? | 17:23 |
Shrews | gimme a sec to mod my script... | 17:23 |
clarkb | mordred: it will either be None or set | 17:23 |
clarkb | mordred: mostly I want to avoid deleting router ports | 17:24 |
mordred | I'm just curious if there isa ca-ymq-2 az there | 17:24 |
Shrews | mordred: yeah, ca-ymq-2, so that matches | 17:25 |
mordred | of course, that makes it harder to filter out | 17:25 |
clarkb | Shrews: probably you can check if None or startswith compute: | 17:25 |
clarkb | since the compute: prefix is constant I think | 17:26 |
Shrews | clarkb: yeah, would have to be a manual filter instead of pushdown | 17:26 |
Shrews | clarkb: should we ignore None valued ports? | 17:26 |
Shrews | or include those in the delete list | 17:27 |
clarkb | Shrews: no I think you delete None valued device_owner ports | 17:27 |
Shrews | k | 17:27 |
openstackgerrit | Benoît Bayszczak proposed openstack-infra/zuul master: upgrade minimum Ansible version to 2.5.2 https://review.openstack.org/613999 | 17:27 |
clarkb | since sometimes leaked ports don't get far neough to have a device_owner | 17:27 |
openstackgerrit | David Shrewsbury proposed openstack-infra/nodepool master: Cleanup down ports https://review.openstack.org/609829 | 17:35 |
Shrews | that should do it | 17:35 |
openstackgerrit | David Shrewsbury proposed openstack-infra/nodepool master: Cleanup down ports https://review.openstack.org/609829 | 17:36 |
Shrews | "computer ports" != "compute ports" | 17:37 |
Shrews | just fyi | 17:37 |
openstackgerrit | Clark Boylan proposed openstack-infra/zuul master: Small script to scrape Zuul job node usage https://review.openstack.org/613674 | 17:39 |
mordred | Shrews: additoin looks good | 17:52 |
*** jpena is now known as jpena|off | 18:07 | |
openstackgerrit | Clark Boylan proposed openstack-infra/zuul master: Small script to scrape Zuul job node usage https://review.openstack.org/613674 | 18:33 |
*** robcresswell has joined #zuul | 18:51 | |
*** bhavikdbavishi has quit IRC | 18:55 | |
openstackgerrit | Tobias Henkel proposed openstack-infra/zuul-jobs master: Add prepare-workspace-git role https://review.openstack.org/613036 | 19:22 |
*** mrhillsman is now known as mrhillsman_lunch | 19:53 | |
manjeets | corvus, is there any sample tenant_config that's point to /etc/zuul/main.yaml in zuul.conf here in docker-compose up example https://zuul-ci.org/docs/zuul/admin/quick-start.html | 20:55 |
manjeets | i changed gerrit pointers but having issues with gear connection | 20:55 |
clarkb | manjeets: http://git.zuul-ci.org/cgit/zuul/tree/doc/source/admin/examples/etc_zuul/main.yaml is the file used by the docker compose quick start | 20:56 |
clarkb | (the end of the quickstart document points to this directory in the zuul repo for finding more info) | 20:57 |
manjeets | clarkb, thanks https://github.com/openstack-infra/zuul/blob/master/doc/source/admin/examples/etc_zuul/zuul.conf#L11 | 20:58 |
*** robcresswell has quit IRC | 21:00 | |
manjeets | I changed this pointer to point at main.yaml in etc_zuul/ | 21:01 |
manjeets | clarkb, I am trying to post a comment using this docker-compose to ci-sandbox, once that works goals is to add a 3rdparty ci job using that | 21:02 |
*** mrhillsman_lunch is now known as mrhillsman | 21:04 | |
clarkb | you'll need to add a project config repo somewhere too I think | 21:04 |
*** hashar has quit IRC | 21:12 | |
manjeets | clarkb, I see in tenant config it asks config-projects ? that's config repo I have locally | 21:56 |
manjeets | ? | 21:56 |
*** pcaruana has quit IRC | 21:57 | |
clarkb | manjeets: ya | 21:57 |
manjeets | I still can't understand how would the path to that repo will work | 21:57 |
clarkb | that is where you set up your base job and such | 21:57 |
manjeets | should I just create zuul-config inside zuul ? | 21:57 |
manjeets | clarkb, gerrit: config-projects: should I just project-config here ? since it will look for that project on gerrit host ? | 22:00 |
manjeets | should I use project-config from openstack here ? | 22:00 |
clarkb | manjeets: no, because project-config is openstack infra's project-config repo and it has our secrets encrypted with our zuul's private keys and such | 22:00 |
clarkb | manjeets: you need your own project-config repo that has your own secrets and base job | 22:00 |
manjeets | what kind of secrets are storing if it is okay to ask, would that just be certificates etc or ssh keys as well ? | 22:02 |
clarkb | yes ssh keys for copying logs for example, afs credentials etc | 22:02 |
clarkb | basically you won't be able to use our base job with your zuul because our base job needs access to those secrets which requires running under our zuul for decryption | 22:03 |
manjeets | clarkb, sorry to bug again, I am getting weird errors with docker compose, its unable to find the paths that already exists | 23:06 |
manjeets | FileNotFoundError: [Errno 2] No such file or directory: '~/.ssh/id_rsa' while making a connection to gerrit | 23:07 |
manjeets | but I checked many times it actually exists in the machine | 23:07 |
clarkb | manjeets: I think it tries to use the .ssh/id_rsa for the current user | 23:07 |
clarkb | does the current user have that? sudo might make this weird | 23:07 |
manjeets | i created one for current user | 23:07 |
manjeets | and also Exception: Unable to read tenant config file at /home/ubuntu/zuul/doc/source/admin/examples/etc_zuul/main.yaml | 23:10 |
manjeets | I manually created that file and it exists | 23:10 |
manjeets | not sure if docker-compose runs as a different user ? | 23:10 |
clarkb | manjeets: well you have torun it with sudo and then it bind mounts things so maybe that is affecting it? | 23:11 |
manjeets | clarkb, ok i think I got it, I ran docker compose with sudo so probably it's looking ~/.ssh for root user ? | 23:12 |
clarkb | possibly | 23:14 |
manjeets | clarkb, i created one for root but still the same issue, does the scripts create any specific user for running these containers, it could be looking from inside containers as well ? | 23:20 |
clarkb | manjeets: I don't know | 23:22 |
*** rlandy has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!