[librarary][idempotency] dump_rabbitmq_definitions.pp has non-idempotent execs

Bug #1526885 reported by Roman Sokolkov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Library (Deprecated)

Bug Description

Environment:
- MOS 8.0 (fuel-8.0-284-2015-12-10_19-42-00.iso)

Steps to reproduce:
1) execute following command on deployed controller
root@node-1:~/lcm# puppet apply --noop /etc/puppet/modules/osnailyfacter/modular/astute/dump_rabbitmq_definitions.pp
Notice: Scope(Class[main]): MODULAR: dump_rabbitmq_definitions.pp
Notice: Compiled catalog for node-1.domain.tld in environment production in 0.22 seconds
Notice: /Stage[main]/Main/Exec[rabbitmq-dump-definitions]/returns: current_value notrun, should be 0 (noop)
Notice: /Stage[main]/Main/Exec[rabbitmq-dump-clean]/returns: current_value notrun, should be 0 (noop)
Notice: Class[Main]: Would have triggered 'refresh' from 2 events
Notice: Stage[main]: Would have triggered 'refresh' from 1 events
Notice: Finished catalog run in 0.97 seconds

Expected result:
No changes

Actual result:
2 changes

Tags: area-library
Ilya Kutukov (ikutukov)
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
milestone: none → 8.0-updates
importance: Undecided → Medium
status: New → Confirmed
tags: added: area-library
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This task probably shouldn't be idempotent as it's a task to backup the current rabbitmq definitions for restoration on failover. This exec should run everytime to collect the current definitions.

Revision history for this message
Bartłomiej Piotrowski (bpiotrowski) wrote :

Yeah, let's move it to Invalid.

Ilya Kutukov (ikutukov)
Changed in fuel:
milestone: 8.0-updates → 8.0
Changed in fuel:
status: Confirmed → Invalid
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.