← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1579749] Re: Unable to create a Egress rule in security group using python-novaclient

 

*** This bug is a duplicate of bug 1267140 ***
    https://bugs.launchpad.net/bugs/1267140

This is a duplicate of an older bug 1267140 which states that nova-
network does not support egress rules, if you want to use those you need
to use neutron.

** This bug has been marked a duplicate of bug 1267140
   The output of security group rules does not include egress rules.

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

Title:
  Unable to create a Egress rule in security group  using  python-
  novaclient

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  I am not able to create Egress security rules using python-novaclient,by default it creates Ingress security rule and also try to list the rules inside security group.

  Steps to reproduce
  ==================
  Execute the below command, will create Ingress rule in the default security group.

  
  sec_group = nova.security_groups.find(name = "default")
  nova.security_group_rules.create(sec_group.id,ip_protocol="udp",from_port="5201",to_port="5201")

  nova.security_group_rules._list() <No method for list the rules >

  
  Expected result
  ===============
  I want to create Egress rule using the above create method, but no provision for adding the rule type in the method.

  Actual result
  =============
  It create a rule with ingress type in the security group.

  Environment
  ===========

  Packstack Mitaka (Rdo)

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


References