# Error installing SUSE Cloud 5

**URL:** <https://forums.suse.com/t/error-installing-suse-cloud-5/26947>\
**Category:** SUSE OpenStack Cloud\
**Created:** [April 16, 2015, 3:20pm UTC](https://forums.suse.com/t/error-installing-suse-cloud-5/26947 "2015-04-16T15:20:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugen](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@Eugen](https://forums.suse.com/u/Eugen)\
**Post date:** [April 16, 2015, 3:20pm UTC](https://forums.suse.com/t/error-installing-suse-cloud-5/26947/1 "2015-04-16T15:20:12Z")

</div>

Hi everyone,

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

## NoMethodError

undefined method `’ for nil:NilClass

## Cookbook Trace:

/var/chef/cache/cookbooks/provisioner/recipes/base.rb:87:in `from\_file’

## Relevant File Content:

/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 would appreciate any help, thanks ins advance!

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [April 16, 2015, 4:49pm UTC](https://forums.suse.com/t/error-installing-suse-cloud-5/26947/2 "2015-04-16T16:49:02Z")

</div>

Could you post the contents of the files mentioned in the output messages?

/var/chef/cache/chef-stacktrace.out  
/var/chef/cache/failed-run-data.json

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…

---

<div class="post-metadata">

**Author:** ![Eugen](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@Eugen](https://forums.suse.com/u/Eugen)\
**Post date:** [April 16, 2015, 5:23pm UTC](https://forums.suse.com/t/error-installing-suse-cloud-5/26947/3 "2015-04-16T17:23:49Z")

</div>

Thanks for your reply, here is the content of /var/chef/cache/chef-stacktrace.out

################################################################################  
Generated at 2015-04-16 14:12:39 +0200  
NoMethodError: undefined method `[]' for nil:NilClass /var/chef/cache/cookbooks/provisioner/recipes/base.rb:87:in `from\_file’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/mixin/from\_file.rb:30:in `instance_eval' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/mixin/from_file.rb:30:in `from\_file’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/cookbook\_version.rb:558:in `load_recipe' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/mixin/language_include_recipe.rb:46:in `load\_recipe’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/mixin/language\_include\_recipe.rb:33:in `block in include_recipe' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/mixin/language_include_recipe.rb:27:in `each’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/mixin/language\_include\_recipe.rb:27:in `include_recipe' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/run_context.rb:79:in `block in load’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/run\_context.rb:75:in `each' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/run_context.rb:75:in `load’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:206:in `setup_run_context' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:428:in `do\_run’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:184:in `run' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:133:in `run\_chef\_client’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:285:in `block in run_application' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:277:in `loop’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:277:in `run_application' /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:65:in `run’  
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/bin/chef-client:26:in `<top (required)>' /usr/bin/chef-client:23:in `load’  
/usr/bin/chef-client:23:in `’

################################################################################

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.

Edit:  
Here is the link to the documentation:

[https://www.suse.com/documentation/suse-cloud-5/](https://www.suse.com/documentation/suse-cloud-5/)

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 17, 2015, 7:20pm UTC](https://forums.suse.com/t/error-installing-suse-cloud-5/26947/4 "2015-04-17T19:20:36Z")

</div>

Hi \*,

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.

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![a\_jaeger](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@a\_jaeger](https://forums.suse.com/u/a_jaeger)\
**Post date:** [April 18, 2015, 10:41pm UTC](https://forums.suse.com/t/error-installing-suse-cloud-5/26947/5 "2015-04-18T22:41:18Z")

</div>

Could you file a support request with our support organisation, please? I think that way we can help you better.

Andreas

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 20, 2015, 11:42am UTC](https://forums.suse.com/t/error-installing-suse-cloud-5/26947/6 "2015-04-20T11:42:37Z")

</div>

Hi Andreas,

[QUOTE=a\_jaeger;27538]Could you file a support request with our support organisation, please? I think that way we can help you better.

Andreas[/QUOTE]

will do so this morning, thank you!

Regards,  
Jens
