Public bug reported:

The following command worked in Icehouse. It do not work in Juno
anymore.

neutron net-create --tenant-id 7f41e236d56c4e9fa074a9185528cad2
--provider:network_type=flat --provider:physical_network=default
--router:external=True GATEWAY_NET

It returns error:
"""
neutron net-create: error: argument --router:external: ignored explicit 
argument u'True'
"""

If you use spaces instead of '=':
neutron net-create --tenant-id e4e6d468a3ce4e8c8d6de73aa394e395 
--provider:network_type flat --provider:physical_network default 
--router:external true GATEWAY_NET

It raises the following:
"""
Invalid values_specs GATEWAY_NET
"""

And only if you use --name GATEWAY_NET it works. But documentation ( neutron 
help net-create ) tells you that name is positional argument !
"""
positional arguments:
  NAME                  Name of network to create.
"""

** Affects: neutron
     Importance: Undecided
         Status: New

** Project changed: nova => neutron

-- 
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/1431927

Title:
  netruon client parses arguments incorrectly

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  The following command worked in Icehouse. It do not work in Juno
  anymore.

  neutron net-create --tenant-id 7f41e236d56c4e9fa074a9185528cad2
  --provider:network_type=flat --provider:physical_network=default
  --router:external=True GATEWAY_NET

  It returns error:
  """
  neutron net-create: error: argument --router:external: ignored explicit 
argument u'True'
  """

  If you use spaces instead of '=':
  neutron net-create --tenant-id e4e6d468a3ce4e8c8d6de73aa394e395 
--provider:network_type flat --provider:physical_network default 
--router:external true GATEWAY_NET

  It raises the following:
  """
  Invalid values_specs GATEWAY_NET
  """

  And only if you use --name GATEWAY_NET it works. But documentation ( neutron 
help net-create ) tells you that name is positional argument !
  """
  positional arguments:
    NAME                  Name of network to create.
  """

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to