Tuesday, 2018-04-10

*** pmannidi has joined #openstack-dib00:10
*** mjturek has quit IRC00:19
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Don't only install python3-virtualenv  https://review.openstack.org/55987100:57
ianwgreghaynes: ^ one to look at00:58
greghayneshrmm00:59
greghaynesim a bit sad we ended up in a place where we have to support something different than distro defaults00:59
greghaynesbut it is what it is00:59
ianwgreghaynes: it's a bit of a mess, because you can't really split it into a v2 & v3 element, because they both want to own /usr/bin/pip / /usr/bin/virtualenv01:05
ianwwe have to do all that funky ordering in there to make sure /usr/bin/pip == v2 and then we have /usr/bin/pip301:05
clarkbnext pip release may make it worse too :/01:06
greghaynesyeah, maybe we can just wait a few years and then just ignore v2 on distros which dont package it ;)01:06
ianwclarkb: i'm not sure if this particular thing gets worse, because pip10 will only refuse to uninstall distutils installed packages, and i don't think the system virtualenv is?01:10
clarkbI think on a lot of systems it is01:11
clarkblike suse :/01:11
*** dhill__ has quit IRC01:12
*** dhill_ has joined #openstack-dib01:13
*** dhill_ has quit IRC01:14
*** dhill_ has joined #openstack-dib01:15
*** dhill_ has quit IRC01:17
ianwclarkb: yeah, in this case, i think we're ok ... /usr/lib/python2.7/dist-packages/virtualenv-15.0.1.egg-info/top_level.txt exists01:21
ianwhttp://paste.openstack.org/show/718773/01:21
ianwtonyb: mind a sanity check over https://review.openstack.org/#/c/559084/ ... touching the dhcp timeout thing again01:32
tonybianw: Hmm okay, I see what it's doinng but I need to think about why the existing timeout handling is inadequate and does this new code make the existing stuff obselete?01:35
ianwtonyb: my understanding was that the existing timeout kind of depends on the link not being there; while this is more a case of the link is up, but the dhclient won't get a response01:53
tonybYeah that makes sense.01:54
*** andreas_s has joined #openstack-dib02:32
openstackgerritIan Wienand proposed openstack/diskimage-builder master: Don't only install python3-virtualenv  https://review.openstack.org/55987102:34
*** andreas_s has quit IRC02:37
*** ADMINIBM has joined #openstack-dib03:50
*** ADMINIBM has quit IRC04:06
*** ADMINIBM has joined #openstack-dib04:07
*** strigazi has quit IRC04:11
*** strigazi has joined #openstack-dib04:14
*** chhagarw has joined #openstack-dib04:32
*** ADMINIBM has quit IRC04:50
*** ADMINIBM has joined #openstack-dib04:56
*** strigazi_ has joined #openstack-dib05:13
ADMINIBMHi, I want to build Ubuntu xenial 16.04 iso via DIB. Does DIB support local iso building?05:14
*** strigazi has quit IRC05:17
ianwADMINIBM: yes, but it's probably less used than generating a .qcow205:48
ianwthere is an iso element; afaik it's mostly used by ironic05:50
ADMINIBM@ianw that is ok, I have to just try if it creates a .img from iso, that too should be ok05:50
ADMINIBMoh05:50
ADMINIBMso cant be used in openstack directly05:50
ianwwhat do you want the image for?05:51
ADMINIBMFor Ubuntu on ppc64le env, my basic requirement is to automate OS installation and cloud init and copy image then to my storage disk, and use for deploys and other functions in a private cloud product05:52
ADMINIBMthus I was trying to use DIB05:52
ADMINIBMThe IaaS product is openstack based and supports KVM..that is where I installed virtualenv05:54
openstackgerritgreghaynes proposed openstack/diskimage-builder master: new diskimage-build command with config  https://review.openstack.org/55400205:54
openstackgerritgreghaynes proposed openstack/diskimage-builder master: Move fail early checks in to python  https://review.openstack.org/55546205:54
openstackgerritgreghaynes proposed openstack/diskimage-builder master: Move environment create/cleanup to python  https://review.openstack.org/55546305:54
ianwADMINIBM: so basically you want to customise and build an image, upload it into glance then boot that image for various testing?05:55
ADMINIBMyes, correct05:55
ianwin that case, i'd image you'd be better off with a .qcow2 or .raw image, rather than an iso05:56
ADMINIBMtill now we use iso for all Linux versions -Ubuntu,SLES and RHEL for ppc64 and build manually , OS install, cloud-init etc and then use the image06:00
ADMINIBMwe save off the .img06:00
ianw2018-04-10 05:16:02.819488 | controller | + tools/check_devstack_plugin.sh:sshintonode:43 :   [[ 5364449280 -lt 5364514816 ]]06:07
ianwurgh ... why is this 64mb out?06:07
ianwADMINIBM: perhaps you want to look at nodepool?  https://docs.openstack.org/infra/nodepool/06:09
ianwit does a very similar thing06:09
ADMINIBM@ianw : Nodepool uses Python 3.7 and doesnt support ppc6406:17
ADMINIBMso i dont think that can be used06:18
ianwADMINIBM: it does use python3 in the latest versions, that's true06:20
tonybADMINIBM: when you say ppc64 do you mean ppc64 or ppc64{le,el}06:20
ianwi think it could support ppc64 -- it doesn't really care underneath.  it just builds images using dib and uploads them to clouds06:20
ianwwe have it working with arm6406:20
ADMINIBMppc64le - power server based - HMC,Novalink and KVM06:21
ADMINIBM@tonyb06:21
tonybADMINIBM: okay that'll work (perhaps there are a few bugs) but ppc64 will not ;p06:21
ADMINIBMyou mean that -> implies DIB?06:22
ADMINIBMyes, I have come down to DIB after comparing with Oz,VeeWee and many other tools06:23
tonybADMINIBM: Yeah, I use DIB on ppc64le (mostly .rpm based distros) and it works for me06:23
ADMINIBMDIB was only one for ppc64le06:23
tonybYou may run into issues with *suse* as that isn't somethign that's used at all, but it shoudl work (with fixes)06:24
ADMINIBMI have to use for all linux versions - Ubuntu provides iso for ppc64le as well as cloud images .img06:24
ADMINIBMRHEL and SLES we only have .iso for ppc64le as cloud images support only x86_6406:24
ADMINIBMthat is why I am trying to find if DIB can be used with with iso06:25
tonybADMINIBM: I don't follow that statement.  RHEL has generic guest images for x86_64 and ppc64le (centos currently doesn't) but that's a different issue06:25
ADMINIBMwhere are ppc64le cloud-images for RHEL and SLES?06:26
tonybADMINIBM: if you have a RHEL subscription they06:26
ADMINIBMI saw on redhat site and suse sites and couldnt find06:26
tonyb'll show up in a similar place to the x86_64 ones06:26
tonybI have no idea about SLES (well *suse*06:27
ADMINIBMhmm.. I have checked there with license subscription06:27
tonybADMINIBM: okay06:27
tonybADMINIBM: but we can probably make forward progress with Ubuntu.06:27
ADMINIBMyes, opensuse has x86_64 and they tell to use SuSeStudio for sles06:28
tonybDo you have the command line you're using and the failure?06:28
ADMINIBMfor iso?06:28
ADMINIBMtill now I have only been able to create virtual env and then use DIB for .img cloud image of ubuntu 1804 to .qcow206:29
*** andreas_s has joined #openstack-dib06:29
tonybADMINIBM: okay so you want to start with the (ubuntu) cloudimg and customise it and then generate a .iso from the result?06:30
ADMINIBM(env) neo@neo160:~/dib/env/bin$ sudo DIB_RELEASE=bionic ./disk-image-create -a ppc64el -o ubuntu-bionic.qcow2 -x vm ubuntu-minimal06:30
tonybOh okay I see06:31
tonybADMINIBM: so try adding 'iso' after the ubuntu-minimal06:31
ADMINIBMI actually want to use .iso as input06:31
tonybOh now I'm confused06:32
tonybYou want to take an ubuntu install ISO and use DIB to generate a cusomised .qcow2?06:32
ADMINIBMFor Ubuntu on ppc64le env, my basic requirement is to automate OS installation and cloud init and copy image then to my storage disk, and use for deploys and other functions in a private cloud product06:32
ADMINIBMtill now all this is done manually06:32
ADMINIBMthat is why i want to use DIB06:33
tonybWhere does the ISO fit into that statement?06:33
tonybADMINIBM: Sorry I'm just not follwoing?06:33
ADMINIBMI can take the input as .img cloud image or .iso for Ubuntu as Canonical provides the .img for ppc64le06:34
ADMINIBMbut for rhel and sles I have to use input as .iso as no .img available for ppc64le AFAIK06:34
tonybADMINIBM: okay, well as I said I can't comment about anything to do with DIB and *suse*, but for both Ubuntu and RHEL you can start with a cloud image and use DIB to customise that (and I know that works on RHEL as I do it regularly)06:37
tonybSo given that06:37
ADMINIBMwhere do you get the cloud image for ppc64 for RHEL?06:38
tonybI believe that your problem statement is:06:38
tonybI'd like to start with the vendor provided cloud images and use DIB to customise them to generate a .XXX image that I can use as a golden master for my cloud product06:38
ADMINIBMhttp://cloud-images.ubuntu.com/ is for ubuntu ppc6406:38
tonybIs that correct?06:39
tonybIf so can you pick eith .qcow2 or .iso for .XXX and let me know06:39
ADMINIBMyes, its sort of correct - my actual statement is to automate image creation from iso on ppc6406:39
ADMINIBMfor all linux versions06:40
tonybADMINIBM: As I said before it'll show up in your subscriptions, you'll need to check you have the correct entitlements06:40
ADMINIBMok, then i will check on that , cause we do have a valid subscription06:40
tonybADMINIBM: okay so we're talking in circles.  I say one thing and then you reverse it and say I'm correct06:40
ADMINIBMno no, :)06:41
tonybI can't help you if we can't agree on what you're trying to achieve and what problem youre hitting06:41
ADMINIBMI could not find any ppc64le image for redhat06:41
tonybADMINIBM: okay please ignore that for now06:41
ADMINIBMnow that you are saying it exists, i will try to check with my license and vendor06:41
tonybADMINIBM: let's just focus on Canonical and Ubuntu06:41
ADMINIBMmy main aim is to automate OS installation and cloudinit , ssh ,etc type of customizations - that is how i researched and found DIB06:42
tonybOkay06:42
tonybDIB shoudl be able to help with that06:43
ADMINIBMand ofcourse all this on ppc64le06:43
ADMINIBMin openstack06:43
tonybYes I get that.06:43
tonybOkay.06:43
tonybSo I'll try again to state the aim.06:43
ADMINIBMhttps://review.openstack.org/#/c/453803/06:44
tonybYou'd like to use the vendor provided cloud image and customise it to generate a .qcow2 file for use with your cloud product06:45
ADMINIBMyes06:45
tonybADMINIBM: that review was wrong, please ignore it06:45
ADMINIBMelse if not then use the iso06:46
tonybNo!06:46
ADMINIBMcause iso is what I have for ppc64le for all RHEL/SLES/Ubuntu06:46
tonybADMINIBM: please restate the whole problem in similar language to what I used06:46
ADMINIBMYou'd like to use the vendor provided cloud image(if available for ppc64le) or the iso and customise it to generate a .qcow2 file for use with your cloud product06:47
tonybADMINIBM: okay so as we've said before using DIB from an ISO isn't an option.06:48
ADMINIBMoh06:48
ADMINIBMbut i did see the ISO element06:48
tonybADMINIBM: If you really only have ISOs then you'll need to use a virtualisation tool to run the installer and generate a cloud-image06:49
tonyb*then* use that with DIB to add the customisations06:49
tonybADMINIBM: that *generates* an ISO not consumes one06:49
ADMINIBMvirtualisation tool implies virt-install etc?06:50
tonybADMINIBM: https://mengxd.wordpress.com/2016/05/24/first-blog-post/ is an example of how to use the .iso to create a .qcow2 that is appropriate for DIB06:50
tonybYou'd be able to do somethign similar with any distro that supports automated installs06:50
ADMINIBMhmm ok06:51
ADMINIBMlet me chk06:51
tonybADMINIBM: yes virt-install is an example of somethign you can use06:51
ADMINIBMbut that doesnt help in installing OS manually06:51
tonybADMINIBM: I *think* that as RHEL and Ubuntu have pre-built guest images then you can just start with them06:51
ADMINIBMok, yes, i will try that first with DIB06:52
ADMINIBMalso will try to find rhel cloud images06:52
tonybADMINIBM: Yes it does, you can use virt-install or similar to go from an ISO to a .qcow2 without any input from a user06:52
tonybADMINIBM: I do it *many* times a day to create custom images on RHEL06:53
tonybFor my use case cloud-init is a problem rather then a help so I can't use the pre-built guest image06:53
tonybADMINIBM: Good luck, feel free to poke me tomorrow if you have a specific question06:54
ADMINIBMeven for us , we might need to install our own version of cloud-init if this preinstalled one doesnt work06:54
ADMINIBMthat is why iso path was more straightforward06:54
ADMINIBMsure, thanks, let me try today06:54
ADMINIBMif you dont use .img then how do you use DIB?06:55
ADMINIBM@tonyb: what do you mean by .rpm - you have a single one for all needed in an OS?06:56
tonybADMINIBM: I use DIB in 2 ways07:03
tonybADMINIBM: one to customise the rhel cloud guest07:03
tonybADMINIBM: and 2 to customise my image built from .ISO (well a network repo)07:04
tonybI used .rpm to diffrentiate from .deb as simple way to explain the set of distros07:04
ADMINIBMok, so you do use an .ISO with DIB07:05
ADMINIBMhow do you do that07:05
*** hashar has joined #openstack-dib07:07
tonybADMINIBM: No I do NOT use a .ISO with DIB, please reread what I said07:07
tonybanyway as I said If you have a specific question tomrrow I'll try to help07:08
ADMINIBMok, sure07:08
ADMINIBMthanks much!07:08
openstackgerritHoang Trung Hieu proposed openstack/diskimage-builder master: Add iscsi-boot element for CentOS images  https://review.openstack.org/54270807:20
*** ADMINIBM has quit IRC07:53
*** pmannidi has quit IRC08:17
*** jesusaur has quit IRC08:23
*** jesusaur has joined #openstack-dib08:27
*** ADMINIBM has joined #openstack-dib08:43
*** strigazi_ is now known as strigazi10:01
*** jesusaur has quit IRC10:02
*** ADMINIBM has quit IRC10:05
*** jesusaur has joined #openstack-dib10:15
*** strigazi is now known as strigaz_10:59
*** strigaz_ is now known as strigazi_10:59
*** strigazi_ is now known as strigazi10:59
*** dhill_ has joined #openstack-dib11:57
*** openstackgerrit has quit IRC12:04
*** vmlinuz has joined #openstack-dib12:07
*** vmlinuz has joined #openstack-dib12:07
*** ADMINIBM has joined #openstack-dib12:28
*** mjturek has joined #openstack-dib13:01
*** pbourke has joined #openstack-dib13:21
pbourkehi, I seem to be having trouble with dib running out of space on /run/user/0 - anyone familiar with this problem or know how I might increase the size?13:21
*** chhavi__ has joined #openstack-dib14:12
*** chhagarw has quit IRC14:15
*** andreas_s has quit IRC14:47
*** andreas_s has joined #openstack-dib14:47
*** andreas_s has quit IRC14:56
clarkbpbourke: /run/user/ are tmpfs dirs created by systemd for each user15:09
clarkbI've not run into this problem, rather than determining how to increase the size we may want to look into what is being written there and reducing the consumption15:09
clarkbpbourke: do you know what is failing to write there? I'm guessing it will complain about a specific file when saying it is out of space15:10
pbourkeclarkb: I finally got it building by specifying a custom image size... though a little unsure why its not able to determine that properly itself15:10
pbourkeits creating /dev/loop0 with a size of about 2.4G, but that hits 100% before it can install everything it needs15:11
pbourkethe above msg about /run/user is a red herring I think15:11
clarkbya it should build the image in a chroot then mount the image on loopback and write to it and that is done specifically to determine how big of a raw image is needed iirc15:12
clarkbpbourke: grepping for "Image size report" will show you the image sizing info that it determined15:19
clarkbin your logs15:19
*** ADMINIBM has quit IRC15:44
*** ADMINIBM has joined #openstack-dib16:07
*** andreas_s has joined #openstack-dib17:03
*** pbourke has quit IRC17:05
*** andreas_s has quit IRC17:16
*** andreas_s has joined #openstack-dib17:21
*** andreas_s has quit IRC17:36
*** pbourke has joined #openstack-dib18:19
*** mjturek has quit IRC18:30
ianwi think the gate is officially broken?19:07
ianwhas anything passed lately?19:07
ianw2018-04-10 13:52:06.550726 | controller | + tools/check_devstack_plugin.sh:sshintonode:43 :   [[ 5364449280 -lt 5364514816 ]]19:09
ianwhttp://logs.openstack.org/84/559084/1/check/nodepool-functional-py35-ubuntu-src/80716f7/job-output.txt.gz#_2018-04-10_13_52_06_55072619:10
ianw2018-04-10 08:11:27.994677 | controller | + tools/check_devstack_plugin.sh:sshintonode:43 :   [[ 5364449280 -lt 5364514816 ]]19:11
ianwhttp://logs.openstack.org/08/542708/6/check/nodepool-functional-py35-ubuntu-src/512262a/job-output.txt.gz#_2018-04-10_08_11_27_99467719:11
ianw2018-04-10 05:16:02.819488 | controller | + tools/check_devstack_plugin.sh:sshintonode:43 :   [[ 5364449280 -lt 5364514816 ]]19:12
ianwhttp://logs.openstack.org/71/559871/2/check/nodepool-functional-py35-ubuntu-src/3658f98/job-output.txt.gz#_2018-04-10_05_16_02_81948819:13
*** andreas_s has joined #openstack-dib19:48
*** pbourke has quit IRC19:50
*** andreas_s has quit IRC19:53
ianwpabelanger / clarkb: ^ any particular thoughts on why suddenly we're 64mb short on the growroot test for trusty?20:12
clarkbianw: nothing immediately comes to mind20:13
clarkbianw: its all a single partition right so /boot or similar isn't eating into that space?20:13
ianwclarkb: yeah, no boot, we already have a bunch of slop space for the mbr section but just suddenly we've lost more space :/20:19
clarkbcould it be alignment problem?20:20
clarkbthough I'd expect a few kb for that based on block sizese20:20
*** VisBits has quit IRC20:27
*** chhavi__ has quit IRC20:29
*** ADMINIBM has quit IRC20:29
ianwi dunno, maybe it does some sort of modulo maths?  i guess all we can do is modify the slop space more20:30
*** vmlinuz has quit IRC21:00
*** hashar has quit IRC21:08
*** dhill_ has quit IRC23:06
*** dhill_ has joined #openstack-dib23:09
ianwok, lets see if we can get the gate moving again23:44
ianwthe smaller size check is in nodepool now23:44

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