Skip to content

Compute v2: Adding Migrate Action - #444

Merged
jrperritt merged 3 commits into
gophercloud:masterfrom
jtopjian:computev2-migrate
Aug 24, 2017
Merged

jrperritt merged 3 commits into
gophercloud:masterfrom
jtopjian:computev2-migrate

Conversation

@jtopjian

Copy link
Copy Markdown
Contributor

For #82

Supersedes #84

https://github.com/openstack/nova/blob/77b11a9e31e265c338857326418bfe8cd135c1f8/nova/api/openstack/compute/migrate_server.py

Note that this only implements what would be handled in the _migrate function, not the _migrate_live function.

@jtopjian
jtopjian requested a review from jrperritt August 10, 2017 02:02
@coveralls

coveralls commented Aug 10, 2017 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 71.474% when pulling 65b9dfa on jtopjian:computev2-migrate into c0406a1 on gophercloud:master.

@jtopjian

Copy link
Copy Markdown
Contributor Author

@jrperritt ping for review. No rush, though.

)

// Migrate will initiate a migration of the instance to another host.
func Migrate(client *gophercloud.ServiceClient, id string) (r gophercloud.ErrResult) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we return a MigrateResult instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We certainly can. I'll get this cleaned up soon and ping.

@jtopjian

Copy link
Copy Markdown
Contributor Author

@jrperritt ping

@coveralls

coveralls commented Aug 24, 2017 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 71.537% when pulling 8c88aa2 on jtopjian:computev2-migrate into c0406a1 on gophercloud:master.

@jrperritt
jrperritt merged commit ac9fa73 into gophercloud:master Aug 24, 2017
This was referenced Aug 24, 2017
@jtopjian
jtopjian deleted the computev2-migrate branch April 24, 2018 03:14
msheikh-wind pushed a commit to msheikh-wind/gophercloud that referenced this pull request May 19, 2025
…ophercloud#444)

This commit replaces gcr.io/kubebuilder/kube-rbac-proxy for metrics
protection in favor of builtin controller-runtime [1] features
to protect the metrics endpoint and to serve certificates. As
requirement, this commit:
  - Upgrades the controller-runtime
  - Upgrades Golang to 1.23 as requirement of controller-runtime
  - Replaces kube-rbac-proxy protection with controller-runtime feature
  - Serves metrics endpoint certificates with certmanager [2]
  - Upgrades tests Ginkgo tooling

[1]: https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/certwatcher
[2]: https://cert-manager.io/

Test Plan:
- PASS: Build a new Helm chart
- PASS: Build a new Docker image
- PASS: Deploy a AIO-SX with the image built
  - Validate the metrics endpoint are serving
  - Validate the webhook validations
  - Validate day-2 operations

Signed-off-by: Wallysson Silva <[email protected]>
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