Re: [openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-10 Thread jason witkowski
Please ignore this thread. The issue was the line ' device_owner: "network:dhcp" ' from the server_port resource. Once removed the port was created with the security group attached. On Mon, Aug 10, 2015 at 10:11 AM, jason witkowski wrote: > Just to confirm as well if I use the CLI to create a

Re: [openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-10 Thread jason witkowski
Just to confirm as well if I use the CLI to create a neutron port after the Heat stack has ran and created the security group everything works fine and the security group is attached to the neutron port as expected. However heat is not managing to make this happen, even if I run a check or an upda

Re: [openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-09 Thread jason witkowski
Steve, There is no error. Heat reports a successful build with no issues. I've attached the neutron port-show as well as the full heat engine logs for a build of the stack start to end. http://paste.openstack.org/show/412313/ - Heat Engine logs http://paste.openstack.org/show/412314/ - neutron

Re: [openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-09 Thread Steve Baker
On 08/08/15 01:51, jason witkowski wrote: Thanks for the replies guys. The issue is that it is not working. If you take a look at the pastes I linked from the first email I am using the get_resource function in the security group resource. I am not sure if it is not resolving to an appropriat

Re: [openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-07 Thread jason witkowski
Thanks for the replies guys. The issue is that it is not working. If you take a look at the pastes I linked from the first email I am using the get_resource function in the security group resource. I am not sure if it is not resolving to an appropriate value or if it is resolving to an appropriat

Re: [openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-07 Thread Kairat Kushaev
Hello Jason, Agree with TianTian. It would be good if you provide more details about the error you have. Additionally, it would be perfect if you'll use heat IRC channel: #heat or ask.openstack.org to resolve such kind of questions. Best regards, Kairat Kushaev Software Engineer, Mirantis On Fri,

Re: [openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-06 Thread TIANTIAN
1) OS::Neutron::Port does not seem to recognize security groups by name -- https://github.com/openstack/heat/blob/stable/kilo/heat/engine/resources/openstack/neutron/port.py#L303 https://github.com/openstack/heat/blob/stable/kilo/heat/engine/clients/os/neutron.py#L111

[openstack-dev] [Heat] OS::Neutron::Port fails to set security group by name, no way to retrieve group ID from Neutron::SecurityGroup

2015-08-06 Thread jason witkowski
Hey All, I am having issues on the Kilo branch creating an auto-scaling template that builds a security group and then adds instances to it. I have tried every various method I could think of with no success. My issues are as such: 1) OS::Neutron::Port does not seem to recognize security groups