← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1740802] [NEW] execute nova boot with two port command failed

 

Public bug reported:

Description
===========
execute nova boot with two port command failed

Steps to reproduce
===========
[root@E9000slot5 versions(keystone_admin)]# neutron net-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+--------------------+----------------------------------+-------------------------------------------------------+
| id                                   | name               | tenant_id                        | subnets                                               |
+--------------------------------------+--------------------+----------------------------------+-------------------------------------------------------+
| 63bece24-45a3-445a-b170-ed9c34797f26 | net2               | e05b5607ff3344909a67490ba6c16384 |                                                       |
| 95ac4b4e-84c9-4875-8c3f-4ed037b75f21 | net1               | e05b5607ff3344909a67490ba6c16384 | a84cf9dc-13e2-4f5d-828d-68ea83e960cf 11.11.11.0/24    |
+--------------------------------------+--------------------+----------------------------------+-------------------------------------------------------+
[root@E9000slot5 versions(keystone_admin)]# glance image-list
+--------------------------------------+-----------------------------------------------+
| ID                                   | Name                                          |
+--------------------------------------+-----------------------------------------------+
| ec3019a1-ebcd-4b12-9afe-f67ea1cc60ed | cirros228                                     |
+--------------------------------------+-----------------------------------------------+
[root@E9000slot5 versions(keystone_admin)]# nova flavor-list
+--------------------------------------+----------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID                                   | Name                       | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+----------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| 100                                  | 2h2g2gdiskwithnuma         | 2048      | 2    | 0               |      | 2     | 1.0         | True      |
+--------------------------------------+----------------------------+-----------+------+-----------+------+-------+-------------+-----------+
[root@E9000slot5 versions(keystone_admin)]# nova boot --flavor 100 --image ec3019a1-ebcd-4b12-9afe-f67ea1cc60ed --nic net-id=95ac4b4e-84c9-4875-8c3f-4ed037b75f21  --nic net-id=63bece24-45a3-445a-b170-ed9c34797f26 test_tx
ERROR (CommandError): Invalid nic argument 'net-id=63bece24-45a3-445a-b170-ed9c34797f26'. Nic arguments must be of the form --nic <auto,none,net-id=net-uuid,net-name=network-name,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid,tag=tag>, with only one of net-id, net-name or port-id specified. Specifying a --nic of auto or none cannot be used with any other --nic value

** Affects: nova
     Importance: Undecided
     Assignee: tangxing (tang-xing)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => tangxing (tang-xing)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1740802

Title:
  execute nova boot with two port command failed

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  execute nova boot with two port command failed

  Steps to reproduce
  ===========
  [root@E9000slot5 versions(keystone_admin)]# neutron net-list
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  +--------------------------------------+--------------------+----------------------------------+-------------------------------------------------------+
  | id                                   | name               | tenant_id                        | subnets                                               |
  +--------------------------------------+--------------------+----------------------------------+-------------------------------------------------------+
  | 63bece24-45a3-445a-b170-ed9c34797f26 | net2               | e05b5607ff3344909a67490ba6c16384 |                                                       |
  | 95ac4b4e-84c9-4875-8c3f-4ed037b75f21 | net1               | e05b5607ff3344909a67490ba6c16384 | a84cf9dc-13e2-4f5d-828d-68ea83e960cf 11.11.11.0/24    |
  +--------------------------------------+--------------------+----------------------------------+-------------------------------------------------------+
  [root@E9000slot5 versions(keystone_admin)]# glance image-list
  +--------------------------------------+-----------------------------------------------+
  | ID                                   | Name                                          |
  +--------------------------------------+-----------------------------------------------+
  | ec3019a1-ebcd-4b12-9afe-f67ea1cc60ed | cirros228                                     |
  +--------------------------------------+-----------------------------------------------+
  [root@E9000slot5 versions(keystone_admin)]# nova flavor-list
  +--------------------------------------+----------------------------+-----------+------+-----------+------+-------+-------------+-----------+
  | ID                                   | Name                       | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
  +--------------------------------------+----------------------------+-----------+------+-----------+------+-------+-------------+-----------+
  | 100                                  | 2h2g2gdiskwithnuma         | 2048      | 2    | 0               |      | 2     | 1.0         | True      |
  +--------------------------------------+----------------------------+-----------+------+-----------+------+-------+-------------+-----------+
  [root@E9000slot5 versions(keystone_admin)]# nova boot --flavor 100 --image ec3019a1-ebcd-4b12-9afe-f67ea1cc60ed --nic net-id=95ac4b4e-84c9-4875-8c3f-4ed037b75f21  --nic net-id=63bece24-45a3-445a-b170-ed9c34797f26 test_tx
  ERROR (CommandError): Invalid nic argument 'net-id=63bece24-45a3-445a-b170-ed9c34797f26'. Nic arguments must be of the form --nic <auto,none,net-id=net-uuid,net-name=network-name,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid,tag=tag>, with only one of net-id, net-name or port-id specified. Specifying a --nic of auto or none cannot be used with any other --nic value

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1740802/+subscriptions


Follow ups