26a2b5fce2
While deploying CNF(deployment) using pod-affinity rules, a parameter error happended because the topology_key is not assigned when initializing k8s object. This patch fixes this bug by adding the topology_key's default value into `must_param` in translate_outputs._create_k8s_object(). At the same time, in order to deal with the recurrence of this kind of bug, we checked the required parameters of all resources in kubernetes again and added them to must_param. * Kubernetes version: from v1.18.20 to v1.21.1 * Kubernetes-python-client version: v18.20.0 The major changes from the "must_param" used in the previous Wallaby release of Tacker are probably as follows: RuntimeRawExtension The `data` parameter of `V1ControllerRevision`[1] in v11.0.0 was `RuntimeRawExtension`[2], but the `RuntimeRawExtension` was not support for v12.0.0 or later. Therefore `V1ControllerRevision` in v18.20.0[3] it has been changed to` object` type. V1ServiceReference The `service` parameter of `V1APIServiceSpec`[4] in v11.0.0 was `V1ServiceReference`[5], but the `V1ServiceReference` was not support for v12.0.0 or later. Therefore `V1APIServiceSpec` in v18.20.0[6] it has been changed to `ApiregistrationV1ServiceReference`[7]. V1LimitRangeItem The `type` parameter of `V1LimitRangeItem`[8] in v11.0.0 was optional type, but the parameter has changed to must param in v18.20.0[9]. Therefore, the parameter should be added into `must_param`. [1] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1ControllerRevision.md [2] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/RuntimeRawExtension.md [3] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/V1ControllerRevision.md [4] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1APIServiceSpec.md [5] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1ServiceReference.md [6] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/V1APIServiceSpec.md [7] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/ApiregistrationV1ServiceReference.md [8] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1LimitRangeItem.md [9] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/V1LimitRangeItem.md Closes-Bug: #1928153 Closes-Bug: #1940602 Change-Id: If77be98d0c4cec6f4c860ae84978f59772f9a6ee
164 lines
3.2 KiB
Plaintext
164 lines
3.2 KiB
Plaintext
alabaster==0.7.10
|
|
alembic==0.9.6
|
|
amqp==2.4.0
|
|
anyjson==0.3.3
|
|
appdirs==1.4.3
|
|
asn1crypto==0.24.0
|
|
bcrypt==3.1.4
|
|
beautifulsoup4==4.6.0
|
|
cachetools==2.0.1
|
|
castellan==0.16.0
|
|
certifi==2018.1.18
|
|
cffi==1.14.0
|
|
chardet==3.0.4
|
|
cliff==2.11.0
|
|
cmd2==0.8.2
|
|
contextlib2==0.5.5
|
|
coverage==4.0
|
|
cryptography==2.7
|
|
ddt===1.0.1
|
|
debtcollector==1.19.0
|
|
decorator==4.4.1
|
|
deprecation==2.0
|
|
doc8==0.8.1
|
|
docutils==0.14
|
|
dogpile.cache==0.6.5
|
|
dulwich==0.19.0
|
|
enum-compat==0.0.2
|
|
eventlet==0.18.2
|
|
extras==1.0.0
|
|
fasteners==0.14.1
|
|
fixtures==3.0.0
|
|
future==0.16.0
|
|
futurist==2.1.0
|
|
glance-store==2.4.0
|
|
google-auth==1.4.1
|
|
greenlet==0.4.15
|
|
idna==2.6
|
|
imagesize==1.0.0
|
|
ipaddress==1.0.19
|
|
iso8601==0.1.12
|
|
Jinja2==2.10
|
|
jmespath==0.9.3
|
|
jsonpatch==1.21
|
|
jsonpointer==2.0
|
|
jsonschema==3.2.0
|
|
keystoneauth1==4.3.1
|
|
keystonemiddleware==4.17.0
|
|
kombu==4.3.0
|
|
kubernetes==18.20.0
|
|
linecache2==1.0.0
|
|
Mako==1.0.7
|
|
MarkupSafe==1.1
|
|
monotonic==1.4
|
|
mox3==0.25.0
|
|
msgpack==0.5.6
|
|
munch==2.2.0
|
|
netaddr==0.7.18
|
|
netifaces==0.10.6
|
|
oauthlib==2.0.7
|
|
openstacksdk==0.44.0
|
|
os-api-ref==1.5.0
|
|
os-client-config==1.29.0
|
|
os-service-types==1.7.0
|
|
osc-lib==1.10.0
|
|
oslo.cache==1.29.0
|
|
oslo.concurrency==3.26.0
|
|
oslo.config==6.8.0
|
|
oslo.context==2.22.0
|
|
oslo.db==5.0.0
|
|
oslo.i18n==5.0.1
|
|
oslo.log==3.36.0
|
|
oslo.messaging==9.3.0
|
|
oslo.middleware==3.31.0
|
|
oslo.policy==3.6.0
|
|
oslo.reports==1.18.0
|
|
oslo.rootwrap==5.8.0
|
|
oslo.serialization==2.18.0
|
|
oslo.service==1.24.0
|
|
oslo.upgradecheck==1.3.0
|
|
oslo.utils==4.8.0
|
|
oslo.versionedobjects==1.33.3
|
|
oslotest==3.2.0
|
|
packaging==20.4
|
|
paramiko==2.7.1
|
|
Paste==2.0.2
|
|
PasteDeploy==1.5.0
|
|
pbr==5.5.0
|
|
pkg-resources==0.0.0
|
|
prettytable==0.7.2
|
|
psutil==5.4.3
|
|
pyasn1-modules==0.2.1
|
|
pyasn1==0.4.2
|
|
pycadf==2.7.0
|
|
pycparser==2.18
|
|
Pygments==2.2.0
|
|
pyinotify==0.9.6
|
|
PyMySQL==0.10.1
|
|
PyNaCl==1.2.1
|
|
pyOpenSSL==17.5.0
|
|
pyparsing==2.2.0
|
|
pyperclip==1.6.0
|
|
pyroute2==0.4.21
|
|
python-barbicanclient==4.5.2
|
|
python-blazarclient==1.0.1
|
|
python-dateutil==2.7.2
|
|
python-editor==1.0.3
|
|
python-glanceclient==2.9.1
|
|
python-heatclient==1.10.0
|
|
python-keystoneclient==3.8.0
|
|
python-mimeparse==1.6.0
|
|
python-mistralclient==4.2.0
|
|
python-neutronclient==6.7.0
|
|
python-novaclient==9.1.0
|
|
python-subunit==1.0.0
|
|
python-swiftclient==3.5.0
|
|
python-tackerclient==0.8.0
|
|
python-cinderclient==8.0.0
|
|
pytz==2018.3
|
|
PyYAML==5.4.1
|
|
repoze.lru==0.7
|
|
requests-oauthlib==0.8.0
|
|
requests==2.25.1
|
|
requests-mock==1.2.0
|
|
requestsexceptions==1.4.0
|
|
restructuredtext-lint==1.1.3
|
|
rfc3986==1.2.0
|
|
Routes==2.3.1
|
|
rsa==3.4.2
|
|
setuptools==21.0.0
|
|
simplejson==3.13.2
|
|
snowballstemmer==1.2.1
|
|
sqlalchemy-migrate==0.11.0
|
|
SQLAlchemy==1.3.11
|
|
sqlparse==0.2.4
|
|
statsd==3.2.2
|
|
stestr==2.0.0
|
|
stevedore==3.3.0
|
|
tempest==22.0.0
|
|
Tempita==0.5.2
|
|
tenacity==4.12.0
|
|
testresources==2.0.1
|
|
testscenarios==0.5.0
|
|
testtools==2.2.0
|
|
tooz==1.58.0
|
|
traceback2==1.4.0
|
|
unittest2==1.1.0
|
|
urllib3==1.24.2
|
|
vine==1.1.4
|
|
voluptuous==0.11.1
|
|
waitress==1.1.0
|
|
warlock==1.3.3
|
|
WebOb==1.7.1
|
|
websocket-client==0.47.0
|
|
WebTest==2.0.27
|
|
wrapt==1.10.11
|
|
|
|
# TODO(yasufum) Remove following comments after those two packages have devstack script.
|
|
# NOTE(yasufum) We don't install tosca-parser and heat-translator of stable,
|
|
# but the latest revision from git repo for development.
|
|
# If you install packages, comment out two lines of `install_package_gitrepo` in
|
|
# `devstack/plugin.sh` in addition to activate following lines.
|
|
heat-translator==2.3.0 # Apache-2.0
|
|
tosca-parser==2.3.0 # Apache-2.0
|