*** mjturek has quit IRC | 00:07 | |
*** yolanda_ has quit IRC | 00:16 | |
*** mjturek has joined #openstack-dib | 00:36 | |
*** mjturek has quit IRC | 00:50 | |
*** chhagarw has joined #openstack-dib | 02:12 | |
*** chhagarw has quit IRC | 03:13 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: Don't quote names with sgdisk https://review.openstack.org/578265 | 04:04 |
---|---|---|
*** hwoarang has quit IRC | 04:40 | |
*** chhagarw has joined #openstack-dib | 04:46 | |
*** amrith has quit IRC | 05:15 | |
*** hwoarang has joined #openstack-dib | 05:23 | |
*** amrith has joined #openstack-dib | 05:47 | |
*** amrith is now known as Guest2110 | 05:47 | |
*** yolanda_ has joined #openstack-dib | 05:47 | |
*** hwoarang has quit IRC | 06:06 | |
*** yolanda__ has joined #openstack-dib | 06:06 | |
*** hwoarang has joined #openstack-dib | 06:06 | |
*** andreas_s has joined #openstack-dib | 06:08 | |
*** yolanda_ has quit IRC | 06:09 | |
*** yolanda__ has quit IRC | 06:14 | |
*** yolanda__ has joined #openstack-dib | 06:30 | |
*** yolanda__ has quit IRC | 06:50 | |
*** yolanda__ has joined #openstack-dib | 06:53 | |
*** yolanda__ is now known as yolanda | 06:53 | |
*** andreas_s has quit IRC | 06:53 | |
*** andreas_s has joined #openstack-dib | 07:01 | |
*** andreas_s has quit IRC | 07:07 | |
*** andreas_s has joined #openstack-dib | 07:11 | |
*** andreas_s has quit IRC | 07:18 | |
*** andreas_s has joined #openstack-dib | 07:19 | |
*** andreas_s has quit IRC | 07:21 | |
*** andreas_s has joined #openstack-dib | 07:25 | |
*** brault has quit IRC | 07:30 | |
*** brault has joined #openstack-dib | 07:30 | |
*** andreas_s has quit IRC | 07:43 | |
*** andreas_s has joined #openstack-dib | 07:47 | |
*** andreas_s has quit IRC | 07:51 | |
*** andreas_s has joined #openstack-dib | 07:52 | |
*** andreas_s has quit IRC | 07:56 | |
openstackgerrit | Ian Wienand proposed openstack/diskimage-builder master: Don't quote names with sgdisk https://review.openstack.org/578265 | 08:10 |
*** andreas_s_ has joined #openstack-dib | 08:15 | |
*** andreas_s_ has quit IRC | 08:21 | |
*** andreas_s has joined #openstack-dib | 08:22 | |
*** andreas_s has quit IRC | 08:30 | |
*** andreas_s has joined #openstack-dib | 08:30 | |
*** andreas_s has quit IRC | 08:36 | |
*** andreas_s has joined #openstack-dib | 08:36 | |
*** andreas_s has quit IRC | 08:40 | |
*** andreas_s has joined #openstack-dib | 08:43 | |
openstackgerrit | Oliver Walsh proposed openstack/diskimage-builder master: WIP: Add DIB element to install NVIDIA GPU drivers https://review.openstack.org/573223 | 09:13 |
openstackgerrit | Merged openstack/diskimage-builder master: Add iscsi-boot element for CentOS images https://review.openstack.org/542708 | 09:54 |
*** pavel_V has quit IRC | 10:31 | |
*** chhagarw has quit IRC | 11:20 | |
*** mjturek has joined #openstack-dib | 13:08 | |
*** vmlinuz has joined #openstack-dib | 13:14 | |
*** chhagarw has joined #openstack-dib | 13:26 | |
*** vmlinuz has quit IRC | 13:45 | |
*** vmlinuz has joined #openstack-dib | 13:54 | |
*** vmlinuz has joined #openstack-dib | 13:54 | |
*** vmlinuz has quit IRC | 14:15 | |
*** vmlinuz has joined #openstack-dib | 14:33 | |
*** vmlinuz has joined #openstack-dib | 14:33 | |
*** mjturek has quit IRC | 14:41 | |
*** mjturek has joined #openstack-dib | 14:56 | |
*** mjturek has quit IRC | 15:05 | |
*** mjturek has joined #openstack-dib | 15:05 | |
*** mjturek has quit IRC | 15:33 | |
*** mjturek has joined #openstack-dib | 15:34 | |
*** andreas_s has quit IRC | 16:05 | |
*** mjturek has quit IRC | 16:05 | |
*** mjturek has joined #openstack-dib | 16:22 | |
*** yolanda_ has joined #openstack-dib | 18:11 | |
*** yolanda has quit IRC | 18:14 | |
*** mjturek has quit IRC | 19:15 | |
*** chhagarw has quit IRC | 19:47 | |
*** abaindur has joined #openstack-dib | 20:40 | |
abaindur | hi, i'm trying to build the Octavia amphora disk image, and after some time it errors out with the following stacktrace: | 20:41 |
abaindur | https://gist.github.com/xagent003/8f688f85c7ffdd6d09ff5c175a2f6975/edit | 20:41 |
abaindur | https://imgur.com/a/8o5lUyl | 20:42 |
abaindur | Any idea why? Someone in octavia channel suggested trying a larger size, so i tried with -s 4 and -s 8 and still same error | 20:42 |
abaindur | not 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 python | 20:43 |
abaindur | not = note* | 20:43 |
*** yolanda_ has quit IRC | 20:43 | |
*** yolanda_ has joined #openstack-dib | 20:44 | |
clarkb | abaindur: can you paste a more complete disk image builder log? | 20:44 |
abaindur | Additionally, 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.html | 20:44 |
abaindur | what release version of diskimage-builder corresponds to pike? | 20:45 |
clarkb | disk image builder isn't branched or released as part of openstack's coordinated releases | 20:45 |
abaindur | so i tried to pip install it into the same venv as an installed octavia, and i hit pip incompatabilities: | 20:45 |
abaindur | oslo-messaging 5.30.3 has requirement tenacity>=3.2.1, but you'll have tenacity 2.0.0 which is incompatible. | 20:46 |
abaindur | taskflow 2.14.1 has requirement tenacity>=3.2.1, but you'll have tenacity 2.0.0 which is incompatible. | 20:46 |
abaindur | so im assuming latest DIB cant be installed in same venv as an installed Pike octavia | 20:46 |
abaindur | clarkb: do you need the *entire* console dump? I can re-run and save entire output | 20:46 |
clarkb | abaindur: 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 fialure | 20:47 |
clarkb | so asking the the whole thing is an easy way to ensure we have complete data | 20:47 |
abaindur | alright, let me re-run and tee it to a file | 20:47 |
abaindur | and see if i can upload that | 20:47 |
*** yolanda has joined #openstack-dib | 20:53 | |
*** yolanda_ has quit IRC | 20:55 | |
*** abaindur has quit IRC | 20:59 | |
*** yolanda_ has joined #openstack-dib | 20:59 | |
*** yolanda has quit IRC | 21:02 | |
*** abaindur has joined #openstack-dib | 21:13 | |
*** vmlinuz has quit IRC | 21:16 | |
abaindur | clarkb: https://ufile.io/q9cq1 | 21:31 |
abaindur | it was quite large to fit fully into gist | 21:31 |
abaindur | let me know if you have any concerns abt downloading the .log file | 21:32 |
clarkb | it worked, I can see it | 21:33 |
clarkb | looks like it ran cleanup.d successfully and is just going through its final steps. | 21:35 |
clarkb | what is odd is that it runs kpartx -d on the loop device after detaching it | 21:35 |
clarkb | ianw: ^ is that a known issue? | 21:35 |
ianw | abaindur: you can always file a bug and attach something | 21:38 |
ianw | but to this issue ... | 21:38 |
abaindur | as mentioned, i am using octavia from stable/pike. I installed diskimage-builder via pip and it shows versio 2.15.1 | 21:39 |
abaindur | Not 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 -a | 21:40 |
abaindur | Linux 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/Linux | 21:40 |
abaindur | [root@arjun ~]# cat /etc/redhat-release | 21:40 |
abaindur | CentOS Linux release 7.2.1511 (Core) | 21:40 |
johnsom | The 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 |
clarkb | that shouldn't matter fordib though, everything is run out of a chroot for the image build | 21:41 |
ianw | i don't really see anything different in the unrolling than what we usually do, e.g. https://nb01.openstack.org/ubuntu-bionic-0000000165.log | 21:45 |
johnsom | Yeah, 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 |
clarkb | ianw: johnsom perhaps a race? if loopdev cleans up quickly enough the kpartx would fail? | 21:45 |
clarkb | at least I think you want to remove the partition mappings before detaching the device (as that is where the mappings come from) | 21:46 |
johnsom | So 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_377636 | 21:47 |
johnsom | Oh, there it is nevermind | 21:47 |
ianw | abaindur: are you in a position to apply https://review.openstack.org/#/c/576876/ ? it's pretty small, you could just hand apply the relevant bits | 21:47 |
ianw | just https://review.openstack.org/#/c/576876/4/diskimage_builder/block_device/level1/partitioning.py | 21:48 |
abaindur | FYI i've ran this at least 6-7 times now, and it fails each time i | 21:48 |
ianw | i wonder if it's the same issue yolanda saw | 21:48 |
johnsom | ianw That looks promising | 21:48 |
abaindur | can i just download the patch file and apply via patch? | 21:49 |
abaindur | i'll apply all the diffs | 21:50 |
ianw | abaindur: most of it is just the test case, the active bits are just to the partitioning.py file | 21:50 |
abaindur | ok i applied just this diff https://review.openstack.org/#/c/576876/4/diskimage_builder/block_device/level1/partitioning.py | 22:01 |
abaindur | re-running now | 22:01 |
ianw | thanks | 22:03 |
abaindur | ianw: nope | 22:13 |
abaindur | same | 22:13 |
abaindur | https://ufile.io/on1ga | 22:14 |
abaindur | I patched the file located at /usr/lib/python2.7/site-packages/diskimage_builder/block_device/level1/partitioning.py | 22:14 |
*** abaindur has quit IRC | 22:19 | |
ianw | hrm | 22:22 |
ianw | abaindur: are you running with "-x" ? | 22:26 |
ianw | i don't think so, we should be seeing output from the commands which is missing, and would be helpful | 22:28 |
*** abaindur has joined #openstack-dib | 22:33 | |
abaindur | ianw: sorry my internet got disconnected shortly after i last msg'd | 22:34 |
abaindur | I retried with that patch, and it still failed. I uploaded logs to https://ufile.io/on1ga | 22:34 |
abaindur | clarkb: any other suggestions? | 22:35 |
clarkb | abaindur: ianw mentioned that running with -x for extra debug tracing would be helpful while you were disconnected | 22:36 |
abaindur | im assuming i'll have to add this manually somewhere in the octavis diskimage-create.sh script | 22:36 |
clarkb | abaindur: it is an argument to the disk-image-create command | 22:37 |
abaindur | right | 22:37 |
ianw | abaindur: yep, that will be helpful, we're missing all the output from the actual call without it | 22:37 |
ianw | it really should be the default | 22:38 |
abaindur | alright, thanks for the help. i'll have to try this later tonight about to head to a meeting | 22:41 |
ianw | abaindur: 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-dib | 22:53 | |
*** yolanda__ has joined #openstack-dib | 23:11 | |
*** yolanda_ has quit IRC | 23:15 | |
*** yolanda__ has quit IRC | 23:18 | |
*** yolanda has joined #openstack-dib | 23:20 | |
*** yolanda_ has joined #openstack-dib | 23:21 | |
*** yolanda has quit IRC | 23:24 | |
*** yolanda__ has joined #openstack-dib | 23:25 | |
ianw | clarkb: hmm, now you got me thinking about this kpartx / loopdev ordering | 23:26 |
clarkb | ianw: sorry :) | 23:26 |
ianw | it's not explicitly covered in our unit tests, at least | 23:26 |
*** yolanda_ has quit IRC | 23:29 | |
*** yolanda has joined #openstack-dib | 23:29 | |
*** yolanda__ has quit IRC | 23:31 | |
*** abaindur has quit IRC | 23:42 | |
*** mjturek has joined #openstack-dib | 23:44 | |
*** mjturek has quit IRC | 23:49 | |
*** brault has quit IRC | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!