Reviewed: https://review.openstack.org/88332 Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=95576e82c77981d832dac299bf22930719f22bb2 Submitter: Jenkins Branch: master
commit 95576e82c77981d832dac299bf22930719f22bb2 Author: Vladimir Kuklin <email address hidden> Date: Wed Apr 16 21:34:47 2014 +0400
Fix swift-ring-builder ordering
Tie ring_*_device resource to ring_devices resource by setting autorequire, thus making ring_devices resource run after ring_*_device and ensure it is before rebalance anchor
How to test:
1) install swift binaries
2) run: rm /var/lib/puppet/state/graphs/* && puppet apply --graph -vd --modulepath /home/vvk/git/fuel/deployment/puppet/ -e 'anchor{"rebalance_begin":} Ring_devices<||> -> Anchor['rebalance_begin'] ring_devices{'all': storages=> [{"storage_address"=>"10.10.10.10"}] }'
3) read /var/lib/puppet/state/graphs/relationships.dot
The purpose is to set all ring_*_device before Anchor['rebalance_begin']
Change-Id: If9e724342eeeb8399093103a875719b82a429bc5 Closes-Bug: #1305826
Reviewed: https:/ /review. openstack. org/88332 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=95576e82c77 981d832dac299bf 22930719f22bb2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 95576e82c77981d 832dac299bf2293 0719f22bb2
Author: Vladimir Kuklin <email address hidden>
Date: Wed Apr 16 21:34:47 2014 +0400
Fix swift-ring-builder ordering
Tie ring_*_device resource to ring_devices resource
by setting autorequire, thus making ring_devices resource
run after ring_*_device and ensure it is before rebalance
anchor
How to test:
1) install swift binaries
2) run: puppet/ state/graphs/ * && puppet apply --graph -vd git/fuel/ deployment/ puppet/ -e "rebalance_ begin": } Ring_devices<||> -> 'rebalance_ begin'] ring_devices{'all': storages=> storage_ address" =>"10.10. 10.10"} ] }'
rm /var/lib/
--modulepath /home/vvk/
'anchor{
Anchor[
[{"
3) read /var/lib/ puppet/ state/graphs/ relationships. dot
The purpose is to set all ring_*_device before 'rebalance_ begin']
Anchor[
Change-Id: If9e724342eeeb8 399093103a87571 9b82a429bc5
Closes-Bug: #1305826