Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-30 Thread Jean-Daniel Bonnetot
Hi Daniel,

For now (IceHouse), it's not possible to boot from iso and attach volume
after boot. Libvirt present ISO disk via an IDE controller (/dev/hda)
and new volume try to be added as IDE too (/dev/hdb).

Do you mean that with the new block device mapping code, we will be able
to boot from ISO (/dev/hda) and add a new SATA volume (/dev/sda)?

-- 
Jean-Daniel

 On Mon, Jul 28, 2014 at 09:30:24AM -0700, Vishvananda Ishaya wrote:
  I think we should discuss adding/changing this functionality. I have had
  many new users assume that booting from an iso image would give them a
  root drive which they could snapshot. I was hoping that the new block
  device mapping code would allow something like this, but unfortunately
  there isn’t a way to do it there either. You can boot a flavor with an
  ephemeral drive, but there is no command to snapshot secondary drives.


 The new block device mapping code is intended to ultimately allow any
 disk configuration you can imagine, so if a desirable setup with CDROM
 vs disks does not work, do file a bug about this because we should
 definitely address it.

 Regards,
 Daniel
 --
 |: http://berrange.com  -o-
http://www.flickr.com/photos/dberrange/ :|
 |: http://libvirt.org  -o-
http://virt-manager.org :|
 |: http://autobuild.org   -o-
http://search.cpan.org/~danberr/ :|
 |: http://entangle-photo.org   -o-
http://live.gnome.org/gtk-vnc :|

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-29 Thread Daniel P. Berrange
On Mon, Jul 28, 2014 at 09:30:24AM -0700, Vishvananda Ishaya wrote:
 I think we should discuss adding/changing this functionality. I have had
 many new users assume that booting from an iso image would give them a
 root drive which they could snapshot. I was hoping that the new block
 device mapping code would allow something like this, but unfortunately
 there isn’t a way to do it there either. You can boot a flavor with an
 ephemeral drive, but there is no command to snapshot secondary drives.

The new block device mapping code is intended to ultimately allow any
disk configuration you can imagine, so if a desirable setup with CDROM
vs disks does not work, do file a bug about this because we should
definitely address it. 

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-29 Thread Maksym Lobur
Hi Daniel,

Thanks for the feedback. I have two questions:
1. Is it available in Havana?
2. Is it possible to to say that the glance image should be fetched to a
CDROM device (and disk file named 'iso'), and the root disk should be
created blank according to the flavor settings (disk file named 'disk')

Best regards,
Max Lobur,
OpenStack Developer, Mirantis, Inc.

Mobile: +38 (093) 665 14 28
Skype: max_lobur

38, Lenina ave. Kharkov, Ukraine
www.mirantis.com
www.mirantis.ru


On Tue, Jul 29, 2014 at 2:03 AM, Daniel P. Berrange berra...@redhat.com
wrote:

 On Mon, Jul 28, 2014 at 09:30:24AM -0700, Vishvananda Ishaya wrote:
  I think we should discuss adding/changing this functionality. I have had
  many new users assume that booting from an iso image would give them a
  root drive which they could snapshot. I was hoping that the new block
  device mapping code would allow something like this, but unfortunately
  there isn’t a way to do it there either. You can boot a flavor with an
  ephemeral drive, but there is no command to snapshot secondary drives.

 The new block device mapping code is intended to ultimately allow any
 disk configuration you can imagine, so if a desirable setup with CDROM
 vs disks does not work, do file a bug about this because we should
 definitely address it.

 Regards,
 Daniel
 --
 |: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/
 :|
 |: http://libvirt.org  -o- http://virt-manager.org
 :|
 |: http://autobuild.org   -o- http://search.cpan.org/~danberr/
 :|
 |: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc
 :|

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-29 Thread Nikola Đipanov
On 07/29/2014 11:03 AM, Daniel P. Berrange wrote:
 On Mon, Jul 28, 2014 at 09:30:24AM -0700, Vishvananda Ishaya wrote:
 I think we should discuss adding/changing this functionality. I have had
 many new users assume that booting from an iso image would give them a
 root drive which they could snapshot. I was hoping that the new block
 device mapping code would allow something like this, but unfortunately
 there isn’t a way to do it there either. You can boot a flavor with an
 ephemeral drive, but there is no command to snapshot secondary drives.
 
 The new block device mapping code is intended to ultimately allow any
 disk configuration you can imagine, so if a desirable setup with CDROM
 vs disks does not work, do file a bug about this because we should
 definitely address it. 
 

There is a blueprint for this - and it would also provide what Vish
mentioned elsewhere on the thread (having a root drive that you can
snapshot) [1]. Sadly - I never found the time to start this work,
although there seems to be interested people from time to time - no one
has picked it up either (hint, hint).

If someone does - I'll be super happy to review it!

N.

[1] https://blueprints.launchpad.net/nova/+spec/libvirt-image-to-local-bdm

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-28 Thread Vishvananda Ishaya
I think we should discuss adding/changing this functionality. I have had many 
new users assume that booting from an iso image would give them a root drive 
which they could snapshot. I was hoping that the new block device mapping code 
would allow something like this, but unfortunately there isn’t a way to do it 
there either. You can boot a flavor with an ephemeral drive, but there is no 
command to snapshot secondary drives.

Vish

On Jul 25, 2014, at 4:22 PM, Maksym Lobur mlo...@mirantis.com wrote:

 Hi Vish!
 
 Appreciate your feedback! Are there some significant pitfalls that forced 
 Nova team to decide that? 
 
 Currently I'm testing my local nova modifications to get real boot from ISO 
 functionality like described in the spec. I'm fetching ISO image from glance 
 into the separate file under the instances/uuid/ dir, attaching it as a CDROM 
 and boot from it. I also do a blank root drive 'disk' which I use to install 
 OS to.
 
 Are there any things require extra attention? Any pitfalls in such an 
 approach?
 
 Best regards,
 Max Lobur,
 OpenStack Developer, Mirantis, Inc.
 
 Mobile: +38 (093) 665 14 28
 Skype: max_lobur
 
 38, Lenina ave. Kharkov, Ukraine
 www.mirantis.com
 www.mirantis.ru
 
 
 On Tue, Jul 22, 2014 at 8:57 AM, Vishvananda Ishaya vishvana...@gmail.com 
 wrote:
 This is somewhat confusing, but long ago the decision was made that booting 
 from an ISO image should use the ISO as a root drive. This means that it is 
 only really useful for things like live cds. I believe you could use the new 
 block device mapping code to create an instance that boots from an iso and 
 has an ephemeral drive as well but I haven’t tested this.
 
 Vish
 
 On Jul 22, 2014, at 7:57 AM, Maksym Lobur mlo...@mirantis.com wrote:
 
 Hi Folks,
 
 Could someone please share his experience with Nova Boot from ISO feature 
 [1]. 
 
 We test it on Havana + KVM, uploaded the image with DISK_FORMAT set to 
 'iso'. Windows deployment does not happen. The VM has two volumes: one is 
 config-2 (CDFS, ~400Kb, don't know what that is); and the second one is our 
 flavor volume (80Gb). The windows ISO contents (about 500Mb) for some reason 
 are inside a flavor volume instead of separate CD drive.
 
 So far I found only two patches for nova: vmware [2] and Xen [3]. 
 Does it work with KVM? Maybe some specific nova configuration required for 
 KVM.
 
 [1] https://wiki.openstack.org/wiki/BootFromISO
 [2] https://review.openstack.org/#/c/63084/
 [3] https://review.openstack.org/#/c/38650/
 
 
 Thanks beforehand!
 
 Max Lobur,
 OpenStack Developer, Mirantis, Inc.
 
 Mobile: +38 (093) 665 14 28
 Skype: max_lobur
 
 38, Lenina ave. Kharkov, Ukraine
 www.mirantis.com
 www.mirantis.ru
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-28 Thread Alessandro Pilotti
Hi guys,

In the Hyper-V driver camp we waited to add the boot from ISO feature because 
of this issue.

Booting from ISO w/o local storage is almost useless for most scenarios.

It'd be great if we could reach consensus on this and propose some consistent 
BPs for all supported drivers in early K-1.

Thanks,

Alessandro

On 28.07.2014, at 19:37, Vishvananda Ishaya 
vishvana...@gmail.commailto:vishvana...@gmail.com wrote:

I think we should discuss adding/changing this functionality. I have had many 
new users assume that booting from an iso image would give them a root drive 
which they could snapshot. I was hoping that the new block device mapping code 
would allow something like this, but unfortunately there isn’t a way to do it 
there either. You can boot a flavor with an ephemeral drive, but there is no 
command to snapshot secondary drives.

Vish

On Jul 25, 2014, at 4:22 PM, Maksym Lobur 
mlo...@mirantis.commailto:mlo...@mirantis.com wrote:

Hi Vish!

Appreciate your feedback! Are there some significant pitfalls that forced Nova 
team to decide that?

Currently I'm testing my local nova modifications to get real boot from ISO 
functionality like described in the spec. I'm fetching ISO image from glance 
into the separate file under the instances/uuid/ dir, attaching it as a CDROM 
and boot from it. I also do a blank root drive 'disk' which I use to install OS 
to.

Are there any things require extra attention? Any pitfalls in such an approach?

Best regards,
Max Lobur,
OpenStack Developer, Mirantis, Inc.

Mobile: +38 (093) 665 14 28
Skype: max_lobur

38, Lenina ave. Kharkov, Ukraine
www.mirantis.comhttp://www.mirantis.com/
www.mirantis.ruhttp://www.mirantis.ru/


On Tue, Jul 22, 2014 at 8:57 AM, Vishvananda Ishaya 
vishvana...@gmail.commailto:vishvana...@gmail.com wrote:
This is somewhat confusing, but long ago the decision was made that booting 
from an ISO image should use the ISO as a root drive. This means that it is 
only really useful for things like live cds. I believe you could use the new 
block device mapping code to create an instance that boots from an iso and has 
an ephemeral drive as well but I haven’t tested this.

Vish

On Jul 22, 2014, at 7:57 AM, Maksym Lobur 
mlo...@mirantis.commailto:mlo...@mirantis.com wrote:

Hi Folks,

Could someone please share his experience with Nova Boot from ISO feature [1].

We test it on Havana + KVM, uploaded the image with DISK_FORMAT set to 'iso'. 
Windows deployment does not happen. The VM has two volumes: one is config-2 
(CDFS, ~400Kb, don't know what that is); and the second one is our flavor 
volume (80Gb). The windows ISO contents (about 500Mb) for some reason are 
inside a flavor volume instead of separate CD drive.

So far I found only two patches for nova: vmware [2] and Xen [3].
Does it work with KVM? Maybe some specific nova configuration required for KVM.

[1] https://wiki.openstack.org/wiki/BootFromISO
[2] https://review.openstack.org/#/c/63084/
[3] https://review.openstack.org/#/c/38650/


Thanks beforehand!

Max Lobur,
OpenStack Developer, Mirantis, Inc.

Mobile: +38 (093) 665 14 28tel:%2B38%20%28093%29%20665%2014%2028
Skype: max_lobur

38, Lenina ave. Kharkov, Ukraine
www.mirantis.comhttp://www.mirantis.com/
www.mirantis.ruhttp://www.mirantis.ru/
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-28 Thread Maksym Lobur
Vish,

Exactly. Snapshots is the main reason why I started to modify Nova.

There's a high probability that we will contribute our work to Nova nearest
time. Meanwhile I'm ready to participate in all the discussions.

Best regards,
Max Lobur,
OpenStack Developer, Mirantis, Inc.

Mobile: +38 (093) 665 14 28
Skype: max_lobur

38, Lenina ave. Kharkov, Ukraine
www.mirantis.com
www.mirantis.ru


On Mon, Jul 28, 2014 at 10:02 AM, Alessandro Pilotti 
apilo...@cloudbasesolutions.com wrote:

  Hi guys,

  In the Hyper-V driver camp we waited to add the boot from ISO feature
 because of this issue.

  Booting from ISO w/o local storage is almost useless for most scenarios.

  It'd be great if we could reach consensus on this and propose some
 consistent BPs for all supported drivers in early K-1.

  Thanks,

  Alessandro

 On 28.07.2014, at 19:37, Vishvananda Ishaya vishvana...@gmail.com
 wrote:

  I think we should discuss adding/changing this functionality. I have had
 many new users assume that booting from an iso image would give them a root
 drive which they could snapshot. I was hoping that the new block device
 mapping code would allow something like this, but unfortunately there isn’t
 a way to do it there either. You can boot a flavor with an ephemeral drive,
 but there is no command to snapshot secondary drives.

  Vish

  On Jul 25, 2014, at 4:22 PM, Maksym Lobur mlo...@mirantis.com wrote:

  Hi Vish!

  Appreciate your feedback! Are there some significant pitfalls that
 forced Nova team to decide that?

  Currently I'm testing my local nova modifications to get real boot from
 ISO functionality like described in the spec. I'm fetching ISO image from
 glance into the separate file under the instances/uuid/ dir, attaching it
 as a CDROM and boot from it. I also do a blank root drive 'disk' which I
 use to install OS to.

  Are there any things require extra attention? Any pitfalls in such an
 approach?

  Best regards,
 Max Lobur,
 OpenStack Developer, Mirantis, Inc.

  Mobile: +38 (093) 665 14 28
 Skype: max_lobur

  38, Lenina ave. Kharkov, Ukraine
 www.mirantis.com
 www.mirantis.ru


 On Tue, Jul 22, 2014 at 8:57 AM, Vishvananda Ishaya vishvana...@gmail.com
  wrote:

 This is somewhat confusing, but long ago the decision was made that
 booting from an ISO image should use the ISO as a root drive. This means
 that it is only really useful for things like live cds. I believe you could
 use the new block device mapping code to create an instance that boots from
 an iso and has an ephemeral drive as well but I haven’t tested this.

  Vish

   On Jul 22, 2014, at 7:57 AM, Maksym Lobur mlo...@mirantis.com wrote:

Hi Folks,

  Could someone please share his experience with Nova Boot from ISO
 feature [1].

  We test it on Havana + KVM, uploaded the image with DISK_FORMAT set to
 'iso'. Windows deployment does not happen. The VM has two volumes: one
 is config-2 (CDFS, ~400Kb, don't know what that is); and the second one is
 our flavor volume (80Gb). The windows ISO contents (about 500Mb) for
 some reason are inside a flavor volume instead of separate CD drive.

  So far I found only two patches for nova: vmware [2] and Xen [3].
 Does it work with KVM? Maybe some specific nova configuration required
 for KVM.

  [1] https://wiki.openstack.org/wiki/BootFromISO
 [2] https://review.openstack.org/#/c/63084/
 [3] https://review.openstack.org/#/c/38650/


  Thanks beforehand!

 Max Lobur,
 OpenStack Developer, Mirantis, Inc.

  Mobile: +38 (093) 665 14 28
 Skype: max_lobur

  38, Lenina ave. Kharkov, Ukraine
 www.mirantis.com
 www.mirantis.ru
   ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


  ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


   ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Boot from ISO feature status

2014-07-25 Thread Maksym Lobur
Hi Vish!

Appreciate your feedback! Are there some significant pitfalls that forced
Nova team to decide that?

Currently I'm testing my local nova modifications to get real boot from ISO
functionality like described in the spec. I'm fetching ISO image from
glance into the separate file under the instances/uuid/ dir, attaching it
as a CDROM and boot from it. I also do a blank root drive 'disk' which I
use to install OS to.

Are there any things require extra attention? Any pitfalls in such an
approach?

Best regards,
Max Lobur,
OpenStack Developer, Mirantis, Inc.

Mobile: +38 (093) 665 14 28
Skype: max_lobur

38, Lenina ave. Kharkov, Ukraine
www.mirantis.com
www.mirantis.ru


On Tue, Jul 22, 2014 at 8:57 AM, Vishvananda Ishaya vishvana...@gmail.com
wrote:

 This is somewhat confusing, but long ago the decision was made that
 booting from an ISO image should use the ISO as a root drive. This means
 that it is only really useful for things like live cds. I believe you could
 use the new block device mapping code to create an instance that boots from
 an iso and has an ephemeral drive as well but I haven’t tested this.

 Vish

 On Jul 22, 2014, at 7:57 AM, Maksym Lobur mlo...@mirantis.com wrote:

 Hi Folks,

 Could someone please share his experience with Nova Boot from ISO
 feature [1].

 We test it on Havana + KVM, uploaded the image with DISK_FORMAT set to
 'iso'. Windows deployment does not happen. The VM has two volumes: one is
 config-2 (CDFS, ~400Kb, don't know what that is); and the second one is
 our flavor volume (80Gb). The windows ISO contents (about 500Mb) for some
 reason are inside a flavor volume instead of separate CD drive.

 So far I found only two patches for nova: vmware [2] and Xen [3].
 Does it work with KVM? Maybe some specific nova configuration required for
 KVM.

 [1] https://wiki.openstack.org/wiki/BootFromISO
 [2] https://review.openstack.org/#/c/63084/
 [3] https://review.openstack.org/#/c/38650/


 Thanks beforehand!

 Max Lobur,
 OpenStack Developer, Mirantis, Inc.

 Mobile: +38 (093) 665 14 28
 Skype: max_lobur

 38, Lenina ave. Kharkov, Ukraine
 www.mirantis.com
 www.mirantis.ru
  ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Nova] Boot from ISO feature status

2014-07-22 Thread Maksym Lobur
Hi Folks,

Could someone please share his experience with Nova Boot from ISO feature
[1].

We test it on Havana + KVM, uploaded the image with DISK_FORMAT set to
'iso'. Windows deployment does not happen. The VM has two volumes: one is
config-2 (CDFS, ~400Kb, don't know what that is); and the second one is
our flavor volume (80Gb). The windows ISO contents (about 500Mb) for some
reason are inside a flavor volume instead of separate CD drive.

So far I found only two patches for nova: vmware [2] and Xen [3].
Does it work with KVM? Maybe some specific nova configuration required for
KVM.

[1] https://wiki.openstack.org/wiki/BootFromISO
[2] https://review.openstack.org/#/c/63084/
[3] https://review.openstack.org/#/c/38650/


Thanks beforehand!

Max Lobur,
OpenStack Developer, Mirantis, Inc.

Mobile: +38 (093) 665 14 28
Skype: max_lobur

38, Lenina ave. Kharkov, Ukraine
www.mirantis.com
www.mirantis.ru
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev