RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1048922 - [RDO][Openstack-Foreman-Installer]: Deployment of controller failed (controller_common.pp:189 Wrapped exception: Name must be a String not Array).
Summary: [RDO][Openstack-Foreman-Installer]: Deployment of controller failed (control...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-foreman-installer
Version: unspecified
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Jason Guiditta
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-06 13:37 UTC by Omri Hochman
Modified: 2016-04-18 07:12 UTC (History)
3 users (show)

Fixed In Version: openstack-foreman-installer-1.0.1-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Omri Hochman 2014-01-06 13:37:34 UTC
[RDO][Openstack-Foreman-Installer] Deployment of controller with nova-network failed (controller_common.pp:189 Wrapped exception: Name must be a String not Array)

Environment: 
------------
openstack-foreman-installer-1.0.1-1.el6.noarch
packstack-modules-puppet-2013.2.1-0.27.dev936.el6.noarch
puppet-server-2.7.23-1.el6.noarch
puppet-2.7.23-1.el6.noarch


Scenario: 
---------
1) follow the steps according to http://openstack.redhat.com/Quickstart
2) instead of using packstack attempt to deploy openstack using foreman.
3) run foreman_server.sh
4) add Foreman-Client --> change it's host-group to 'Controller (nova network)'
5) run on client 'puppet agent -t -v'


Results: 
----------
-The deployment of controller with nova-network failed.


Puppet output:
--------------
[root@puma01 ~]# puppet agent -t -v
Notice: Using less secure serialization of reports and query parameters for compatibility
Notice: with older puppet master. To remove this notice, please upgrade your master(s) 
Notice: to Puppet 3.3 or newer.
Notice: See http://links.puppetlabs.com/deprecate_yaml_on_network for more information.
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/netns_support.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ipa_client_configured.rb
Info: Loading facts in /var/lib/puppet/lib/facter/hamysql_active_node.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/network.rb
Info: Caching catalog for puma01.scl.lab.tlv.redhat.com
Error: Failed to apply catalog: Parameter name failed on Package[horizon-packages]: Name must be a String not Array at /usr/share/openstack-foreman-installer/puppet/modules/quickstack/manifests/controller_common.pp:189
Wrapped exception:
Name must be a String not Array

Comment 1 Omri Hochman 2014-01-06 13:38:06 UTC
vim  /usr/share/openstack-foreman installer/puppet/modules/quickstack/manifests/controller_common.pp +18


 package {'horizon-packages':
    name   => ['python-memcached', 'python-netaddr'],
    notify => Class['horizon'],
  }

  file {'/etc/httpd/conf.d/rootredirect.conf':
    ensure  => present,
    content => 'RedirectMatch ^/$ /dashboard/',
    notify  => File['/etc/httpd/conf.d/openstack-dashboard.conf'],
  }

  class {'horizon':
    secret_key    => $horizon_secret_key,
    keystone_host => $controller_priv_floating_ip,
  }

Comment 2 Omri Hochman 2014-01-06 13:39:30 UTC
the use of old puppet version is in order to workaround : 
https://bugzilla.redhat.com/show_bug.cgi?id=1047353

Comment 3 Pádraig Brady 2014-01-07 12:19:01 UTC
https://github.com/redhat-openstack/astapor/pull/95

Comment 4 Omri Hochman 2014-01-12 13:03:46 UTC
Verified with : openstack-foreman-installer-1.0.1-2.el6.noarch


Note You need to log in before you can comment on or make changes to this bug.