Skip to content

Commit 74a3139

Browse files
osfricklers10
authored andcommitted
Fix URLs in status check results
The URLs had the wrong order of "/latest/nova" instead of the correct one, leading to "404 not found" errors. Closes-Bug: 2036530 Change-Id: I083381ad2649c06be9443f5ed6a55bddafab4df8 (cherry picked from commit 32dc852) (cherry picked from commit fb59ca6)
1 parent 5c33bd4 commit 74a3139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nova/cmd/status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def _check_machine_type_set(self):
266266
your environment does not contain libvirt based compute hosts.
267267
Use the `nova-manage machine_type list_unset` command to list these instances.
268268
For more details see the following:
269-
https://docs.openstack.org/latest/nova/admin/hw_machine_type.html"""))
269+
https://docs.openstack.org/nova/latest/admin/hw-machine-type.html"""))
270270
return upgradecheck.Result(upgradecheck.Code.WARNING, msg)
271271

272272
return upgradecheck.Result(upgradecheck.Code.SUCCESS)
@@ -276,7 +276,7 @@ def _check_service_user_token(self):
276276
msg = (_("""
277277
Service user token configuration is required for all Nova services.
278278
For more details see the following:
279-
https://docs.openstack.org/latest/nova/admin/configuration/service-user-token.html""")) # noqa
279+
https://docs.openstack.org/nova/latest/admin/configuration/service-user-token.html""")) # noqa
280280
return upgradecheck.Result(upgradecheck.Code.FAILURE, msg)
281281
return upgradecheck.Result(upgradecheck.Code.SUCCESS)
282282

0 commit comments

Comments
 (0)