Wednesday, 2018-06-27

*** mjturek has quit IRC00:07
*** yolanda_ has quit IRC00:16
*** mjturek has joined #openstack-dib00:36
*** mjturek has quit IRC00:50
*** chhagarw has joined #openstack-dib02:12
*** chhagarw has quit IRC03:13
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Don't quote names with sgdisk  https://review.openstack.org/57826504:04
*** hwoarang has quit IRC04:40
*** chhagarw has joined #openstack-dib04:46
*** amrith has quit IRC05:15
*** hwoarang has joined #openstack-dib05:23
*** amrith has joined #openstack-dib05:47
*** amrith is now known as Guest211005:47
*** yolanda_ has joined #openstack-dib05:47
*** hwoarang has quit IRC06:06
*** yolanda__ has joined #openstack-dib06:06
*** hwoarang has joined #openstack-dib06:06
*** andreas_s has joined #openstack-dib06:08
*** yolanda_ has quit IRC06:09
*** yolanda__ has quit IRC06:14
*** yolanda__ has joined #openstack-dib06:30
*** yolanda__ has quit IRC06:50
*** yolanda__ has joined #openstack-dib06:53
*** yolanda__ is now known as yolanda06:53
*** andreas_s has quit IRC06:53
*** andreas_s has joined #openstack-dib07:01
*** andreas_s has quit IRC07:07
*** andreas_s has joined #openstack-dib07:11
*** andreas_s has quit IRC07:18
*** andreas_s has joined #openstack-dib07:19
*** andreas_s has quit IRC07:21
*** andreas_s has joined #openstack-dib07:25
*** brault has quit IRC07:30
*** brault has joined #openstack-dib07:30
*** andreas_s has quit IRC07:43
*** andreas_s has joined #openstack-dib07:47
*** andreas_s has quit IRC07:51
*** andreas_s has joined #openstack-dib07:52
*** andreas_s has quit IRC07:56
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Don't quote names with sgdisk  https://review.openstack.org/57826508:10
*** andreas_s_ has joined #openstack-dib08:15
*** andreas_s_ has quit IRC08:21
*** andreas_s has joined #openstack-dib08:22
*** andreas_s has quit IRC08:30
*** andreas_s has joined #openstack-dib08:30
*** andreas_s has quit IRC08:36
*** andreas_s has joined #openstack-dib08:36
*** andreas_s has quit IRC08:40
*** andreas_s has joined #openstack-dib08:43
openstackgerritOliver Walsh proposed openstack/diskimage-builder master: WIP: Add DIB element to install NVIDIA GPU drivers  https://review.openstack.org/57322309:13
openstackgerritMerged openstack/diskimage-builder master: Add iscsi-boot element for CentOS images  https://review.openstack.org/54270809:54
*** pavel_V has quit IRC10:31
*** chhagarw has quit IRC11:20
*** mjturek has joined #openstack-dib13:08
*** vmlinuz has joined #openstack-dib13:14
*** chhagarw has joined #openstack-dib13:26
*** vmlinuz has quit IRC13:45
*** vmlinuz has joined #openstack-dib13:54
*** vmlinuz has joined #openstack-dib13:54
*** vmlinuz has quit IRC14:15
*** vmlinuz has joined #openstack-dib14:33
*** vmlinuz has joined #openstack-dib14:33
*** mjturek has quit IRC14:41
*** mjturek has joined #openstack-dib14:56
*** mjturek has quit IRC15:05
*** mjturek has joined #openstack-dib15:05
*** mjturek has quit IRC15:33
*** mjturek has joined #openstack-dib15:34
*** andreas_s has quit IRC16:05
*** mjturek has quit IRC16:05
*** mjturek has joined #openstack-dib16:22
*** yolanda_ has joined #openstack-dib18:11
*** yolanda has quit IRC18:14
*** mjturek has quit IRC19:15
*** chhagarw has quit IRC19:47
*** abaindur has joined #openstack-dib20:40
abaindurhi, i'm trying to build the Octavia amphora disk image, and after some time it errors out with the following stacktrace:20:41
abaindurhttps://gist.github.com/xagent003/8f688f85c7ffdd6d09ff5c175a2f6975/edit20:41
abaindurhttps://imgur.com/a/8o5lUyl20:42
abaindurAny idea why? Someone in octavia channel suggested trying a larger size, so i tried with -s 4 and -s 8 and still same error20:42
abaindurnot that here i am using octavia on stable/pike, and i simply installed diskimage via a "pip install diskimage-builder", no version specified, and installed into system python20:43
abaindurnot = note*20:43
*** yolanda_ has quit IRC20:43
*** yolanda_ has joined #openstack-dib20:44
clarkbabaindur: can you paste a more complete disk image builder log?20:44
abaindurAdditionally, I do not see any OS branches on the diskimage github, and it isnt mentioned as a project here: https://releases.openstack.org/pike/index.html20:44
abaindurwhat release version of diskimage-builder corresponds to pike?20:45
clarkbdisk image builder isn't branched or released as part of openstack's coordinated releases20:45
abaindurso i tried to pip install it into the same venv as an installed octavia, and i hit pip incompatabilities:20:45
abainduroslo-messaging 5.30.3 has requirement tenacity>=3.2.1, but you'll have tenacity 2.0.0 which is incompatible.20:46
abaindurtaskflow 2.14.1 has requirement tenacity>=3.2.1, but you'll have tenacity 2.0.0 which is incompatible.20:46
abaindurso im assuming latest DIB cant be installed in same venv as an installed Pike octavia20:46
abaindurclarkb: do you need the *entire* console dump? I can re-run and save entire output20:46
clarkbabaindur: probably not the entire thing, but dib cleanup logs tend to be quit everbose and people often grab the tail end of the log and miss the actual cause of the fialure20:47
clarkbso asking the the whole thing is an easy way to ensure we have complete data20:47
abainduralright, let me re-run and tee it to a file20:47
abaindurand see if i can upload that20:47
*** yolanda has joined #openstack-dib20:53
*** yolanda_ has quit IRC20:55
*** abaindur has quit IRC20:59
*** yolanda_ has joined #openstack-dib20:59
*** yolanda has quit IRC21:02
*** abaindur has joined #openstack-dib21:13
*** vmlinuz has quit IRC21:16
abaindurclarkb: https://ufile.io/q9cq121:31
abaindurit was quite large to fit fully into gist21:31
abaindurlet me know if you have any concerns abt downloading the .log file21:32
clarkbit worked, I can see it21:33
clarkblooks like it ran cleanup.d successfully and is just going through its final steps.21:35
clarkbwhat is odd is that it runs kpartx -d on  the loop device after detaching it21:35
clarkbianw: ^ is that a known issue?21:35
ianwabaindur: you can always file a bug and attach something21:38
ianwbut to this issue ...21:38
abainduras mentioned, i am using octavia from stable/pike. I installed diskimage-builder via pip and it shows versio 2.15.121:39
abaindurNot sure if it matters here, but i dont have octavia installed on this machine. Just checked out the repo to get their diskimage-create.sh script and elements.21:40
abaindur[root@arjun ~]# uname -a21:40
abaindurLinux arjun 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux21:40
abaindur[root@arjun ~]# cat /etc/redhat-release21:40
abaindurCentOS Linux release 7.2.1511 (Core)21:40
johnsomThe only issue I can think of is if you didn't load the requirements.txt you might be missing a dependency python module.21:40
clarkbthat shouldn't matter fordib though, everything is run out of a chroot for the image build21:41
ianwi don't really see anything different in the unrolling than what we usually do, e.g. https://nb01.openstack.org/ubuntu-bionic-0000000165.log21:45
johnsomYeah, this is something new to me. It did get past cleanup.d, so it's likely a DIB issue. I wonder if the kpartx behavior is different on CentOS 7.  Our image gates and my builds are all on an Ubuntu instance.21:45
clarkbianw: johnsom perhaps a race? if loopdev cleans up quickly enough the kpartx would fail?21:45
clarkbat least I think you want to remove the partition mappings before detaching the device (as that is where the mappings come from)21:46
johnsomSo odd, in our periodic job I don't see that step: http://logs.openstack.org/periodic/git.openstack.org/openstack/octavia/master/publish-openstack-octavia-amphora-image-ubuntu/1116398/job-output.txt.gz#_2018-06-27_06_14_07_37763621:47
johnsomOh, there it is nevermind21:47
ianwabaindur: are you in a position to apply https://review.openstack.org/#/c/576876/ ?  it's pretty small, you could just hand apply the relevant bits21:47
ianwjust https://review.openstack.org/#/c/576876/4/diskimage_builder/block_device/level1/partitioning.py21:48
abaindurFYI i've ran this at least 6-7 times now, and it fails each time i21:48
ianwi wonder if it's the same issue yolanda saw21:48
johnsomianw That looks promising21:48
abaindurcan i just download the patch file and apply via patch?21:49
abainduri'll apply all the diffs21:50
ianwabaindur: most of it is just the test case, the active bits are just to the partitioning.py file21:50
abaindurok i applied just this diff https://review.openstack.org/#/c/576876/4/diskimage_builder/block_device/level1/partitioning.py22:01
abaindurre-running now22:01
ianwthanks22:03
abaindurianw: nope22:13
abaindursame22:13
abaindurhttps://ufile.io/on1ga22:14
abaindurI patched the file located at /usr/lib/python2.7/site-packages/diskimage_builder/block_device/level1/partitioning.py22:14
*** abaindur has quit IRC22:19
ianwhrm22:22
ianwabaindur: are you running with "-x" ?22:26
ianwi don't think so, we should be seeing output from the commands which is missing, and would be helpful22:28
*** abaindur has joined #openstack-dib22:33
abaindurianw: sorry my internet got disconnected shortly after i last msg'd22:34
abaindurI retried with that patch, and it still failed. I uploaded logs to https://ufile.io/on1ga22:34
abaindurclarkb: any other suggestions?22:35
clarkbabaindur: ianw mentioned that running with -x for extra debug tracing would be helpful while you were disconnected22:36
abaindurim assuming i'll have to add this manually somewhere in the octavis diskimage-create.sh script22:36
clarkbabaindur: it is an argument to the disk-image-create command22:37
abaindurright22:37
ianwabaindur: yep, that will be helpful, we're missing all the output from the actual call without it22:37
ianwit really should be the default22:38
abainduralright, thanks for the help. i'll have to try this later tonight about to head to a meeting22:41
ianwabaindur: np, please just open a bug in launchpad, and we can keep looking ... i'm also around, in .au tz, a ping here will usually find me :)22:42
*** pmannidi has joined #openstack-dib22:53
*** yolanda__ has joined #openstack-dib23:11
*** yolanda_ has quit IRC23:15
*** yolanda__ has quit IRC23:18
*** yolanda has joined #openstack-dib23:20
*** yolanda_ has joined #openstack-dib23:21
*** yolanda has quit IRC23:24
*** yolanda__ has joined #openstack-dib23:25
ianwclarkb: hmm, now you got me thinking about this kpartx / loopdev ordering23:26
clarkbianw: sorry :)23:26
ianwit's not explicitly covered in our unit tests, at least23:26
*** yolanda_ has quit IRC23:29
*** yolanda has joined #openstack-dib23:29
*** yolanda__ has quit IRC23:31
*** abaindur has quit IRC23:42
*** mjturek has joined #openstack-dib23:44
*** mjturek has quit IRC23:49
*** brault has quit IRC23:54

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