I’m trying to install SUSE Cloud 5 on a Xen VM running on SLES11-SP3. The Administration Server has been installed successfully, the configuration is finished, now I’m trying to run the install-suse-cloud script as the last step according to the documentation before installing the OpenStack Nodes.
The setup of the VM seems to be ok, the script runs for a couple of minutes and then terminates prematurely. The install.log says:
================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/provisioner/recipes/base.rb
80: end
81:
82: # Fix bug we had in stoney and earlier where we never saved the target_platform
83: # of the node when the node was installed with the default target platform.
84: # This only works because the default target platform didn’t change between
85: # stoney and tex.
86: if node[:target_platform].nil? or node[:target_platform].empty?
87>> node.set[:target_platform] = provisioner_server_node[:provisioner][:default_os]
88: end
89:
90: node.save
91:
92: template “/root/.ssh/authorized_keys” do
93: owner “root”
94: group “root”
95: mode “0644”
96: action :create
[2015-04-16T14:12:39+02:00] ERROR: Running exception handlers
[2015-04-16T14:12:39+02:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2015-04-16T14:12:39+02:00] ERROR: Exception handlers complete
[2015-04-16T14:12:39+02:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-04-16T14:12:39+02:00] FATAL: NoMethodError: undefined method `[]’ for nil:NilClass
Any ideas what the problem is? I believe Chef is not abled to find the target platform, but as I’m new to SUSE in general I let you interpret the messages.
One additional information: As we are planning to use Docker in the cloud and this is supposed to be supported by SLES12, we have configured the Admin Server with a mix of both, according to the documentation. So I guess this should not be a problem, should it?
I’ve not yet setup SUSE Cloud but maybe we’ll see something in there.
Just for completness, it may be worth posting a link to the documentation
followed as well as mention which step you’re on for us newbies.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…
The content of failed-run-data.json is quite long (more than 12,000 lines), I’d rather not post it here. If you have any suggestion what I could look for in the file to post, please let me know. If you insist on having the complete output posted here, I could do that of course.
as I’m involved in this installation situation, let me update that today an install on a physical server showed exactly the same result… so it seems the problem is not related to the Xen VM used to install the admin server.