[openstack-ansible] Re: Openstack Stack issues

Premkumar Subramaniyan premkumar at aarnanetworks.com
Tue May 4 09:36:57 UTC 2021


Hi Jonathan,

*Thanks for the detailed explanation. Could please share the link to
join in the  IRC channel #openstack-ansible*
After reinstallation, the heat stack problem solved. No, I have issues in
the nova-compute.

Stack creation failed due this any idea for this.
fatal: [aio1 -> 172.29.238.211]: FAILED! => {"attempts": 8, "changed":
false, "cmd": ["/openstack/venvs/nova-21.2.4/bin/nova-status", "upgrade",
"check"], "delta": "0:00:02.559395", "end": "2021-05-04 07:32:41.648653",
"failed_when_result": true, "msg": "non-zero return code", "rc": 255,
"start": "2021-05-04 07:32:39.089258", "stderr": "", "stderr_lines": [],
"stdout": "Error:\nTraceback (most recent call last):\n  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/nova/cmd/status.py\",
line 478, in main\n    ret = fn(*fn_args, **fn_kwargs)\n  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/oslo_upgradecheck/upgradecheck.py\",
line 102, in check\n    result = func(self)\n  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/nova/cmd/status.py\",
line 165, in _check_placement\n    versions = self._placement_get(\"/\")\n
 File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/nova/cmd/status.py\",
line 155, in _placement_get\n    return client.get(path,
raise_exc=True).json()\n  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/keystoneauth1/adapter.py\",
line 386, in get\n    return self.request(url, 'GET', **kwargs)\n  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/keystoneauth1/adapter.py\",
line 248, in request\n    return self.session.request(url, method,
**kwargs)\n  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/keystoneauth1/session.py\",
line 968, in request\n    raise exceptions.from_response(resp, method,
url)\nkeystoneauth1.exceptions.http.ServiceUnavailable: Service Unavailable
(HTTP 503)", "stdout_lines": ["Error:", "Traceback (most recent call
last):", "  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/nova/cmd/status.py\",
line 478, in main", "    ret = fn(*fn_args, **fn_kwargs)", "  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/oslo_upgradecheck/upgradecheck.py\",
line 102, in check", "    result = func(self)", "  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/nova/cmd/status.py\",
line 165, in _check_placement", "    versions =
self._placement_get(\"/\")", "  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/nova/cmd/status.py\",
line 155, in _placement_get", "    return client.get(path,
raise_exc=True).json()", "  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/keystoneauth1/adapter.py\",
line 386, in get", "    return self.request(url, 'GET', **kwargs)", "  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/keystoneauth1/adapter.py\",
line 248, in request", "    return self.session.request(url, method,
**kwargs)", "  File
\"/openstack/venvs/nova-21.2.4/lib/python3.6/site-packages/keystoneauth1/session.py\",
line 968, in request", "    raise exceptions.from_response(resp, method,
url)", "keystoneauth1.exceptions.http.ServiceUnavailable: Service
Unavailable (HTTP 503)"]}

NO MORE HOSTS LEFT


Warm Regards,
Premkumar Subramaniyan
Technical staff
M: +91 9940743669

*CRN Top 10 Coolest Edge Computing Startups of 2020
<https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*


On Tue, May 4, 2021 at 12:56 PM Jonathan Rosser <
jonathan.rosser at rd.bbc.co.uk> wrote:

> You would attach to the heat container as you've already done, then use:
>
> systemctl status heat-api
> journalctl -u heat-api
>
> to see the service status and log for heat-api. Remember that on an
> openstack-ansible deployment the lxc containers are machine containers, not
> application containers so the docker/podman patterns do not apply.
>
> If you join the IRC channel #openstack-ansible we can help out further.
>
> Regards,
> Jonathan.
> On 03/05/2021 17:24, Premkumar Subramaniyan wrote:
>
>
> podman or docker ps -a both are not installed in the lxc container
> root at aio1:~# lxc-attach aio1_heat_api_container-da2feba5
> root at aio1-heat-api-container-da2feba5:~# podman ps -a
> bash: podman: command not found
> root at aio1-heat-api-container-da2feba5:~# docker ps
> bash: docker: command not found
> root at aio1-heat-api-container-da2feba5:~#
>
>
> Warm Regards,
> Premkumar Subramaniyan
> Technical staff
> M: +91 9940743669
>
> *CRN Top 10 Coolest Edge Computing Startups of 2020
> <https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*
>
>
> On Mon, May 3, 2021 at 8:43 PM Ruslanas Gžibovskis <ruslanas at lpic.lt>
> wrote:
>
>> ok, so relaunch it from lxd then :)
>> And try checking lxd container output also, still interesting what is in
>> your lxd containers. maybe you have podman/docker there...
>> connect to lxd and run podman or docker ps -a
>>
>>
>>
>> On Mon, 3 May 2021 at 17:13, Premkumar Subramaniyan <
>> premkumar at aarnanetworks.com> wrote:
>>
>>> Hi Ruslanas
>>> I am running in barmetal.
>>> root at aio1:~# lxc-ls -1
>>> aio1_cinder_api_container-845d8e39
>>> aio1_galera_container-efc46f93
>>> aio1_glance_container-611c15ef
>>> aio1_heat_api_container-da2feba5
>>> aio1_horizon_container-1d6b0098
>>> aio1_keystone_container-d2986dca
>>> aio1_memcached_container-ff56f467
>>> aio1_neutron_server_container-261222e4
>>> aio1_nova_api_container-670ab083
>>> aio1_placement_container-32a0e966
>>> aio1_rabbit_mq_container-fdacf98f
>>> aio1_repo_container-8dc59ab6
>>> aio1_utility_container-924a5576
>>>
>>> Relaunch means I need to run this one openstack-ansible
>>> setup-openstack.yml.
>>> If yes  means, If I run this one my whole openstack itself going to
>>> crash.
>>> I need some document where I can check all the service status and
>>> restart the service.
>>> The only problem is the heat stack is down .
>>>
>>>
>>> Warm Regards,
>>> Premkumar Subramaniyan
>>> Technical staff
>>> M: +91 9940743669
>>>
>>> *CRN Top 10 Coolest Edge Computing Startups of 2020
>>> <https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*
>>>
>>>
>>> On Mon, May 3, 2021 at 7:24 PM Ruslanas Gžibovskis <ruslanas at lpic.lt>
>>> wrote:
>>>
>>>> Yeah Alex, with TripleO it is a limitation, but for ansible deployment,
>>>> there is no limit :)
>>>>
>>>> Premkumar, are you running containerized deployment or baremetal?
>>>>
>>>> If you are running containerized, then you need to check docker ps -a
>>>> or podman ps -a and see what containers failed to start using: grep -v
>>>> Exited\ \(0
>>>> else you can try relaunch ansible deployment again, it should bring up
>>>> missing services.
>>>>
>>>>
>>>> On Mon, 3 May 2021 at 16:40, Premkumar Subramaniyan <
>>>> premkumar at aarnanetworks.com> wrote:
>>>>
>>>>> Hi Alex,
>>>>>      My Current version is Ussuri. Having the issues in both centos7
>>>>> and ubuntu 18.04. After restarting the machine.
>>>>>
>>>>> This is document i followed to bring the openstack AIO
>>>>>
>>>>> https://docs.openstack.org/openstack-ansible/ussuri/user/aio/quickstart.html
>>>>>
>>>>>
>>>>> Warm Regards,
>>>>> Premkumar Subramaniyan
>>>>> Technical staff
>>>>> M: +91 9940743669
>>>>>
>>>>> *CRN Top 10 Coolest Edge Computing Startups of 2020
>>>>> <https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*
>>>>>
>>>>>
>>>>> On Mon, May 3, 2021 at 6:55 PM Alex Schultz <aschultz at redhat.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, May 3, 2021 at 1:53 AM Premkumar Subramaniyan <
>>>>>> premkumar at aarnanetworks.com> wrote:
>>>>>>
>>>>>>> Hi Zane,
>>>>>>>
>>>>>>> How can I bring up the heat service.
>>>>>>>
>>>>>>> root at aio1:/etc/systemd/system#  service heat-api status
>>>>>>> Unit heat-api.service could not be found.
>>>>>>> root at aio1:/etc/systemd/system#  service heat-api restart
>>>>>>> Failed to restart heat-api.service: Unit heat-api.service not found.
>>>>>>> root at aio1:/etc/systemd/system# service heat-api-cfn status
>>>>>>> Unit heat-api-cfn.service could not be found.
>>>>>>> root at aio1:/etc/systemd/system# service heat-api-cloudwatch status
>>>>>>> Unit heat-api-cloudwatch.service could not be found.
>>>>>>> root at aio1:/etc/systemd/system# service heat-engine status
>>>>>>> Unit heat-engine.service could not be found.
>>>>>>>
>>>>>>>
>>>>>> How did you install openstack?  I believe Train was the last version
>>>>>> with centos7 support on RDO.
>>>>>>
>>>>>>
>>>>>>> Warm Regards,
>>>>>>> Premkumar Subramaniyan
>>>>>>> Technical staff
>>>>>>> M: +91 9940743669
>>>>>>>
>>>>>>> *CRN Top 10 Coolest Edge Computing Startups of 2020
>>>>>>> <https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>*
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Apr 30, 2021 at 10:54 PM Zane Bitter <zbitter at redhat.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> On 30/04/21 1:06 am, Premkumar Subramaniyan wrote:
>>>>>>>> > Hi,
>>>>>>>> >
>>>>>>>> >     I am using the Openstack *USURI *version in *Centos7*. Due to
>>>>>>>> some
>>>>>>>> > issues my disk size is full,I freed up the space. Afte that some
>>>>>>>> service
>>>>>>>> > went down. After that I have issues in creating the stack and
>>>>>>>> list
>>>>>>>> > stack.
>>>>>>>>
>>>>>>>> It looks like heat-api at least is still down.
>>>>>>>>
>>>>>>>>
>>>>
>>>> --
>>>> Ruslanas Gžibovskis
>>>> +370 6030 7030
>>>>
>>>
>>
>> --
>> Ruslanas Gžibovskis
>> +370 6030 7030
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210504/5ee427fc/attachment-0001.html>


More information about the openstack-discuss mailing list