Skip to content

add AllProjects LitsOps on ServerGroups#2070

Merged
jtopjian merged 4 commits intogophercloud:masterfrom
clementblaise:master
Dec 17, 2020
Merged

add AllProjects LitsOps on ServerGroups#2070
jtopjian merged 4 commits intogophercloud:masterfrom
clementblaise:master

Conversation

@clementblaise
Copy link
Copy Markdown
Contributor

Prior to starting a PR, please make sure you have read our
contributor tutorial.

Prior to a PR being reviewed, there needs to be a Github issue that the PR
addresses. Replace the brackets and text below with that issue number.

For #[2069]

Links to the line numbers/files in the OpenStack source code that support the
code in this PR:

[https://docs.openstack.org/api-ref/compute/?expanded=list-server-groups-detail#server-groups-os-server-groups]

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Dec 7, 2020

Build failed.

@jtopjian
Copy link
Copy Markdown
Contributor

jtopjian commented Dec 8, 2020

@clementblaise This is a good start - thanks!

Travis is reporting an error with the unit tests. You can reproduce this locally by doing:

$ cd openstack/compute/v2/extensions/servergroups
$ go test -v ./testing

The files in the testing directory will need updated for the new parameter.

On the topic of the new parameter, instead of the API documentation, we need to see the actual Nova Python code that implements this feature. This is described here. This is a pretty hard step for new contributors, so I've dug up the references for you:

No further work is needed for these links - it just "proves" that a parameter called all_projects really does exist.

Please let me know if you have any questions or need any help with getting the unit tests to pass.

@clementblaise
Copy link
Copy Markdown
Contributor Author

@jtopjian Thanks for helping out on finding the references, indeed not trivial, I will know for the next time.

I had forgotten the test I just pushed the modification.

@coveralls
Copy link
Copy Markdown

coveralls commented Dec 8, 2020

Coverage Status

Coverage increased (+0.06%) to 79.741% when pulling 3cad636 on clementblaise:master into b971228 on gophercloud:master.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Dec 8, 2020

Build failed.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Dec 10, 2020

Build failed.

@clementblaise
Copy link
Copy Markdown
Contributor Author

@jtopjian Acceptance test failed while setting up I am not sure what I am supposed to do, could you have a look ?

@jtopjian
Copy link
Copy Markdown
Contributor

recheck

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Dec 15, 2020

Build failed.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Dec 15, 2020

Build succeeded.

@jtopjian
Copy link
Copy Markdown
Contributor

@clementblaise Is this ready for review/merge?

@clementblaise
Copy link
Copy Markdown
Contributor Author

@jtopjian Yes you can go ahead

Copy link
Copy Markdown
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thank you!

@jtopjian jtopjian merged commit 01e5088 into gophercloud:master Dec 17, 2020
EmilienM pushed a commit to shiftstack/installer that referenced this pull request Feb 16, 2021
* github.com/gophercloud/gophercloud
* github.com/gophercloud/utils
* github.com/terraform-provider-openstack/terraform-provider-openstack

Also adjust a call to servergroup.List to comply with the new function
signature[1].

[1]: gophercloud/gophercloud#2070

Signed-off-by: Emilien Macchi <emilien@redhat.com>
mandre added a commit to shiftstack/installer that referenced this pull request Mar 26, 2021
Adjust call to servergroup.List to comply with the new function
signature [1].

[1]: gophercloud/gophercloud#2070
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants