Error: Duplicate declaration: Nova_config[DEFAULT/cpu_allocation_ratio] is already declared

Bug #1693427 reported by wuwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
Incomplete
Undecided
Unassigned
puppet-nova
Invalid
Undecided
Unassigned

Bug Description

in packstack code, packstack\puppet\templates\nova_sched.pp

  'DEFAULT/cpu_allocation_ratio':
      value => hiera('CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO');

in puppet code, nova\manifests\scheduler\filter.pp

    'DEFAULT/cpu_allocation_ratio': value => $cpu_allocation_ratio;

the both file duplicate declaration cpu_allocation_ratio.

Revision history for this message
Emilien Macchi (emilienm) wrote :

packstack bugs are reported here: https://bugs.launchpad.net/packstack

Changed in puppet-nova:
status: New → Invalid
Changed in packstack:
status: New → Confirmed
Revision history for this message
Javier Peña (jpena-c) wrote :

Could you confirm which versions of Packstack and the Puppet modules are you using? From the Packstack code reference you provide, it looks like stable/mitaka code: https://github.com/openstack/packstack/blob/stable/mitaka/packstack/puppet/templates/nova_sched.pp

The Packstack stable/mitaka code does not include class nova::scheduler::filter, which is where the other definition is included (see https://github.com/openstack/puppet-nova/blob/stable/mitaka/manifests/scheduler/filter.pp#L91), so there should be no conflict.

For Ocata and later releases, this was already fixed by https://review.openstack.org/409278.

Changed in packstack:
status: Confirmed → Incomplete
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.