Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3318)

Issue 6966047: Openstack security group api compat with hpcloud

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by hazmat
Modified:
11 years, 3 months ago
Reviewers:
mp+140815
Visibility:
Public.

Description

Openstack security group api compat with hpcloud It looks like the issue is the server security group details don't have rule information in the diablo/hpcloud api fallback which caused problems for juju when trying to determine what ports where open in the group (couldn't close ports, and attempted to open ports multiple times). The simple workaround is a specific path for hpcloud that fetches the group detail info separately if server group details don't have rule info. Verified against folsom/canonistack and hpcloud/diablo. https://bugs.launchpad.net/juju/+bug/1092343 https://code.launchpad.net/~hazmat/juju/ostack-diablo-hp-compat/+merge/140815 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Openstack security group api compat with hpcloud #

Patch Set 3 : Openstack security group api compat with hpcloud #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -19 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M juju/providers/openstack/client.py View 1 2 chunks +11 lines, -5 lines 0 comments Download
M juju/providers/openstack/ports.py View 1 2 5 chunks +27 lines, -10 lines 0 comments Download
M juju/providers/openstack/tests/test_ports.py View 1 2 chunks +29 lines, -4 lines 0 comments Download

Messages

Total messages: 3
hazmat
Please take a look.
11 years, 4 months ago (2012-12-20 04:03:45 UTC) #1
hazmat
Please take a look.
11 years, 3 months ago (2013-01-08 19:22:19 UTC) #2
hazmat
11 years, 3 months ago (2013-01-14 10:52:37 UTC) #3
*** Submitted:

Openstack security group api compat with hpcloud

It looks like the issue is the server security group details don't have rule 
information in the diablo/hpcloud api fallback which caused problems for juju 
when trying to determine what ports where open in the group (couldn't close 
ports, and attempted to open ports multiple times). The simple workaround is a 
specific path for hpcloud that fetches the group detail info separately if 
server group details don't have rule info. 

Verified against folsom/canonistack and hpcloud/diablo.

https://bugs.launchpad.net/juju/+bug/1092343

R=
CC=
https://codereview.appspot.com/6966047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b