euca-authorize invalid protocol yields unknown error

Bug #957709 reported by Anthony Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned

Bug Description

To reproduce:

$ euca-authorize -P tcpf -p 224 default -s 0.0.0.0/0

Expected:

Error informing me that tcpf is an invalid protocol, ideally also hinting with a list of valid protocols

Actual:

$ euca-authorize -P tcpf -p 224 default -s 0.0.0.0/0
UnknownError: An unknown error has occurred. Please try your request again.

2012-03-16 23:01:53 ERROR nova.api.ec2 [req-475d0ed1-e037-4c92-a163-0a483dfe8000 b399a42284c4438db639d41fc2530baa c4ab6c17bc4742298838bd9c6fbc41e1] Unexpected error raised: Invalid IP protocol tcpf.
(nova.api.ec2): TRACE: Traceback (most recent call last):
(nova.api.ec2): TRACE: File "/opt/stack/nova/nova/api/ec2/__init__.py", line 582, in __call__
(nova.api.ec2): TRACE: result = api_request.invoke(context)
(nova.api.ec2): TRACE: File "/opt/stack/nova/nova/api/ec2/apirequest.py", line 81, in invoke
(nova.api.ec2): TRACE: result = method(context, **args)
(nova.api.ec2): TRACE: File "/opt/stack/nova/nova/api/ec2/cloud.py", line 715, in authorize_security_group_ingress
(nova.api.ec2): TRACE: rulesvalues = self._rule_args_to_dict(context, values)
(nova.api.ec2): TRACE: File "/opt/stack/nova/nova/api/ec2/cloud.py", line 482, in _rule_args_to_dict
(nova.api.ec2): TRACE: rule = self._rule_dict_last_step(context, **kwargs)
(nova.api.ec2): TRACE: File "/opt/stack/nova/nova/api/ec2/cloud.py", line 586, in _rule_dict_last_step
(nova.api.ec2): TRACE: raise exception.InvalidIpProtocol(protocol=ip_protocol)
(nova.api.ec2): TRACE: InvalidIpProtocol: Invalid IP protocol tcpf.
(nova.api.ec2): TRACE:

Changed in nova:
status: New → Triaged
importance: Undecided → Low
tags: added: essex-rc-potential
Changed in nova:
assignee: nobody → Russell Bryant (russellb)
Revision history for this message
Russell Bryant (russellb) wrote :

I can't seem to reproduce this, running the latest code of all projects via devstack.

$ euca-authorize -P tcpf -p 224 default -s 0.0.0.0/0
Invalid protocol tcpf

Maybe I'm using a newer version of euca2ools?

euca2ools-1.3.1-12.fc16.noarch

Changed in nova:
assignee: Russell Bryant (russellb) → nobody
Revision history for this message
Chuck Short (zulcss) wrote :

I am unable to reproduce this as well.

Thierry Carrez (ttx)
Changed in nova:
status: Triaged → Incomplete
Revision history for this message
Thierry Carrez (ttx) wrote :

Marking as Invalid per comments, please reopen if you disagree.

Changed in nova:
status: Incomplete → Invalid
tags: removed: essex-rc-potential
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.