File tree Expand file tree Collapse file tree 4 files changed +9
-12
lines changed
cmd/openstack-cloud-controller-manager
tests/playbooks/roles/install-devstack/tasks Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ build-cmd-%: work $(SOURCES)
155
155
test : unit functional
156
156
157
157
check : work
158
- go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46 .1 run ./...
158
+ go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51 .1 run ./...
159
159
160
160
unit : work
161
161
go test -tags=unit $(shell go list ./... | sed -e '/sanity/ { N; d; }' | sed -e '/tests/ {N; d;}') $(TESTARGS )
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import (
44
44
)
45
45
46
46
func main () {
47
- rand .Seed (time .Now ().UnixNano ())
47
+ rand .NewSource (time .Now ().UnixNano ())
48
48
49
49
ccmOptions , err := options .NewCloudControllerManagerOptions ()
50
50
if err != nil {
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ package keystone
19
19
import (
20
20
"crypto/tls"
21
21
"fmt"
22
+ "net/http"
22
23
"os"
23
24
24
25
"github.com/gophercloud/gophercloud"
@@ -29,7 +30,6 @@ import (
29
30
osClient "k8s.io/cloud-provider-openstack/pkg/client"
30
31
"k8s.io/cloud-provider-openstack/pkg/version"
31
32
"k8s.io/klog/v2"
32
- "net/http"
33
33
)
34
34
35
35
type Options struct {
@@ -76,7 +76,6 @@ func GetToken(options Options) (*tokens3.Token, error) {
76
76
return token , msg
77
77
}
78
78
tlsConfig .Certificates = []tls.Certificate {cert }
79
- tlsConfig .BuildNameToCertificate ()
80
79
setTransport = true
81
80
}
82
81
Original file line number Diff line number Diff line change 101
101
rm -rf /usr/lib/python3/dist-packages/PyYAML-*.egg-info
102
102
# https://bugs.launchpad.net/devstack/+bug/1906322
103
103
sed -i 's|$cmd_pip $upgrade |$cmd_pip $upgrade --ignore-installed |g' {{ workdir }}/inc/python
104
- python3 -m pip install --upgrade pip==20.2.3
104
+ python3 -m pip install --upgrade pip==23.0
105
+ python3 -m pip install --upgrade keystoneauth1==5.1.1
106
+ python3 -m pip install --upgrade setuptools
107
+ python3 -m pip install --upgrade python-debian
108
+ python3 -m pip install --upgrade distro-info
109
+ python3 -m pip install --upgrade SecretStorage
105
110
106
111
- name : Change devstack directory owner
107
112
file :
121
126
cmd : |
122
127
set -ex
123
128
sudo -u {{ user }} -H ./stack.sh
124
-
125
- - name : Remove openstack CLI warnings
126
- shell :
127
- executable : /bin/bash
128
- cmd : |
129
- # To avoid the warning msg: "CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead"
130
- python3 -m pip install cryptography==3.3.2
You can’t perform that action at this time.
0 commit comments