mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Fix error msg wording and sdb docs
This commit is contained in:
@@ -96,7 +96,7 @@ class PodManager(object):
|
|||||||
error_msg = _('Invalid openshift or k8s cluster credential')
|
error_msg = _('Invalid openshift or k8s cluster credential')
|
||||||
if e.status == 403:
|
if e.status == 403:
|
||||||
error_msg = _(
|
error_msg = _(
|
||||||
'Failed to create secret for container group {} because the needed service account roles are needed. Add get, create and delete roles for secret resources for your cluster credential.'.format(
|
'Failed to create secret for container group {} because additional service account role rules are needed. Add get, create and delete role rules for secret resources for your cluster credential.'.format(
|
||||||
job.instance_group.name
|
job.instance_group.name
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -113,7 +113,7 @@ class PodManager(object):
|
|||||||
error_msg = _('Invalid openshift or k8s cluster credential')
|
error_msg = _('Invalid openshift or k8s cluster credential')
|
||||||
if e.status == 403:
|
if e.status == 403:
|
||||||
error_msg = _(
|
error_msg = _(
|
||||||
'Failed to delete secret for container group {} because the needed service account roles are needed. Add create and delete roles for secret resources for your cluster credential.'.format(
|
'Failed to delete secret for container group {} because additional service account role rules are needed. Add create and delete role rules for secret resources for your cluster credential.'.format(
|
||||||
job.instance_group.name
|
job.instance_group.name
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -146,10 +146,10 @@ a telnet session:
|
|||||||
|
|
||||||
def run(self, pk, **kwargs):
|
def run(self, pk, **kwargs):
|
||||||
# This will set a breakpoint and open an interactive Python
|
# This will set a breakpoint and open an interactive Python
|
||||||
# debugger exposed on a random port between 7899-7999. The chosen
|
# debugger exposed on a random port between 6899-6999. The chosen
|
||||||
# port will be reported as a warning in the AWX logs, e.g.,
|
# port will be reported as a warning in the AWX logs, e.g.,
|
||||||
#
|
#
|
||||||
# [2017-01-30 22:26:04,366: WARNING/Worker-11] Remote Debugger:7900: Please telnet into 0.0.0.0 7900.
|
# [2017-01-30 22:26:04,366: WARNING/Worker-11] Remote Debugger:6900: Please telnet into 0.0.0.0 6900.
|
||||||
#
|
#
|
||||||
# You can access it from your host machine using telnet:
|
# You can access it from your host machine using telnet:
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user