swift_hash_path_suffix ensure swift_config change causes exceptions

Bug #1216881 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-swift
Fix Released
High
Dan Prince

Bug Description

As of 4 hours ago (git e7bb58e6ba39d7daeee9069c83451f8898d8a424) I now see the following in all my Swift tests:

Wrapped exception:
No such file or directory - /etc/swift/swift.conf
Error: /Stage[main]/Swift/Swift_config[swift-hash/swift_hash_path_suffix]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory - /etc/swift/swift.conf at 73:/etc/puppet/modules/swift/manifests/init.pp
Notice: /Stage[main]/Swift/User[swift]/ensure: created
Notice: /Stage[main]/Swift/Package[swift]/ensure: created
Notice: /File[/var/lib/swift]/ensure: created

----

The issue seems to be that we are missing a dependency on the swift_config provider to ensure /etc/swift.conf is installed first.

Dan Prince (dan-prince)
Changed in puppet-swift:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Revision history for this message
Dan Prince (dan-prince) wrote :

I sent in a revert fix for this here:

 https://review.openstack.org/#/c/43687/

Mathieu Gagné (mgagne)
Changed in puppet-swift:
status: In Progress → Fix Committed
Mathieu Gagné (mgagne)
Changed in puppet-swift:
milestone: none → 3.0.0
importance: Undecided → High
Mathieu Gagné (mgagne)
Changed in puppet-swift:
milestone: 3.0.0 → 3.0.0-rc1
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.