Containerized rabbitmq can't be started

Bug #1684044 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Bogdan Dobrelya

Bug Description

Description:

The error message is "Too short cookie string". Perhaps it is so because of the missing erlang cookie configured by t-h-t.

Reproduce steps:

1) Deploy containerized undercloud with rabbitmq service by t-h-t templates [0].
2) Rabbitmq can't start. The command to reproduce it manually:

docker run --env KOLLA_BOOTSTRAP=True \
  --env KOLLA_CONFIG_STRATEGY=COPY_ALWAYS \
  -it --rm --name rmq \
  -v /var/lib/rabbitmq/:/var/lib/rabbitmq \
  -v /var/lib/kolla/config_files/rabbitmq.json:/var/lib/kolla/config_files/config.json:ro \
  -v /var/lib/config-data/rabbitmq/etc/rabbitmq/:/etc/rabbitmq/:ro \
  -v /etc/hosts:/etc/hosts:ro \
  -v /etc/localtime:/etc/localtime:ro \
  tripleoupstream/centos-binary-rabbitmq:latest /usr/lib/rabbitmq/bin/rabbitmq-server

[0] https://review.openstack.org/#/c/419040/

Environment:

Pike (t-h-t master branch)

Tags: containers
Changed in tripleo:
assignee: nobody → Bogdan Dobrelya (bogdando)
milestone: none → pike-2
importance: Undecided → Medium
status: New → Triaged
tags: added: containers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/457927

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/457984

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

The proper erlang cookie doesn't fix the issue. Here is a post start crash dump example http://paste.openstack.org/show/rcy9kJ6uhwAMozpZYRxL/

Changed in tripleo:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Bogdan Dobrelya (<email address hidden>) on branch: master
Review: https://review.openstack.org/457927

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/458407

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Bogdan Dobrelya (<email address hidden>) on branch: master
Review: https://review.openstack.org/457984
Reason: it doesn't do anything, looks obsoleted now

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

This should be my custom env issue. Rabbit works for CI jobs, so...

Changed in tripleo:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/458407
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=3dad0fdc4ef09855233b8f77098bbd7a7a372aa1
Submitter: Jenkins
Branch: master

commit 3dad0fdc4ef09855233b8f77098bbd7a7a372aa1
Author: Steven Hardy <email address hidden>
Date: Thu Apr 20 10:10:33 2017 +0100

    Save DefaultPasswords values for undercloud deploy

    There are a few legacy secrets created via the heat stack which
    aren't currently generated via tripleo-common, so we need to save
    these values or they get re-generated when you re-run undercloud
    deploy.

    Note adding the test also required some fixups to make it run on
    python3.

    Change-Id: Ib7e30ec7ecb3cc35b333e72a8b56b7e3c7d96899
    Related-Bug: #1684044

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.