server create does not explain network values

Bug #1444685 reported by Adam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Low
Unassigned

Bug Description

When trying to boot a new instance I got:

ERROR: openstack Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-657a6947-54b0-4c95-9891-3e6d422fe687)

BUt the help string only had:

  --nic <nic-config-string>
                        Specify NIC configuration (optional extension)

The nova CLI has

  --nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>
                                Create a NIC on the server. Specify option
                                multiple times to create multiple NICs. net-
                                id: attach NIC to network with this UUID
                                (either port-id or net-id must be provided),
                                v4-fixed-ip: IPv4 fixed address for NIC
                                (optional), v6-fixed-ip: IPv6 fixed address
                                for NIC (optional), port-id: attach NIC to
                                port with this UUID (either port-id or net-id

Revision history for this message
Dean Troyer (dtroyer) wrote :

Hmmm...review->bug linkage is inconsistent, so:

Addressed in https://review.openstack.org/#/c/174091/

Changed in python-openstackclient:
status: New → In Progress
importance: Undecided → Low
milestone: none → m9
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/174091
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=459526e25dc27de309abfbd8e584c7c756dd1245
Submitter: Jenkins
Branch: master

commit 459526e25dc27de309abfbd8e584c7c756dd1245
Author: Davanum Srinivas <email address hidden>
Date: Wed Apr 15 16:32:10 2015 -0400

    Better help for --nic in create server

    Use the help string from python-novaclient for a better user
    experience.

    Closes-Bug: #1444685
    Change-Id: If7b8e3f68a0c6ad82b9959f162670b5568d5d12d

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.