mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Merge pull request #10348 from rooftopcellist/container_groups_error
Fix error msg wording and sdb docs SUMMARY Fixes wording in container groups error message Updates ports for sdb debugging docs ISSUE TYPE Bugfix Pull Request COMPONENT NAME API Reviewed-by: Shane McDonald <me@shanemcd.com>
This commit is contained in:
commit
30b7535ca2
@ -96,7 +96,7 @@ class PodManager(object):
|
||||
error_msg = _('Invalid openshift or k8s cluster credential')
|
||||
if e.status == 403:
|
||||
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
|
||||
)
|
||||
)
|
||||
@ -113,7 +113,7 @@ class PodManager(object):
|
||||
error_msg = _('Invalid openshift or k8s cluster credential')
|
||||
if e.status == 403:
|
||||
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
|
||||
)
|
||||
)
|
||||
|
||||
@ -146,10 +146,10 @@ a telnet session:
|
||||
|
||||
def run(self, pk, **kwargs):
|
||||
# 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.,
|
||||
#
|
||||
# [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:
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user