Rabbitmq::Install::Rabbitmqadmin failed to install

Bug #1412712 reported by Anastasia Palkina
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Low
Bogdan Dobrelya

Bug Description

{"build_id": "2015-01-18_22-54-45",
"ostf_sha": "92ad9f8e4c509c82e07ceb093b5d579205c76014",
"build_number": "68",
"auth_required": true,
"api": "1.0",
"nailgun_sha": "21a8b7f0eac58ff8139f436392fceec293cfd619",
"production": "docker",
"fuelmain_sha": "",
"astute_sha": "82125b0eef4e5a758fd4afa8917812e09a1f7dac",
"feature_groups": ["mirantis"],
"release": "6.1",
"release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-01-18_22-54-45", "ostf_sha": "92ad9f8e4c509c82e07ceb093b5d579205c76014", "build_number": "68", "api": "1.0", "nailgun_sha": "21a8b7f0eac58ff8139f436392fceec293cfd619", "production": "docker", "fuelmain_sha": "", "astute_sha": "82125b0eef4e5a758fd4afa8917812e09a1f7dac", "feature_groups": ["mirantis"], "release": "6.1", "fuellib_sha": "5edc8396cbed1d44a097d9997700656f6268709f"}}},
"fuellib_sha": "5edc8396cbed1d44a097d9997700656f6268709f"}

1. Create new environment (Ubuntu, HA)
2. Choose neutron, vlan
3. Add 3 controller+operating system, 1 compute, 1 cinder
4. Start deployment. It was successful
5. Start OSTF test. It was successful
6. But there is error on third controller (node-16) in puppet.log:

2015-01-19 16:38:42 ERR

 (/Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Staging::File[rabbitmqadmin]/Exec[/var/lib/rabbitmq/rabbitmqadmin]/returns) change from notrun to 0 failed: curl -k --noproxy localhost --retry 30 --retry-delay 6 -f -L -o /var/lib/rabbitmq/rabbitmqadmin http://nova:HTogPu9P@localhost:15672/cli/rabbitmqadmin returned 7 instead of one of [0]

Logs are here: https://drive.google.com/a/mirantis.com/file/d/0B6SjzarTGFxaZFNaR2lDbzRKcnc/view?usp=sharing

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

This failure is non fatal for the deployed environment, the only impact is the rabbitmqadmin script would be missing, but it could be installed later manually as well.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Bogdan Dobrelya (bogdando)
importance: High → Low
status: New → Confirmed
summary: - ERR: curl -k --noproxy localhost --retry 30 --retry-delay 6 -f -L -o
- /var/lib/rabbitmq/rabbitmqadmin
- http://nova:HTogPu9P@localhost:15672/cli/rabbitmqadmin returned 7
- instead of one of [0]
+ Rabbitmq::Install::Rabbitmqadmin failed to install
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/148494
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=47e89058bf02c567b77f5366a79a192633354edb
Submitter: Jenkins
Branch: master

commit 47e89058bf02c567b77f5366a79a192633354edb
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Jan 20 11:25:11 2015 +0100

    Add retries for rabbitmqadmin curl command

    W/o this patch, Rabbitmq::Install::Rabbitmqadmin
    sometimes fails to install the rabbitmqadmin script if
    there are some connectivity (which is non-transient) errors.

    The solution is to add retries for exec command as curl allows
    retries only for transient errors and fails for connectivity
    errors.

    Closes-bug: #1412712
    Related-bug: #1410119

    Change-Id: I681599ea4a2756e7a442c194c68cf0a484f24f7f
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #165

"build_id": "2015-03-05_22-54-44", "ostf_sha": "8df5f2fcdae3bc9ea7d700ffd64db820baf51914", "build_number": "165", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-03-05_22-54-44", "ostf_sha": "8df5f2fcdae3bc9ea7d700ffd64db820baf51914", "build_number": "165", "api": "1.0", "nailgun_sha": "f12221d79e0d97c7b4405331e11a54fc5dcfcd4e", "production": "docker", "python-fuelclient_sha": "4eb787f1ad969bd23c93d192865543dbd45a8626", "astute_sha": "ca7635a356a90404d3dedb5cf26f1d16e07144a9", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "0e45b31db1677651d6ddb1c852d62ebfd8875dcd", "fuellib_sha": "07288d7bfde840b7ec47292ff96a3b670a79c859"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "f12221d79e0d97c7b4405331e11a54fc5dcfcd4e", "production": "docker", "python-fuelclient_sha": "4eb787f1ad969bd23c93d192865543dbd45a8626", "astute_sha": "ca7635a356a90404d3dedb5cf26f1d16e07144a9", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "0e45b31db1677651d6ddb1c852d62ebfd8875dcd", "fuellib_sha": "07288d7bfde840b7ec47292ff96a3b670a79c859"

Changed in fuel:
status: Fix Committed → Fix Released
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.