Wednesday, 2020-02-05

*** TxGirlGeek has quit IRC01:36
*** TxGirlGeek has joined #starlingx02:45
*** TxGirlGeek has quit IRC03:14
*** TxGirlGeek has joined #starlingx03:38
*** TxGirlGeek has quit IRC05:20
*** billzvonar has joined #starlingx12:55
*** ijolliffe has joined #starlingx13:27
sgwMorning all14:23
bwensleymorning14:25
billzvonaror evening, depending where yer at14:25
*** rcw has joined #starlingx15:02
*** TxGirlGeek has joined #starlingx16:01
*** openstackstatus has joined #starlingx16:06
*** ChanServ sets mode: +v openstackstatus16:06
*** billzvonar has quit IRC16:10
sgwslittle1: so I know you ran out of time yesterday, but can you confirm you saw the download_mirror failure with bash/golang/python?16:20
slittle1yes I did16:41
slittle1trying several things to try an understand the trigger16:41
slittle1various yum clean options, including 'clean all' fail to resolve the problem once it starts16:42
*** vmrod25 has joined #starlingx16:45
slittle1turned on every debug and log option I can find... nothing useful16:46
*** ijolliffe has quit IRC16:52
*** vmrod25 has left #starlingx16:52
sgwlet me know how I can help, as I know that I can test it !16:53
*** ijolliffe has joined #starlingx17:01
*** ijolliffe has quit IRC17:12
*** ijolliffe has joined #starlingx17:19
*** ijolliffe has quit IRC17:26
*** ijolliffe has joined #starlingx17:30
*** ijolliffe has quit IRC17:34
*** ijolliffe has joined #starlingx17:37
slittle1trying to compare './download_mirror.sh -c ./yum.conf.sample -n -g' vs './download_mirror.sh -c ./yum.conf.sample -g' in two different containers17:39
slittle1do I get a different result?   I think the '-n' version passed ... at least on the first attempt... but now I'm starting to doubt myself17:41
sgwI almost always run with -n17:46
*** ijolliffe has quit IRC17:47
sgwI am trying down a different issue in download_mirror where it just exit with $? = 1 after step #3 before #4 (where it remves i686 packages and count packages)17:48
sgwThere is no exit there but it still does!17:48
*** ijolliffe has joined #starlingx17:48
dpenneyThat's because some of the scripts in stx-tools use "bash -e". So if any command in there has a non-zero rc, it exits the script17:53
dpenneyas opposed to doing error checking with helpful log messages :)17:53
dpenneyyou could run with bash -x to see exactly where it's failing?17:54
*** ijolliffe has quit IRC17:57
*** bwensley_ has joined #starlingx18:00
sgwdpenney: that's the problem when I run with -x it succeeds!18:00
slittle1sgw: bash -e18:01
sgwbash -e -x?18:01
*** dpenney_ has joined #starlingx18:01
slittle1all you need to exit is a non-zero return code for any command and the script exits18:02
*** dpenney_ has joined #starlingx18:03
slittle1sorry , don pointed it out before me18:03
*** bwensley has quit IRC18:03
*** rcw has quit IRC18:04
slittle1./download_mirror.sh  fails with or without -n inside a container18:04
*** rcw has joined #starlingx18:04
dpenney_Heisenbug... it only happens when you're not looking at it ;)18:05
*** dpenney has quit IRC18:05
*** dpenney_ has quit IRC18:05
*** dpenney has joined #starlingx18:06
sgwOk, I tracked it down by running the command between step 3 and 4.  the first find looking for Missing keys seems to exit 1 via the grep18:06
sgwfind ./output -type f -name "*.rpm" | xargs rpm -K | grep -i "MISSING KEYS" > $LOGSDIR/rpm-gpg-key-missing.txt18:06
*** ijolliffe has joined #starlingx18:06
sgwSince the grep MISSING KEYS does not detect any missing keys grep exits status 118:08
sgwSo any fully successful download will always exit before completion.18:08
dpenneyI'm not a fan of "bash -e" in general... I always favour clean error checking/handling, because of things like this18:08
sgwI guess did Scott introduce the -e or was it was it always there?18:09
dpenneya number of the stx-tools scripts have had it since they were introduced18:10
sgwStrange we have not tripped over this before!18:10
*** bwensley_ has quit IRC18:11
*** bwensley has joined #starlingx18:11
dpenneyI raised it early on when I first started trying these starlingx mirror tools, as I hit a few issues with some of the underlying scripts that would fail and cause a cascading silent failure, which would look like it passed from some parent script that didn't check return codes and didn't have the 'bash -e'18:12
*** ijolliffe has quit IRC18:13
*** ijolliffe has joined #starlingx18:18
*** ijolliffe has quit IRC18:24
*** ijolliffe has joined #starlingx18:26
*** ijolliffe has quit IRC18:44
slittle1I agree we should get rid of 'bash -e'18:53
slittle1I was hoping to do it as a stand alone update18:53
slittle1I think I know part of the problem with compiler layer downloads18:54
slittle1rpm is compiled both in std and installer18:54
sgwFinally had a chance to track down some issues I was seeing, I made some comments in tools review for you.18:56
slittle1The std one is compiled packaged by the old rpm.  The installer one is packaged by the new rpm.18:56
slittle1great, thanks Saul18:56
slittle1so I had two seemingly different versions of rpm going by the same name18:57
sgwslittle1: so there are 2 repos?18:57
slittle1yes, one for each build-type18:58
sgwSo actually bash, golang and python were packaged by the "system" rpm18:58
slittle1yes18:58
sgwkind of the same problem that Don just saw with containerd?18:58
slittle1Not what I want18:59
slittle1I think I need to build 'installer' first, then 'std', and only publish 'std'19:00
*** ijolliffe has joined #starlingx19:00
*** ijolliffe has quit IRC19:08
*** ijolliffe has joined #starlingx19:11
*** ijolliffe has quit IRC19:24
*** ijolliffe has joined #starlingx19:37
*** ijolliffe has quit IRC19:44
*** ijolliffe has joined #starlingx19:45
*** TxGirlGe_ has joined #starlingx19:59
*** TxGirlGeek has quit IRC20:01
*** TxGirlGe_ has quit IRC20:28
*** TxGirlGeek has joined #starlingx20:29
*** rcw has quit IRC20:37
*** rcw has joined #starlingx20:47
*** ijolliffe has quit IRC20:56
*** ijolliffe has joined #starlingx20:59
*** rcw has quit IRC20:59
*** rcw has joined #starlingx21:00
*** TxGirlGe_ has joined #starlingx21:14
*** TxGirlGeek has quit IRC21:15
*** ijolliffe has quit IRC21:15
*** ijolliffe has joined #starlingx21:36
*** ijolliffe has quit IRC21:57
*** rcw has quit IRC22:11
*** ericho has joined #starlingx23:04

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