Skip to content

Commit

Permalink
Merge pull request #3050 from stephenfin/remove-senlin
Browse files Browse the repository at this point in the history
Drop support for clustering service (Senlin)
  • Loading branch information
EmilienM committed May 20, 2024
2 parents 64c7682 + 3dc4c9e commit d4b3480
Show file tree
Hide file tree
Showing 85 changed files with 1 addition and 10,194 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/functional-clustering.yaml

This file was deleted.

6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ coverage:
go test -covermode count -coverprofile cover.out -coverpkg=./... ./...
.PHONY: coverage

acceptance: acceptance-baremetal acceptance-blockstorage acceptance-clustering acceptance-compute acceptance-container acceptance-containerinfra acceptance-db acceptance-dns acceptance-identity acceptance-imageservice acceptance-keymanager acceptance-loadbalancer acceptance-messaging acceptance-networking acceptance-objectstorage acceptance-orchestration acceptance-placement acceptance-sharedfilesystems acceptance-workflow
acceptance: acceptance-baremetal acceptance-blockstorage acceptance-compute acceptance-container acceptance-containerinfra acceptance-db acceptance-dns acceptance-identity acceptance-imageservice acceptance-keymanager acceptance-loadbalancer acceptance-messaging acceptance-networking acceptance-objectstorage acceptance-orchestration acceptance-placement acceptance-sharedfilesystems acceptance-workflow
.PHONY: acceptance

acceptance-baremetal:
Expand All @@ -24,10 +24,6 @@ acceptance-blockstorage:
go test -tags "fixtures acceptance" ./internal/acceptance/openstack/blockstorage/...
.PHONY: acceptance-blockstorage

acceptance-clustering:
go test -tags "fixtures acceptance" ./internal/acceptance/openstack/clustering/...
.PHONY: acceptance-clustering

acceptance-compute:
go test -tags "fixtures acceptance" ./internal/acceptance/openstack/compute/...
.PHONY: acceptance-compute
Expand Down
21 changes: 0 additions & 21 deletions internal/acceptance/clients/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,27 +568,6 @@ func NewLoadBalancerV2Client() (*gophercloud.ServiceClient, error) {
})
}

// NewClusteringV1Client returns a *ServiceClient for making calls
// to the OpenStack Clustering v1 API. An error will be returned
// if authentication or client creation was not possible.
func NewClusteringV1Client() (*gophercloud.ServiceClient, error) {
ao, err := openstack.AuthOptionsFromEnv()
if err != nil {
return nil, err
}

client, err := openstack.AuthenticatedClient(context.TODO(), ao)
if err != nil {
return nil, err
}

client = configureDebug(client)

return openstack.NewClusteringV1(client, gophercloud.EndpointOpts{
Region: os.Getenv("OS_REGION_NAME"),
})
}

// NewMessagingV2Client returns a *ServiceClient for making calls
// to the OpenStack Messaging (Zaqar) v2 API. An error will be returned
// if authentication or client creation was not possible.
Expand Down
32 changes: 0 additions & 32 deletions internal/acceptance/openstack/clustering/v1/actions_test.go

This file was deleted.

0 comments on commit d4b3480

Please sign in to comment.