Comment 7 for bug 2047360

Revision history for this message
aymen mz (aymenmz99) wrote :

this issue is still persist:

Starting new HTTP connection (1): 10.0.0.4:9511
http://10.0.0.4:9511 "POST /v1/clustertemplates HTTP/1.1" 500 169
RESP: [500] Connection: close Content-Length: 169 Content-Type: application/json Date: Mon, 13 May 2024 11:22:08 GMT OpenStack-API-Maximum-Version: container-infra 1.11 OpenStack-API-Minimum-Version: container-infra 1.1 OpenStack-API-Version: container-infra 1.11 Server: Werkzeug/3.0.1 Python/3.10.12 vary: OpenStack-API-Version x-openstack-request-id: req-8c6db1fb-4ff9-4ffb-8b9a-599d7aecc598
RESP BODY: {"errors": [{"request_id": "", "code": "server", "status": 500, "title": "Configuration file ~/", "detail": "Configuration file ~/.kube/config not found", "links": []}]}
POST call to container-infra for http://10.0.0.4:9511/v1/clustertemplates used request id req-8c6db1fb-4ff9-4ffb-8b9a-599d7aecc598
Configuration file ~/ (HTTP 500) (Request-ID: req-8c6db1fb-4ff9-4ffb-8b9a-599d7aecc598)
Traceback (most recent call last):
  File "/home/aymen/.local/lib/python3.10/site-packages/cliff/app.py", line 410, in run_subcommand
    result = cmd.run(parsed_args)
  File "/home/aymen/.local/lib/python3.10/site-packages/osc_lib/command/command.py", line 38, in run
    return super(Command, self).run(parsed_args)
  File "/home/aymen/.local/lib/python3.10/site-packages/cliff/display.py", line 117, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/local/lib/python3.10/dist-packages/magnumclient/osc/v1/cluster_templates.py", line 296, in take_action
    ct = mag_client.cluster_templates.create(**args)
  File "/usr/local/lib/python3.10/dist-packages/magnumclient/v1/basemodels.py", line 112, in create
    return self._create(self._path(), new)
  File "/usr/local/lib/python3.10/dist-packages/magnumclient/common/base.py", line 45, in _create
    resp, body = self.api.json_request('POST', url, body=body)
  File "/usr/local/lib/python3.10/dist-packages/magnumclient/common/httpclient.py", line 385, in json_request
    resp = self._http_request(url, method, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/magnumclient/common/httpclient.py", line 367, in _http_request
    raise exceptions.from_response(
magnumclient.common.apiclient.exceptions.InternalServerError: Configuration file ~/ (HTTP 500) (Request-ID: req-8c6db1fb-4ff9-4ffb-8b9a-599d7aecc598)
clean_up CreateClusterTemplate: Configuration file ~/ (HTTP 500) (Request-ID: req-8c6db1fb-4ff9-4ffb-8b9a-599d7aecc598)
END return value: 1