Fabio Da Soghe created CLOUDSTACK-8604:
------------------------------------------
Summary: devcloud installation crashes on chef step
Key: CLOUDSTACK-8604
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8604
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: DevCloud
Affects Versions: 4.5.1, 4.3.0
Environment: Ubuntu 14.04, VirtualBox 4.3, ChefDK 0.6.2, Vagrant 1.7.2
Reporter: Fabio Da Soghe
Priority: Blocker
Followed instruction for DevCloud4, as described here:
https://github.com/apache/cloudstack/tree/master/tools/devcloud4
In binary-installation-basic issued command:
bq. vagrant up
Virtual machines get created, then the procedure halts on this:
{code}
==> management: [2015-07-01T11:03:22+00:00] INFO: template[/etc/sysconfig/nfs]
sending restart action to service[portmap] (immediate)
==> management:
==> management:
================================================================================
==> management: Error executing action `restart` on resource 'service[portmap]'
==> management:
================================================================================
==> management:
==> management:
==> management: NoMethodError
==> management: -------------
==> management: undefined method `action=' for Chef::Resource::Service
==> management:
==> management:
==> management: Resource Declaration:
==> management: ---------------------
==> management: # In
/tmp/vagrant-chef/617db32fe644a3d75932d34ec1e052f9/cookbooks/nfs/recipes/_common.rb
==> management:
==> management:
==> management:
==> management: 43: service component do
==> management:
==> management: 44: service_name node['nfs']['service'][component]
==> management:
==> management: 45: pattern node['nfs']['service'][component]
==> management:
==> management: 46: provider node['nfs']['service_provider'][component]
==> management:
==> management: 47: action [:start, :enable]
==> management:
==> management: 48: supports :status => true
==> management:
==> management: 49: end
==> management:
==> management: 50: end
==> management:
==> management:
==> management:
==> management: Compiled Resource:
==> management: ------------------
==> management: # Declared in
/tmp/vagrant-chef/617db32fe644a3d75932d34ec1e052f9/cookbooks/nfs/recipes/_common.rb:43:in
`block in from_file'
==> management:
==> management:
==> management:
==> management: service("portmap") do
==> management:
==> management: provider Chef::Resource::Service
==> management: action [:start, :enable]
==> management: supports {:status=>true}
==> management: retries 0
==> management: retry_delay 2
==> management: guard_interpreter :default
==> management: service_name "rpcbind"
==> management: pattern "rpcbind"
==> management: cookbook_name :nfs
==> management: recipe_name "_common"
==> management: end
==> management:
==> management: [2015-07-01T11:03:22+00:00] INFO: Running queued delayed
notifications before re-raising exception
==> management: [2015-07-01T11:03:22+00:00] ERROR: Running exception handlers
==> management: [2015-07-01T11:03:22+00:00] ERROR: Exception handlers complete
==> management: [2015-07-01T11:03:22+00:00] FATAL: Stacktrace dumped to
/var/chef/cache/chef-stacktrace.out
==> management: [2015-07-01T11:03:22+00:00] ERROR: service[portmap]
(nfs::_common line 43) had an error: NoMethodError: undefined method `action='
for Chef::Resource::Service
==> management: [2015-07-01T11:03:22+00:00] FATAL:
Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully
(exit code 1)
{code}
Tried with master branch, with CloudStack 4.3 git tag, with different
(previous) versions of ChefDK, with binary-installation-advanced, nothing
changes.
As it is, DevCloud4 appears broken. Any help is greatly appreciated, thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)