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.

thanks.

Regards,

Ming-Che

Ming-Che Liu <gn01737625@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@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@gmail.com> 於 2019年5月3日 週五 上午9:22寫道:
Hi Mark,

Sure, I will do that, thanks.

Regards,

Ming-Che

Mark Goddard <mark@stackhpc.com> 於 2019年5月3日 週五 上午1:12寫道:


On Wed, 1 May 2019 at 17:10, Ming-Che Liu <gn01737625@gmail.com> wrote:
Hello,

I deployed openstack+monasca with kolla-ansible 8.0.0.0rc1.


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