Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
OpenStack Provider: Fix add IPv6 rules #6617
Conversation
|
@fnordahl, thanks again. LGTM, and tests pass when using go-goose/goose#34. I'd like a go-goose approver to review this when the required goose PR is merged. |
voidspace
commented
Nov 25, 2016
|
LGTM to me too, so long as it has at least been manually verified to fix the issue it is addressing (no QA steps in PR). |
|
In addition to testing against the updated go-goose version I injected a jujud executable built from source with this patch into a already bootstrapped controller on a OpenStack Cloud and verified that adding a new model and deploying an application to that model created the same security group rules as a unmodified version of jujud with the exception of the expected addition of IPv6 rules. (For the manual test to work I had to change the version string in version/vesrion.go to match what I already had on the controller to prevent it from killing itself asking for a upgrade.) |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
Please address this failure in github.com/juju/juju/provider/openstack: FAIL: :70: localLiveSuite.TestSetupGlobalGroupExposesCorrectPorts uploading fake tool versions: [1.99.0-precise-amd64 1.99.0-trusty-amd64 1.99.0-xenial-amd64] |
|
@anastasiamac Waiting for go-goose/goose#34 to merge, it is approved and should not be far away. It applies fixes to the Neutron test service to make it operate more like the real Neutron in this regard. As soon as that happens I can update this commit with correct dependency and the test will pass. Alternatively / in addition I could update the test to set default value for EthernetType if not returned from server, or change the test to check values of both RemoteIPPrefix and RemoteGroupId instead of EthernetType. |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
fnordahl commentedNov 25, 2016
Fixes breakage introduced in commit 3539524 by specifying
EthernetType for IPv6 rules.
Excplicitly set RemoteGroupId when creating rules with no RemoteIPPrefix.
Neutron defaults to set up CIDR 0.0.0.0/0 or ::/0 in some situations.
Also reverts some changes to rules where RemoteIPPrefix were added
where it should not have been added.
Have proposed improved tests that would have uncovered this to go-goose/goose#34