← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 914897] Re: euca-authorize port ranges misleading error message

 

$  euca-authorize -P tcp -p 0-65535 -s 0.0.0.0/0 default


euca-authorize: error (InvalidParameterValue): Invalid port range 0:65535. Valid TCP ports should be between 1-65535


** Changed in: nova
       Status: Triaged => Invalid

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

Title:
  euca-authorize port ranges misleading error message

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  NOTE: Opening based on forum thread
  http://forums.openstack.org/viewtopic.php?f=10&t=662

  version: 2011.3 (2011.3-nova-milestone-
  tarball:tarmac-20110922115702-k9nkvxqzhj130av2)

  euca-authorize -P tcp -p 0-65535 -s 0.0.0.0/0 default
  ApiError: [] Not enough parameters to build a valid rule

  compared to

  euca-authorize -P tcp -p 1-65535 -s 0.0.0.0/0 default

  which succeeds.

  The error message is misleading, "out of range" or similar would have
  been more helpful.

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