[Deploy problem] deploy openstack+monasca with kolla-ansible 8.0.0.0rc1.

Mark Goddard mark at stackhpc.com
Tue May 7 13:23:12 UTC 2019


On Fri, 3 May 2019 at 09:13, Ming-Che Liu <gn01737625 at gmail.com> wrote:

> Apologies,this mail will attach rabbitmq log file(ues command "docker logs
> --follow rabbitmq") for debug.
>
> Logs in /var/lib/docker/volumes/kolla_logs/_data/rabbitmq are empty.
>
>
Hmm, there's not much to go on there. Are you now running Ubuntu 18.04?

One thing that can help is running the container manually via docker run.
It can take a little while to work out the right arguments to pass, but
it's possible.

Mark

> thanks.
>
> Regards,
>
> Ming-Che
>
> Ming-Che Liu <gn01737625 at gmail.com> 於 2019年5月3日 週五 下午3:26寫道:
>
>> Hi Mark,
>>
>> I tried to deploy openstack+monasca with kolla-ansible 8.0.0.0rc1(in the
>> same machine), but still encounter some fatal error.
>>
>> The attached file:golbals.yml is my setting,  machine_package_setting is
>> machine environment setting.
>>
>> The error is:
>> RUNNING HANDLER [rabbitmq : Waiting for rabbitmq to start on first node]
>> ************************************************************
>> fatal: [localhost]: FAILED! => {"changed": true, "cmd": "docker exec
>> rabbitmq rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbitmq.pid", "delta":
>> "0:00:00.861054", "end": "2019-05-03 15:17:42.387873", "msg": "non-zero
>> return code", "rc": 137, "start": "2019-05-03 15:17:41.526819", "stderr":
>> "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
>>
>> When I use command "docker inspect rabbitmq_id |grep RestartCount", I
>> find rabbitmq will restart many times
>>
>> such as:
>>
>> kaga at agre-an21:~$ sudo docker inspect 5567f37cc78a |grep RestartCount
>>         "RestartCount": 15,
>>
>> Could please help to solve this problem? Thanks.
>>
>> Regards,
>>
>> Ming-Che
>>
>>
>>
>>
>>
>>
>>
>> Ming-Che Liu <gn01737625 at gmail.com> 於 2019年5月3日 週五 上午9:22寫道:
>>
>>> Hi Mark,
>>>
>>> Sure, I will do that, thanks.
>>>
>>> Regards,
>>>
>>> Ming-Che
>>>
>>> Mark Goddard <mark at stackhpc.com> 於 2019年5月3日 週五 上午1:12寫道:
>>>
>>>>
>>>>
>>>> On Wed, 1 May 2019 at 17:10, Ming-Che Liu <gn01737625 at gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I deployed openstack+monasca with kolla-ansible 8.0.0.0rc1.
>>>>>
>>>>> I follow the steps as mentioned in
>>>>> https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html
>>>>>
>>>>> The setting in my computer's globals.yml as same as [Quick Start]
>>>>> tutorial (attached file: globals.yml is my setting).
>>>>>
>>>>> My machine environment as following:
>>>>> OS: Ubuntu 16.04
>>>>> Kolla-ansible verions: 8.0.0.0rc1
>>>>> ansible version: 2.7
>>>>>
>>>>> When I execute [bootstrap-servers] and [prechecks], it seems ok (no
>>>>> fatal error or any interrupt).
>>>>>
>>>>> But when I execute [deploy], it will occur some error about
>>>>> rabbitmq(when I set enable_rabbitmq:yes) and nova compute service(when I
>>>>> set  enable_rabbitmq:no).
>>>>>
>>>>> I have some detail screenshot about the errors as attached files,
>>>>> could you please help me to solve this problem?
>>>>>
>>>>> Thank you very much.
>>>>>
>>>>> [Attached file description]:
>>>>> globals.yml: my computer's setting about kolla-ansible
>>>>>
>>>>> As mentioned above, the following pictures show the errors, the
>>>>> rabbitmq error will occur if I set [enable_rabbitmq:yes], the nova compute
>>>>> service error will occur if I set [enable_rabbitmq:no].
>>>>>
>>>>
>>>> Hi Ming-Che,
>>>>
>>>> Since Stein, we no longer test Kolla Ansible with Ubuntu 16.04
>>>> upstream. Could you try again using Ubuntu 18.04?
>>>>
>>>> Regards,
>>>> Mark
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190507/7fe1d0a5/attachment.html>


More information about the openstack-discuss mailing list