Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how does one specify network id with nova boot command line?

Hi,

Here is my problem. When I attempt to create an instance like so ...

[root@svl-stack-mgmt4 ~]# nova boot --flavor 1 --image Cirros rbc-test

... I get this error message:

ERROR: Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-...)
[root@svl-stack-mgmt4 ~]# neutron net-list
+--------------------------------------+-------------------------------+-------------------------------------------------------+
| id                                   | name                          | subnets                                               |
+--------------------------------------+-------------------------------+-------------------------------------------------------+
| dbfdd1e2-bc4a-46ab-8ddc-b4206a59ec20 | ... | ... |
| 1d2e7c15-a40f-4b4b-b891-b97cbdfd7629 | ... |... |
+--------------------------------------+-------------------------------+-------------------------------------------------------+

So I try and specify the "Network ID" like so ...

[root@svl-stack-mgmt4 ~]# nova boot --net-id "dbfdd1e2-bc4a-46ab-8ddc-b4206a59ec20" --flavor 1 --image Cirros rbc-test

... but I get a usage error:

usage: nova [--version] [--debug] [--os-cache] [--timings]
            [--timeout <seconds>] [--os-username <auth-user-name>]
            [--os-password <auth-password>]
            [--os-tenant-name <auth-tenant-name>]
            [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>]
            [--os-region-name <region-name>] [--os-auth-system <auth-system>]
            [--service-type <service-type>] [--service-name <service-name>]
            [--volume-service-name <volume-service-name>]
            [--endpoint-type <endpoint-type>]
            [--os-compute-api-version <compute-api-ver>]
            [--os-cacert <ca-certificate>] [--insecure]
            [--bypass-url <bypass-url>]
            <subcommand> ...
error: unrecognized arguments: --net-id rbc-test
Try 'nova help ' for more information.

So how does one specify the network id?

Thanks

how does one specify network id with nova boot command line?

Hi,

Here is my problem. When I attempt to create an instance like so ...

[root@svl-stack-mgmt4 [root@stack-mgmt4 ~]# nova boot --flavor 1 --image Cirros rbc-test

... I get this error message:

ERROR: Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-...)
[root@svl-stack-mgmt4 [root@stack-mgmt4 ~]# neutron net-list
+--------------------------------------+-------------------------------+-------------------------------------------------------+
| id                                   | name                          | subnets                                               |
+--------------------------------------+-------------------------------+-------------------------------------------------------+
| dbfdd1e2-bc4a-46ab-8ddc-b4206a59ec20 | ... | ... |
| 1d2e7c15-a40f-4b4b-b891-b97cbdfd7629 | ... |... |
+--------------------------------------+-------------------------------+-------------------------------------------------------+

So I try and specify the "Network ID" like so ...

[root@svl-stack-mgmt4 [root@stack-mgmt4 ~]# nova boot --net-id "dbfdd1e2-bc4a-46ab-8ddc-b4206a59ec20" --flavor 1 --image Cirros rbc-test

... but I get a usage error:

usage: nova [--version] [--debug] [--os-cache] [--timings]
            [--timeout <seconds>] [--os-username <auth-user-name>]
            [--os-password <auth-password>]
            [--os-tenant-name <auth-tenant-name>]
            [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>]
            [--os-region-name <region-name>] [--os-auth-system <auth-system>]
            [--service-type <service-type>] [--service-name <service-name>]
            [--volume-service-name <volume-service-name>]
            [--endpoint-type <endpoint-type>]
            [--os-compute-api-version <compute-api-ver>]
            [--os-cacert <ca-certificate>] [--insecure]
            [--bypass-url <bypass-url>]
            <subcommand> ...
error: unrecognized arguments: --net-id rbc-test
Try 'nova help ' for more information.

So how does one specify the network id?

Thanks