Sunday, 2019-02-10

*** sdake has quit IRC00:00
*** AJaeger has quit IRC00:42
*** AJaeger has joined #zuul00:56
*** bhavikdbavishi has quit IRC01:32
*** rfolco has quit IRC01:59
*** rfolco has joined #zuul01:59
*** sdake has joined #zuul02:17
*** sdake has quit IRC02:19
*** sdake has joined #zuul02:22
*** bhavikdbavishi has joined #zuul02:45
*** sdake has quit IRC02:46
*** swest has quit IRC02:49
*** bhavikdbavishi has quit IRC02:59
*** swest has joined #zuul03:05
*** bhavikdbavishi has joined #zuul04:16
*** bhavikdbavishi has quit IRC04:30
*** bhavikdbavishi has joined #zuul04:48
*** zbr has joined #zuul05:03
*** zbr|ssbarnea has quit IRC05:04
*** bhavikdbavishi has quit IRC05:26
SpamapShrm, after upgrading I'm getting this and not sure what it means..06:01
SpamapSException: Project GoodMoney/tech is not allowed to run job gmapi-post06:01
SpamapSguessing that's the CVE protection06:06
SpamapSand I need to do something explicit with that job. Hrm.06:06
SpamapSweird though, because the job is only defined *in GoodMoney/tech*06:07
SpamapSah I think it's the parent06:10
*** chkumar|out is now known as chandankumar07:27
tobiashSpamapS: do you think it would be useful to support ec2 spot instances in nodepool?07:43
*** bhavikdbavishi has joined #zuul09:48
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Manage ansible installations  https://review.openstack.org/63193010:06
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Symlink ansible plugins  https://review.openstack.org/63602210:06
*** sdake has joined #zuul10:37
*** sdake has quit IRC10:39
*** sdake has joined #zuul10:44
*** bhavikdbavishi has quit IRC10:53
*** sdake has quit IRC11:00
*** sdake has joined #zuul11:01
openstackgerritTobias Henkel proposed openstack-infra/zuul master: DNM: multi ansible dockerfile  https://review.openstack.org/63604311:12
*** sdake has quit IRC11:24
*** sdake has joined #zuul11:26
*** sdake has quit IRC11:30
*** sdake has joined #zuul11:30
*** bhavikdbavishi has joined #zuul11:48
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Manage ansible installations  https://review.openstack.org/63193011:50
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Symlink ansible plugins  https://review.openstack.org/63602211:50
*** bhavikdbavishi has quit IRC13:19
openstackgerritTobias Henkel proposed openstack-infra/zuul master: DNM: Fix multi-ansible quickstart  https://review.openstack.org/63605913:52
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Manage ansible installations  https://review.openstack.org/63193014:17
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Symlink ansible plugins  https://review.openstack.org/63602214:17
*** Miouge- has quit IRC15:26
SpamapStobiash: yes I definitely think spot instances makes a lot of sense.16:20
SpamapStobiash: actually reserved instances makes sense in some contexts too, like if you expect to be running tests constantly.16:23
SpamapSSo, if somebody has some time.. I'd like to figure out why a job defined in a project is not allowed to be run *by that project*.16:25
SpamapSException: Project GoodMoney/tech is not allowed to run job gmapi-post16:26
SpamapSThe job uses secrets from the same project.16:26
tobiashSpamapS: sounds weird, maybe a side effect of the last security fix?17:58
tobiashSpamapS: is the secret on that job or on a parent job?17:59
Shrewstobiash: oh, ok. yeah, i misunderstood the symlinking bit. thx for setting me straight18:19
tobiashShrews: thanks for reviewing :)18:35
SpamapStobiash: the secret is defined in GoodMoney/tech and is attached on gmapi-post itself.18:43
SpamapSThere are two variants of the job, one for master, one for a branch named prod.18:44
tobiashSpamapS: https://review.openstack.org/#/c/632566/2/zuul/configloader.py18:45
tobiashmaybe it should have been the canonical name18:45
tobiashin line 67218:45
tobiashhrm, no project.name looks correct18:48
AJaegerSpamapS: do you have the config to check for that repo?18:48
SpamapSAJaeger: I'm not sure what you mean.18:49
AJaegerSpamapS: you talk about problems for GoodMoney/tech with gmapi-post - what's the job definition for it?18:49
AJaegerDo other jobs defined in that repo run or is it that the only defined job?18:49
AJaegerSpamapS: I don't know whether I can help - but without the config I have no idea...18:50
SpamapSAJaeger: Yes jobs run in check/gate, but so far no post jobs have run since upgrading from 3.3.1 to latest master.18:51
SpamapShttp://paste.openstack.org/show/744805/ is the pipeline18:52
SpamapShttp://paste.openstack.org/show/744806/ is the job definition (two variants as you see)18:54
tobiashSpamapS: does the parent have a secret too?18:55
AJaegerSpamapS: has the parent job with-ecr-credentials credentials as well?18:55
tobiashin an untrusted repo?18:55
tobiashSpamapS: if the parent has a secret and is in an untrusted too it would be the only allowed-project18:56
tobiashthat could explain what you're seeing18:56
SpamapShttps://github.com/GoodMoney/goodmoney-zuul-jobs/blob/master/.zuul.d/project.yaml#L6-L11 is where with-ecr-credentials is defined (that repo is not private)18:57
SpamapStobiash: ah, so with-ecr-credentials is the one that isn't allowed to run in tech18:57
tobiashSpamapS: yes18:57
SpamapSkk, that makes sense18:57
tobiashyou'd need to move this into a trusted repo probably18:57
tobiashwe had a similar case last week18:58
SpamapSI've thought about doing that since goodmoney-zuul-jobs is supposed to be open source stuff18:58
SpamapStobiash: I wonder if we can improve that error message to point at the real culprit. :-P19:01
tobiashwe probably should add the list of allowed problems to that message ;)19:02
SpamapSyeah that would do it19:03
SpamapSheh, moving a job is hard19:36
SpamapSyou have to create a new, versioned one, change all references, then remove the old one and rename the new one.19:36
SpamapSUnless you happen to be moving into a shadowing repo19:36
SpamapSI have to say... zuul is great for CI, but I'm more and more convinced it's just too complicated for production deploying.20:14
* SpamapS will be trying out AWX to run post-merge deploys :-P20:14
SpamapSI wonder if we could simplify object renames by adding a replaces: attribute20:26
SpamapSand maybe even require a replaced-by: on the other side. That way you can just land the replaced-by: first, basically gaining consent from the owners of the old object20:26
SpamapStobiash: thanks for the tip, that did work21:12
SpamapSbut zomg was moving the job hard21:12
SpamapSprobably would have been simpler to temporarily set up shadowing21:12
SpamapSTook many phases: P1, make new job in trusted repo, P2, change refs to new job name, P3, remove old job, P4, make new job named after old job, but continue to have alias to new job name, P5 revert all of the ref changes, P6 remove the "new job name" alias.21:14
mnasereh23:05
mnaserbindep doesnt seem to run apt-get update before installing stuff23:06
mnaserresulting in -- No package matching 'build-essential' is available23:06
mnaserif i ssh into a worker node, installing the package gives "E: Package 'build-essential' has no installation candidate" until i run an apt-get update23:06
mnaseris there anything that i'm missing in my elements which should run an apt-get update in the image?23:06
mnaserDIB_DISABLE_APT_CLEANUP23:10
clarkbbindep doesnt really manage your paclage manager23:18
clarkbits job is to list missing packages and not much else23:19
mnaserclarkb: yeah but it looks like the nodepool published image for some reason is missing something.. so it requires running `apt-get update` first before it can install anything23:21
mnaserand im wondering if this is just a missing element in my images or what's causing it to be in that sitaution23:21
mnaserhttps://www.irccloud.com/pastebin/Ad4hAhEn/23:34
mnaseroh, all of /var/apt is missing, interesting23:35
mnaserugh, nevermind, it's /var/lib/apt, and it's there, i'll try to dig more but if anyone has a clue..23:35
mnaserhttp://logs.openstack.org/13/635913/1/check/openstack-tox-pep8/0ef3c50/job-output.txt.gz#_2019-02-08_18_47_10_05776223:38
mnaserok, that runs upstream which gets the update..23:38
*** goern has quit IRC23:47

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