Re: [Openstack] File injection support

2012-07-13 Thread Mark Moseley
On Tue, Jun 12, 2012 at 8:20 AM, Pádraig Brady p...@draigbrady.com wrote: On 06/12/2012 04:07 PM, Fredric Morenius wrote: From: Scott Moser [mailto:ssmos...@gmail.com] On Behalf Of Scott Moser Sent: den 11 juni 2012 23:16 ...Without digging around on older versions of OS's and their included

Re: [Openstack] File injection support

2012-07-13 Thread Pádraig Brady
On 07/14/2012 12:09 AM, Mark Moseley wrote: On Tue, Jun 12, 2012 at 8:20 AM, Pádraig Brady p...@draigbrady.com wrote: On 06/12/2012 04:07 PM, Fredric Morenius wrote: From: Scott Moser [mailto:ssmos...@gmail.com] On Behalf Of Scott Moser Sent: den 11 juni 2012 23:16 ...Without digging around

Re: [Openstack] File injection support

2012-07-13 Thread Eric Windisch
On Friday, July 13, 2012 at 20:35 PM, Pádraig Brady wrote: More interesting though, and what might be of use to other people, the kpartx -a calls get run and then the code in nova/virt/disk/mount.py immediately checks for whether or not the newly created /dev/mapper/nbdXXpX

Re: [Openstack] File injection support

2012-06-12 Thread Pádraig Brady
On 06/11/2012 10:16 PM, Scott Moser wrote: Without digging around on older versions of OS's and their included kernel/udev/kpartx i'd have to say that from your message above, and my testing that running 'kpartx' is no longer necessary. That can reasonably be expected to be created by the

Re: [Openstack] File injection support

2012-06-12 Thread Pádraig Brady
On 06/12/2012 04:07 PM, Fredric Morenius wrote: From: Scott Moser [mailto:ssmos...@gmail.com] On Behalf Of Scott Moser Sent: den 11 juni 2012 23:16 ...Without digging around on older versions of OS's and their included kernel/udev/kpartx i'd have to say that from your message above, and

Re: [Openstack] File injection support

2012-06-11 Thread Fredric Morenius
+fredric.morenius=ericsson@lists.launchpad.net] On Behalf Of Vishvananda Ishaya Sent: den 10 juni 2012 22:22 To: Pádraig Brady Cc: igor.lask...@gmail.com; openstack Subject: Re: [Openstack] File injection support On Jun 8, 2012, at 9:03 AM, Pádraig Brady wrote: $ qemu-img info cirros-0.3.0-x86_64

Re: [Openstack] File injection support

2012-06-11 Thread Scott Moser
On Mon, 11 Jun 2012, Fredric Morenius wrote: Hello again, I did some further tests on this issue with the qcow2 image, the qcow2 image converted to raw and the _blank (raw) image from the UEC tar archive. I loaded nbd with $ sudo modprobe nbd max_part=8 *** qcow2 image *** $ k$

Re: [Openstack] File injection support

2012-06-10 Thread Vishvananda Ishaya
On Jun 8, 2012, at 9:03 AM, Pádraig Brady wrote: $ qemu-img info cirros-0.3.0-x86_64-disk.img image: cirros-0.3.0-x86_64-disk.img file format: qcow2 virtual size: 39M (41126400 bytes) disk size: 11M cluster_size: 65536 $ sudo qemu-nbd -c /dev/nbd15 $PWD/cirros-0.3.0-x86_64-disk.img $ ls

Re: [Openstack] File injection support

2012-06-08 Thread Igor Laskovy
-Original Message- From: Pádraig Brady [mailto:p...@draigbrady.com] Sent: den 30 maj 2012 18:03 To: Fredric Morenius Cc: openstack; igor.lask...@gmail.com Subject: Re: [Openstack] File injection support On 05/30/2012 03:47 PM, Fredric Morenius wrote: Hello Pádraig, I am also

Re: [Openstack] File injection support

2012-06-08 Thread Pádraig Brady
On 06/08/2012 09:20 AM, Fredric Morenius wrote: Hello All, An update on the use of the qemu-nbd/kpartx based solution to inject files into VM images: After some more testing it has turned out that injection into the UEC version of CirrOS (this:

Re: [Openstack] File injection support

2012-06-08 Thread Scott Moser
On Fri, 8 Jun 2012, Pádraig Brady wrote: On 06/08/2012 09:20 AM, Fredric Morenius wrote: Hello All, An update on the use of the qemu-nbd/kpartx based solution to inject files into VM images: After some more testing it has turned out that injection into the UEC version of CirrOS

Re: [Openstack] File injection support

2012-06-08 Thread Scott Moser
On Fri, 8 Jun 2012, Scott Moser wrote: On Fri, 8 Jun 2012, Pádraig Brady wrote: On 06/08/2012 09:20 AM, Fredric Morenius wrote: Hello All, An update on the use of the qemu-nbd/kpartx based solution to inject files into VM images: After some more testing it has turned out

Re: [Openstack] File injection support

2012-06-08 Thread Pádraig Brady
On 06/08/2012 04:35 PM, Scott Moser wrote: On Fri, 8 Jun 2012, Pádraig Brady wrote: On 06/08/2012 09:20 AM, Fredric Morenius wrote: Hello All, An update on the use of the qemu-nbd/kpartx based solution to inject files into VM images: After some more testing it has turned out that

Re: [Openstack] File injection support

2012-05-30 Thread Fredric Morenius
Of Pádraig Brady Sent: den 30 maj 2012 01:22 To: Nicolae Paladi Cc: openstack Subject: Re: [Openstack] File injection support On 05/29/2012 07:35 PM, Nicolae Paladi wrote: Hello, I am looking for more information about file injection support in OpenStack and find it increasingly inconsistent

Re: [Openstack] File injection support

2012-05-30 Thread Scott Moser
On Wed, 30 May 2012, Fredric Morenius wrote: Hello Pádraig, I am also trying to get file injection to work in Essex, but have run into some issues, as stated here: https://answers.launchpad.net/nova/+question/198878 The image I am launching is a simple bare container qcow2 image (CirrOS,

Re: [Openstack] File injection support

2012-05-30 Thread Pádraig Brady
On 05/30/2012 03:47 PM, Fredric Morenius wrote: Hello Pádraig, I am also trying to get file injection to work in Essex, but have run into some issues, as stated here: https://answers.launchpad.net/nova/+question/198878 Igor Laskovy also had that device-mapper: resume ioctl failed: issue

Re: [Openstack] File injection support

2012-05-29 Thread Matt Joyce
https://help.ubuntu.com/community/CloudInit Might want to check this little beastie out. Folks using kvm seem to end up here for certain use cases. -Matt On Tue, May 29, 2012 at 11:35 AM, Nicolae Paladi n.pal...@gmail.com wrote: Hello, I am looking for more information about file injection

Re: [Openstack] File injection support

2012-05-29 Thread Pádraig Brady
On 05/29/2012 07:35 PM, Nicolae Paladi wrote: Hello, I am looking for more information about file injection support in OpenStack and find it increasingly inconsistent and incomplete. I have several questions: * This wiki article (http://wiki.openstack.org/HypervisorSupportMatrix)