openstack tests/site.pp fails to apply - Name must be a String not Array
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-nova |
Fix Released
|
High
|
Mathieu Gagné |
Bug Description
On a vanilla Ubuntu 12.04.3,
Using an unchanged /etc/puppet/
The apply fails with:
sudo puppet apply /etc/puppet/
Warning: Config file /etc/puppet/
Warning: Scope(Class[
Warning: Variable access via 'module_name' is deprecated. Use '@module_name' instead. template[
(at /etc/puppet/
Warning: Variable access via 'config_cluster' is deprecated. Use '@config_cluster' instead. template[
(at /etc/puppet/
Warning: Variable access via 'config_stomp' is deprecated. Use '@config_stomp' instead. template[
(at /etc/puppet/
Warning: Variable access via 'port' is deprecated. Use '@port' instead. template[
(at /etc/puppet/
Warning: Variable access via 'node_ip_address' is deprecated. Use '@node_ip_address' instead. template[
(at /etc/puppet/
Warning: Scope(Class[Nova]): sql_connection deprecated for database_connection
Warning: Scope(Class[Nova]): sql_idle_timeout deprecated for database_
Warning: Scope(Class[
Notice: Compiled catalog for openstack_all in environment production in 7.33 seconds
Error: Parameter name failed on Package[
Wrapped exception:
Name must be a String not Array
affects: | puppet-openstack → puppet-nova |
Changed in puppet-nova: | |
milestone: | none → 3.0.0 |
Changed in puppet-nova: | |
status: | Fix Committed → Fix Released |
importance: | Undecided → High |
Relates to a change in puppet 3.4.0
https:/ /groups. google. com/forum/ #!topic/ puppet- users/gxwDg8XUV qw
https:/ /projects. puppetlabs. com/issues/ 22557
I've tracked it to:
/etc/puppet/ modules/ nova/manifests/ params. pp:92: $vncproxy_ package_ name = ['novnc', 'nova-novncproxy']
I changed it to simply:
$vncproxy_ package_ name = 'nova-novncproxy'
and the apply finished.
I'm not sure of the impact of leaving out novnc of vncproxy_ package_ name.