Bug 1109106 - Puppet agent fails with error while provisioning controller(neutron) node with nexus plugin
Summary: Puppet agent fails with error while provisioning controller(neutron) node wit...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - RHELOSP
Version: 1.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: james labocki
QA Contact:
Dan Macpherson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-13 09:18 UTC by satya routray
Modified: 2016-06-03 18:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-03 18:00:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
SOS Report of the build node (5.99 MB, application/octet-stream)
2014-06-13 09:18 UTC, satya routray
no flags Details
yaml file of build node (4.29 KB, text/plain)
2014-06-13 09:20 UTC, satya routray
no flags Details

Description satya routray 2014-06-13 09:18:49 UTC
Created attachment 908430 [details]
SOS Report of the build node

Description of problem:

Puppet agent fails with error while provisioning controller(neutron) node with nexus plugin

Version-Release number of selected component (if applicable):

A4 Update

Steps to recreate the issue

create the build node with provisioning = true
configure the pxe boot on build server
configure the host group controller(neutron) as per the yaml file attached
create the controller(neutron) host
build the controller node

it will provision the controller node and run puppet agent which will fail with error

Comment 1 satya routray 2014-06-13 09:20:39 UTC
Created attachment 908431 [details]
yaml file of build node

attached the sos report also of the build node

Comment 2 satya routray 2014-06-13 09:22:13 UTC
This issue seen on
RHELOSP 4.0 Update

Comment 3 satya routray 2014-06-13 09:23:29 UTC
This issue seen on
RHELOSP 4.0 A4 Update

Comment 4 satya routray 2014-06-16 07:08:08 UTC
This is the error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template quickstack/cisco_plugins.ini.erb:
  Filepath: /usr/share/openstack-foreman-installer/puppet/modules/quickstack/templates/cisco_plugins.ini.erb
  Line: 90
  Detail: undefined method `each' for nil:NilClass
 at /usr/share/openstack-foreman-installer/puppet/modules/quickstack/manifests/neutron/plugins/cisco.pp:66 on node rhoscontroller5.os.cvfdmz.sdu
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Comment 5 James (purpleidea) 2014-06-16 14:53:23 UTC
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template quickstack/cisco_plugins.ini.erb:
>   Filepath: /usr/share/openstack-foreman-installer/puppet/modules/quickstack/templates/cisco_plugins.ini.erb
>   Line: 90
>   Detail: undefined method `each' for nil:NilClass
> 

The bug is here ^^^
Firstly, the variable someone is using with the each is "null" (or nil in puppet/ruby speak)
Go into that template at line 90, and then see what variable is empty.
If someone posts *all* the information for debugging (eg: the code, and the config used) then a more specific answer is probably possible :)
HTH


>  at /usr/share/openstack-foreman-installer/puppet/modules/quickstack/manifests/neutron/plugins/cisco.pp:66 on node rhoscontroller5.os.cvfdmz.sdu
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>

Comment 6 John Matthews 2016-06-03 18:00:40 UTC
Closing as this BZ does not reflect components in the Quickstart Cloud Installer.
Please reopen if you feel this was closed in error.


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