Extend project delete command description

"openstack project delete" command doesn't try to figure out if
other services are using specified project somehow before trying
to delete it. This patch extends command description to ensure
that this is clearly communicated to users.

Related-bug: #2118900
Change-Id: I3ae0b2a8f04d4f791cab46ccd89f400549d24ecd
Signed-off-by: Alexey Stupnikov <aleksey.stupnikov@gmail.com>
This commit is contained in:
Alexey Stupnikov
2025-09-19 19:37:28 +02:00
parent 3c3ea30bd3
commit c0ada2d6ab
2 changed files with 16 additions and 2 deletions

View File

@@ -105,7 +105,14 @@ class CreateProject(command.ShowOne):
class DeleteProject(command.Command):
_description = _("Delete project(s)")
_description = _(
"Delete project(s). This command will remove specified "
"existing project(s) if an active user is authorized to do "
"this. If there are resources managed by other services "
"(for example, Nova, Neutron, Cinder) associated with "
"specified project(s), delete operation will proceed "
"regardless."
)
def get_parser(self, prog_name):
parser = super().get_parser(prog_name)

View File

@@ -146,7 +146,14 @@ class CreateProject(command.ShowOne):
class DeleteProject(command.Command):
_description = _("Delete project(s)")
_description = _(
"Delete project(s). This command will remove specified "
"existing project(s) if an active user is authorized to do "
"this. If there are resources managed by other services "
"(for example, Nova, Neutron, Cinder) associated with "
"specified project(s), delete operation will proceed "
"regardless."
)
def get_parser(self, prog_name):
parser = super().get_parser(prog_name)