← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431927] Re: neutron client parses arguments incorrectly

 

** Project changed: neutron => python-neutronclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1431927

Title:
  neutron client parses arguments incorrectly

Status in Python client library for Neutron:
  Confirmed

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/python-neutronclient/+bug/1431927/+subscriptions


References