Ask Your Question

Doude's profile - activity

2016-05-03 18:34:25 -0600 received badge  Nice Answer (source)
2014-04-14 08:57:20 -0600 received badge  Supporter (source)
2014-04-14 08:46:50 -0600 received badge  Teacher (source)
2014-04-14 08:41:23 -0600 answered a question add a public IP subnet to a network

You need to add an interface from the existing router 'ovh' to that new subnet. An interfaces's router is associated to a subnet through a port [1]. It's not related to a network which could contains more thant one subnet [2].

You can list router's interfaces with that command:

$ neutron port-list --device_id <router_id> --device_owner network:router_interface
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                       |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| 0664b64f-8383-4073-980a-e9b18249492e |      | fa:16:3e:61:50:33 | {"subnet_id": "66789194-9b45-4b79-9e3d-cd28fcb76d9b", "ip_address": "10.0.0.1"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+

You can attach a router onto a subnet in two ways:

  1. specify the subnet ID then the subnet's gateway ip address is used to create the router interface
  2. otherwise, specify a port ID then the IP address associated with the port is used for creating the router interface

[1] Third line : http://docs.openstack.org/api/opensta...
[2] http://docs.openstack.org/api/opensta...
[3] http://docs.openstack.org/api/opensta...

2013-10-01 19:50:04 -0600 received badge  Taxonomist
2013-05-20 05:21:53 -0600 commented answer Create VM image from an ISO containing installation

When it's finish, I can generate/upload this new image to Glance to use it after.

2013-05-20 05:21:49 -0600 commented answer Create VM image from an ISO containing installation

But it's not what I'm looking for. I'd like to use the OpenStack cloud resources to boot and generate my own image. So I need to boot my ISO installer from OpenStack and then use the attached disks to installed the system.

2013-05-20 05:20:43 -0600 commented answer Create VM image from an ISO containing installation

Hi,

Thanks for the link. I think this new guide "VM Image Guide" is inspired by the pages of the OpenStack Compute Administration Manual.

2013-05-20 05:20:13 -0600 answered a question Create VM image from an ISO containing installation

Hi,

Thanks for the link. I think this new guide "VM Image Guide" is inspired by the pages of the OpenStack Compute Administration Manual.

But it's not what I'm looking for. I'd like to use the OpenStack cloud resources to boot and generate my own image. So I need to boot my ISO installer from OpenStack and then use the attached disks to installed the system. When it's finish, I can generate/upload this new image to Glance to use it after.

2013-05-15 03:29:44 -0600 received badge  Famous Question (source)
2013-05-13 03:58:12 -0600 received badge  Good Question (source)
2013-05-07 08:36:36 -0600 received badge  Nice Question (source)
2013-05-07 08:35:00 -0600 received badge  Student (source)
2013-05-07 08:34:51 -0600 received badge  Notable Question (source)
2013-05-02 01:26:25 -0600 received badge  Popular Question (source)
2013-04-30 07:05:04 -0600 received badge  Editor (source)
2013-04-30 07:03:02 -0600 asked a question Create VM image from an ISO containing installation

Hi all,

I use OpenStack release Grizzly with libvirk/KVM virt driver.
I try to create an image from an ISO containing installation.
The ISO is publish on Glance library with DISK_FORMAT set to 'iso'.

I try different methods:

1/ I boot a VM from the ISO image with flavor 'm1.tiny' (no 'root disk' and no 'ephemeral disk'). The VM start with 'root disk' as the ISO image and start the ISO installer but no empty disk are available (normal because 'root disk' and 'ephemeral disk' are null). So I tried to attach a volume to that VM but it fails with that output error [1] on the compute.

2/ I define a flavor 'test' with a root and an ephemeral disk both set to 20Go and I start again a VM from the ISO image with that 'test' flavor. The VM start with 'root disk' as the ISO image resized [2] to 20Go. I can make the installation on the ephemeral disk. When it finishes, I try to create a snapshot to publish the new installed image but Nova snapshots only the disk image (which is the ISO installer image).

3/ So I try again with the precedent configuration (in 2/). And I try to attach a volume to that VM but it fails with that output error [3] on the compute (not the same error in 1/).

How can I run ISO installer to publish a new VM template?

[1] http://paste.openstack.org/show/36704/
[2] http://paste.openstack.org/show/36705/
[3] http://paste.openstack.org/show/36706/

Regards,
Édouard.