Bug 1049982

Summary: The output of security group rules does not include egress rules.
Product: [Community] RDO Reporter: Nir Magnezi <nmagnezi>
Component: openstack-novaAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jruzicka, lars, ndipanov, rbryant, sgordon, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-22 15:55:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nir Magnezi 2014-01-08 14:55:04 UTC
Description of problem:
=======================
The output of security group rules does not include egress rules.

Version-Release number of selected component (if applicable):
=============================================================
Tested on RHEL
Icehouse: python-nova-2014.1-0.5.b1.el6.noarch

How reproducible:
=================
Always

Steps to Reproduce:
===================
1. Add an egress security group rule (I did it via horizon)
2. via CLI: nova secgroup-list-rules <sec group name>

Actual results:
===============
List of ingress rules.

Expected results:
=================
List of both ingress and egress rules.

Comment 1 Jakub Ruzicka 2014-01-20 16:06:00 UTC
I can reproduce this using latest RDO Icehouse. Using --debug I ensured client is printing all data nova sent it so I'm changing component to nova which is the source of printed information.

Comment 2 Jakub Ruzicka 2014-01-20 16:38:13 UTC
`neutron security-group-rule-list` works - one could argue you should use the neutron command if you're using the neutron security groups.