Skip to content

DeploymentConfig in version v1 cannot be handled #52

@wenchma

Description

@wenchma

I provisioned a postgresql-apb service, it reported this error:

Traceback (most recent call last):
  File "/tmp/ansible_nop3uq/ansible_module_openshift_raw.py", line 165, in <module>
    main()
  File "/tmp/ansible_nop3uq/ansible_module_openshift_raw.py", line 161, in main
    KubernetesRawModule().execute_module()
  File "/tmp/ansible_nop3uq/ansible_modlib.zip/ansible/module_utils/k8s/raw.py", line 80, in execute_module
  File "/tmp/ansible_nop3uq/ansible_modlib.zip/ansible/module_utils/k8s/raw.py", line 138, in perform_action
  File "/usr/lib/python2.7/site-packages/openshift/dynamic/client.py", line 33, in inner
    raise api_exception(e)
openshift.dynamic.exceptions.BadRequestError: 400
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Date': 'Wed, 11 Jul 2018 02:34:14 GMT', 'Content-Length': '241', 'Content-Type': 'application/json', 'Cache-Control': 'no-store'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"DeploymentConfig in version \"v1\" cannot be handled as a DeploymentConfig: [pos 597]: json: expect char '\"' but got char '8'","reason":"BadRequest","code":400}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions