Fix error msg wording and sdb docs

This commit is contained in:
Christian M. Adams
2021-06-03 14:16:05 -04:00
parent a0b14b994d
commit fe02c0b157
2 changed files with 4 additions and 4 deletions

View File

@@ -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
) )
) )

View File

@@ -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:
# #