Tuesday, 2020-02-04

*** HuyNguyen has quit IRC00:53
*** pyn38 has joined #starlingx05:52
*** pyn38 has quit IRC06:03
*** mugsie has quit IRC07:37
*** mugsie has joined #starlingx07:41
*** pyn38 has joined #starlingx08:48
*** hoonetorg has quit IRC09:06
*** hoonetorg has joined #starlingx09:18
*** pyn38 has quit IRC10:16
*** zhipeng[m] has quit IRC11:14
*** hoonetorg has quit IRC11:14
*** mugsie has quit IRC11:14
*** Logxen has quit IRC11:14
*** ildikov has quit IRC11:14
*** aning_ has quit IRC11:14
*** tsmith2 has quit IRC11:14
*** Samiam1999 has quit IRC11:14
*** evgenyl has quit IRC11:14
*** mnasiadka has quit IRC11:14
*** donnyd has quit IRC11:14
*** irclogbot_0 has quit IRC11:15
*** openstackstatus has quit IRC11:16
*** irclogbot_0 has joined #starlingx11:17
*** zhipeng[m] has joined #starlingx11:18
*** slittle1 has quit IRC11:18
*** dirk has quit IRC11:18
*** hoonetorg has joined #starlingx11:18
*** mugsie has joined #starlingx11:18
*** Logxen has joined #starlingx11:18
*** ildikov has joined #starlingx11:18
*** aning_ has joined #starlingx11:18
*** tsmith2 has joined #starlingx11:18
*** Samiam1999 has joined #starlingx11:19
*** evgenyl has joined #starlingx11:19
*** mnasiadka has joined #starlingx11:19
*** donnyd has joined #starlingx11:19
*** donnyd has quit IRC11:21
*** ildikov has quit IRC11:22
*** donnyd has joined #starlingx11:23
*** ildikov has joined #starlingx11:24
*** ijolliffe has joined #starlingx13:44
sgwMorning all14:42
*** slittle1 has joined #starlingx15:16
slittle1sgw: my download passed15:16
sgwslittle1: did you make changes since you left last night?  I still had a failure on getting some of the compiler related tis rpms when trying to build distro layer.15:21
sgwI also saw an issue with the centos8 download, I can re-paste here or PM15:21
slittle1which rmp did I fail to download?15:23
slittle1Is there a chance it is already downloaded, and is trying to overwrite it ?15:24
slittle1I had removed my prior output directory so it re-downloaded everything.15:24
sgwslittle1: let me double check that15:25
slittle1I'm wondering if it's a variant of the reposync behaviour I was fighting with yesterday.15:26
sgwNope files are not downloaded already, they where bash, golang, gloang-shared and python python-devel, python-debug*15:26
slittle1can you put the logs somewhere I can see them15:40
sgwslittle1: which log, or the whole directory?15:41
slittle1guess all of it15:41
*** Samiam1999DTP has joined #starlingx15:44
sgwI sent email, let's see if it gets through filters!15:46
*** Samiam1999 has quit IRC15:48
*** Samiam1999DTP has quit IRC15:49
*** Samiam1999DTP has joined #starlingx15:49
slittle1got it15:58
slittle1sgw: looks like a permission issue on the rpm database16:03
slittle1Did you run download_mirror within the container ?16:04
*** Samiam1999 has joined #starlingx16:05
slittle1ovl: Error while doing RPMdb copy-up:16:06
slittle1[Errno 13] Permission denied: '/var/lib/rpm/__db.003'16:06
*** Samiam1999DTP has quit IRC16:07
sgwYes, as non-root, that message always happens, other rpms downloaded successfully even with the perms issues16:07
slittle1yum suggested .... run yum --enablerepo=CENGN_Starlingx-cengn_compiler_std_layer clean metadata16:12
slittle1did you try that ?16:12
sgwfails as non-root16:12
sgwsame error when run via sudo: Error getting repository data for CENGN_Starlingx-cengn_compiler_std_layer, repository not found16:16
sgwrunning as non-root just gives the same permission denied as above along with the repo not found message16:16
sgwslittle1: do you run it on a baremetal centos or in the docker?  sudo or not?  just want to understand the difference, we need to consider these permission issues so we don't confuse folks.16:24
slittle1in and out of docker, but docker builds are usually one-offs... I didn't do multiple mirror downloads separated by days within the same docker16:35
slittle1so no preserved metadata I guess16:35
slittle1or chache16:36
sgwAs root or not?16:36
slittle1not16:38
*** Samiam1999DTP has joined #starlingx16:39
slittle1I'm thinking add ... ${SUDOCMD} yum ${YUMCONFOPT} --enablerepo=CENGN_Starlingx-cengn* clean metadata  ...   to dl_rpms.sh at about line 258 ... just ahead of makecache16:39
*** Samiam1999 has quit IRC16:42
sgwagain do you run the script with -n or without?  I feel like an optometrist A or B , B or C!16:42
slittle1-n16:43
sgwrunning sudo download_mirror vs download_mirror -n vs download_mirror16:43
sgwSo you should see those same permission issues in your logs16:43
slittle1download_mirror.sh -n16:43
sgwI am looking to see if we can add something to the yum.conf.sample file16:43
sgwI am looking at history_record: false16:46
slittle1how about add 'metadata_expire=60' to each repoid within StarlingX_cengn_compiler_layer.repo  StarlingX_cengn_distro_layer.repo16:47
slittle1metadata_expire=5m16:51
sgwback from dentist, history_record was not it.18:35
slittle1I've created a fresh docker env ... as expected download mirror passed ... likely because it contained no 'bad' metadata18:39
slittle1I suspect that if I ask cengn to rebuild the compiler layer, I'll then be able to reproduce your issue18:40
sgwdid you get the permission denied?  I am also using a freshly created docker18:41
sgwIt's still downloading on my end18:42
*** vmrod25 has joined #starlingx18:57
*** vmrod25 has quit IRC18:58
*** vmrod25 has joined #starlingx18:58
slittle1lots under /tmp/stx_mirror_t1FkGE/cache/yum18:59
*** zhipeng[m] has quit IRC18:59
slittle1none fatal19:00
*** vmrod25 has quit IRC19:00
*** zhipeng[m] has joined #starlingx19:01
*** mthebeau has joined #starlingx19:10
slittle1I'll  want to do a build/publish/mirror cycle on the compiler layer to test my theory.... but don't want to mess up your own testing.19:16
sgwRight, Ok waiting for my clear19:18
sgwOops, waiting for mine to finish19:19
slittle1my re-run of download_mirror inside docker without a cengn rebuild also passed19:33
sgwfailed again:bash-4.2.46-31.el7.tis.4.x86_64.rpm19:38
sgwbash-debuginfo-4.2.46-31.el7.tis.4.x86_64.rpm19:38
sgwbash-doc-4.2.46-31.el7.tis.4.x86_64.rpm19:38
sgwgolang-bin-1.12.10-3.tis.1.x86_64.rpm19:38
sgwgolang-race-1.12.10-3.tis.1.x86_64.rpm19:38
sgwpython-devel-2.7.5-76.el7.tis.4.x86_64.rpm19:38
sgwpython-libs-2.7.5-76.el7.tis.4.x86_64.rpm19:38
sgwpython-test-2.7.5-76.el7.tis.4.x86_64.rpm19:38
sgwpython-tools-2.7.5-76.el7.tis.4.x86_64.rpm19:38
sgwrpm-devel-4.14.0-1.tis.1.x86_64.rpm19:38
sgwtkinter-2.7.5-76.el7.tis.4.x86_64.rpm19:38
slittle1and this was a new container ?19:42
sgwCorrect19:43
slittle1ok, i'll delete bash and retry19:46
slittle1o, that reproduced it19:58
sgwslittle1: OK, so you have a reproduible case now?  Not sure why my clean docker did not succeed20:12
*** TxGirlGeek has joined #starlingx21:01
*** mthebeau has quit IRC21:23
*** sgw has quit IRC22:04
*** vmrod25 has joined #starlingx22:16
*** ijolliffe has quit IRC22:26
*** sgw has joined #starlingx22:34
*** vmrod25 has quit IRC23:01
*** vmrod25 has joined #starlingx23:22
*** vmrod25 has quit IRC23:25
*** vmrod25 has joined #starlingx23:25
*** vmrod25 has quit IRC23:30

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