10.0-community.main.ubuntu.bvt_2 fail due to rabbitmq-plugins

Bug #1620304 reported by Maksim Malchuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Critical
Maksim Malchuk
Mitaka
Fix Released
High
Maksim Malchuk

Bug Description

latest community bvt_2 tests failed due to an error with rabbitmq-plugins

for example: https://ci.fuel-infra.org/view/ISO/job/10.0-community.main.ubuntu.bvt_2/570/

2016-09-05T08:51:31.670494+00:00 err: Execution of '/usr/sbin/rabbitmq-plugins enable rabbitmq_management' returned 70: Error: {cannot_write_enabled_plugins_file,"/etc/rabbitmq/enabled_plugins",
2016-09-05T08:51:31.670494+00:00 err: enoent}
2016-09-05T08:51:31.670494+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util/execution.rb:219:in `execute'
2016-09-05T08:51:31.670494+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute'
2016-09-05T08:51:31.670494+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/provider.rb:237:in `block in has_command'
2016-09-05T08:51:31.670494+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/provider.rb:463:in `block in create_class_and_instance_method'
2016-09-05T08:51:31.670494+00:00 err: /etc/puppet/modules/rabbitmq/lib/puppet/provider/rabbitmq_plugin/rabbitmqplugins.rb:40:in `block in create'
2016-09-05T08:51:31.670494+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:57:in `withumask'
2016-09-05T08:51:31.670494+00:00 err: /etc/puppet/modules/rabbitmq/lib/puppet/provider/rabbitmq_plugin/rabbitmqplugins.rb:40:in `create'
2016-09-05T08:51:31.670494+00:00 err: /etc/puppet/modules/rabbitmq/lib/puppet/type/rabbitmq_plugin.rb:7:in `block (3 levels) in <top (required)>'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/property.rb:498:in `set'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:204:in `sync'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet.rb:246:in `override'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet.rb:246:in `override'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
2016-09-05T08:51:31.674002+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
2016-09-05T08:51:31.674949+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
2016-09-05T08:51:31.675123+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
2016-09-05T08:51:31.675287+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
2016-09-05T08:51:31.675448+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
2016-09-05T08:51:31.675614+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `run'
2016-09-05T08:51:31.675759+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
2016-09-05T08:51:31.675978+00:00 err: /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
2016-09-05T08:51:31.676135+00:00 err: /usr/bin/puppet:8:in `<main>'
2016-09-05T08:51:31.676334+00:00 err: (/Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/ensure) change from absent to present failed: Execution of '/usr/sbin/rabbitmq-plugins enable rabbitmq_management' returned 70: Error: {cannot_write_enabled_plugins_file,"/etc/rabbitmq/enabled_plugins",
2016-09-05T08:51:31.676511+00:00 err: (/Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/ensure) enoent}

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/365628

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

Reviewed: https://review.openstack.org/365628
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=3df13c57ce0db7bfe0edbcf7da5f80ef0d3ae8cd
Submitter: Jenkins
Branch: master

commit 3df13c57ce0db7bfe0edbcf7da5f80ef0d3ae8cd
Author: Maksim Malchuk <email address hidden>
Date: Sun Sep 4 20:03:11 2016 +0300

    Set correct ordering for the rabbitmq_plugin resource

    This change also set the correct way to install rabbitmq plugins on
    the fuel master node.

    Closes-Bug: #1620304
    Change-Id: I31501a67e97821ce0e3c0875bfefe20c168ba9e7
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/365760

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/365760
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=4021747f3307403aff58d66af305a8247285ec8b
Submitter: Jenkins
Branch: stable/mitaka

commit 4021747f3307403aff58d66af305a8247285ec8b
Author: Maksim Malchuk <email address hidden>
Date: Sun Sep 4 20:03:11 2016 +0300

    Set correct ordering for the rabbitmq_plugin resource

    This change also set the correct way to install rabbitmq plugins on
    the fuel master node.

    Closes-Bug: #1620304
    Change-Id: I31501a67e97821ce0e3c0875bfefe20c168ba9e7
    Signed-off-by: Maksim Malchuk <email address hidden>

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Latest community bvt_2 tests are passed, for example https://ci.fuel-infra.org/view/BVT/job/9.0-community.main.ubuntu.bvt_2/480/
Move to Fix Released.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

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.