[all_in_one] Duplicate declaration: Class[Swift]

Bug #1271174 reported by Francois Deppierraz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
New
Undecided
Unassigned

Bug Description

Running 'puppet_openstack_builder/install-scripts/install.sh' with defaut settings in a fresh Ubuntu 12.04 vagrant box leads to the following error during the second puppet run:

Error: Duplicate declaration: Class[Swift] is already declared in file /etc/puppet/modules/openstack/manifests/swift/proxy.pp:38; cannot redeclare at /etc/puppet/modules/openstack/manifests/swift/storage-node.pp:18 on node precise64.domain.name
Error: Duplicate declaration: Class[Swift] is already declared in file /etc/puppet/modules/openstack/manifests/swift/proxy.pp:38; cannot redeclare at /etc/puppet/modules/openstack/manifests/swift/storage-node.pp:18 on node precise64.domain.name

A workaround is to remove one of the openstack::swift classe from the all_in_one scenario:

+++ b/data/scenarios/all_in_one.yaml
@@ -8,7 +8,6 @@ roles:
       - naginator::compute_target
       - cinder::setup_test_volume
       - openstack::swift::proxy
- - openstack::swift::storage-node
     class_groups:
       - build
       - controller

Revision history for this message
subconscious (subconscious) wrote :

this is similar to https://bugs.launchpad.net/openstack-cisco/+bug/1270315

we're seeing this when trying to run swift proxy and storage on the same node

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.