Undetected errors during execution of keystone.pp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I tried to install openstack - kilo using packstack. Installation was done according to described on page: https:/
Openstack installation was started by command:
packstack -d --allinone
....
This resulted in packstack error messge:
10.166.
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 10.166.
Error: Could not prefetch keystone_service provider 'openstack': undefined method `collect' for nil:NilClass
You will find full trace in log /var/tmp/
Please check log file /var/tmp/
Additional information:
...
Here is related part of file 10.166.
...
Debug: Executing '/usr/bin/openstack service list --quiet --format csv --long'
Error: Could not prefetch keystone_service provider 'openstack': undefined method `collect' for nil:NilClass
/var/tmp/
...
This error message is result of code code from file openstack.rb, which is part of packstack.
60 def self.instances
61 list = request('service', 'list', '--long')
62 list.collect do |service|
63 new(
64 :name => service[:name],
65 :ensure => :present,
66 :type => service[:type],
67 :description => service[
68 :id => service[:id]
69 )
70 end
71 end
line 61 list = request('service', 'list', '--long') will start command : /usr/bin/openstack service list --quiet --format csv --long
result fo this commabd is in stderror: "ERROR: openstack Unable to establish connection to http://
and exit code is :1
line 62 " list.collect do |service| " is working with this error result and final error message
Error: Could not prefetch keystone_service provider 'openstack': undefined method `collect' for nil:NilClass
Command "/usr/bin/