Cannot add a node to the segment

Bug #2058154 reported by aktong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
masakari
New
Undecided
Unassigned

Bug Description

I cannot add a node to the created segment. The error message is as follows:

HttpException: 500: Server Error for url: http://10.253.125.252:15868/v1/segments/0a5cdd85-ebca-4e71-a7aa-375e569ddff4/hosts, Unexpected API Error. Please report this at https://bugs.launchpad.net/masakari/ and attach the Masakari API log if possible.
<class 'masakari.exception.MasakariException'>

Additional information is as follows, and advance thanks for your assistance. I am installing OpenStack with Kolla Ansible version 17.2.1.dev10."

Failed to create segment host: Namespace(formatter='table', columns=[], noindent=False, variables=[], prefix='', max_width=0, fit_width=False, print_empty=False, name='cf9c250d-77a0-41c4-bf01-26f4baab19b0', type='compute', control_attributes='SSH', segment_id='0a5cdd85-ebca-4e71-a7aa-375e569ddff4', reserved=None, on_maintenance=None)
HttpException: 500: Server Error for url: http://10.253.125.252:15868/v1/segments/0a5cdd85-ebca-4e71-a7aa-375e569ddff4/hosts, Unexpected API Error. Please report this at https://bugs.launchpad.net/masakari/ and attach the Masakari API log if possible.
<class 'masakari.exception.MasakariException'>
Traceback (most recent call last):
  File "/opt/kolla/venv/lib/python3.10/site-packages/cliff/app.py", line 410, in run_subcommand
    result = cmd.run(parsed_args)
  File "/opt/kolla/venv/lib/python3.10/site-packages/osc_lib/command/command.py", line 39, in run
    return super(Command, self).run(parsed_args)
  File "/opt/kolla/venv/lib/python3.10/site-packages/cliff/display.py", line 117, in run
    column_names, data = self.take_action(parsed_args)
  File "/opt/kolla/venv/lib/python3.10/site-packages/masakariclient/osc/v1/host.py", line 177, in take_action
    raise ex
  File "/opt/kolla/venv/lib/python3.10/site-packages/masakariclient/osc/v1/host.py", line 172, in take_action
    host = masakari_client.create_host(
  File "/opt/kolla/venv/lib/python3.10/site-packages/openstack/instance_ha/v1/_proxy.py", line 150, in create_host
    return self._create(_host.Host, segment_id=segment_id, **attrs)
  File "/opt/kolla/venv/lib/python3.10/site-packages/openstack/proxy.py", line 604, in _create
    return res.create(self, base_path=base_path)
  File "/opt/kolla/venv/lib/python3.10/site-packages/openstack/resource.py", line 1535, in create
    self._translate_response(response, **response_kwargs)
  File "/opt/kolla/venv/lib/python3.10/site-packages/openstack/resource.py", line 1287, in _translate_response
    exceptions.raise_from_response(response, error_message=error_message)
  File "/opt/kolla/venv/lib/python3.10/site-packages/openstack/exceptions.py", line 250, in raise_from_response
    raise cls(
openstack.exceptions.HttpException: HttpException: 500: Server Error for url: http://10.253.125.252:15868/v1/segments/0a5cdd85-ebca-4e71-a7aa-375e569ddff4/hosts, Unexpected API Error. Please report this at https://bugs.launchpad.net/masakari/ and attach the Masakari API log if possible.
<class 'masakari.exception.MasakariException'>
clean_up CreateHost: HttpException: 500: Server Error for url: http://10.253.125.252:15868/v1/segments/0a5cdd85-ebca-4e71-a7aa-375e569ddff4/hosts, Unexpected API Error. Please report this at https://bugs.launchpad.net/masakari/ and attach the Masakari API log if possible.
<class 'masakari.exception.MasakariException'>

aktong (aktong)
information type: Private Security → Private
information type: Private → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.