← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1574985] Re: Update security group using Heat

 

Names are not unique for SG's, so it depends on if its a put or post.
Was this intended in the heat template?

** Project changed: neutron => heat

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

Title:
  Update security group using Heat

Status in heat:
  New

Bug description:
  I created a security group using Horizon dashboard. Then, I created a
  heat template with the same security group name with some new rules so
  that my security group gets updatee with new rules. However, heat
  template created a new security group instead of updating the existing
  one.

  Is this a bug or an unsupported feature ?

  Below is my yaml file

  heat_template_version: 2013-05-23

  description: Create a security group

  parameters:
    sec_group:
      type: string
      default: test-secgroup

  resources:
    security_group:
      type: OS::Neutron::SecurityGroup
      properties:
        name: { get_param: sec_group }
        rules:
          - remote_ip_prefix: 0.0.0.0/0
            protocol: tcp
            port_range_min: 22
            port_range_max: 22
          - remote_ip_prefix: 0.0.0.0/0
            protocol: icmp

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


References