Ask Your Question
0

Mirantis upload_cirros fails at 100% in Fuel

asked 2016-04-21 06:09:12 -0500

nergal gravatar image

I'm installing Mirantis on ESXI 6 with the Fuel iso. Network check turns out fine and everything installs OK and the fuel progress bar shows 100% but still "Deploying...". Then it fails with the following error. Any tips/hints about what can be wrong? I've tried with both 1 controller + 3 compute nodes and 3 controllers + 3 computes, both fails with same error.

 2016-04-21 10:13:48    ERROR   [439] Error running RPC method granular_deploy: Failed to execute hook 'upload_cirros' command: cd / && ruby /etc/puppet/modules/osnailyfacter/modular/astute/upload_cirros.rb
Task: 94f76503-7749-4a60-9a00-3f31986b3e54: shell timeout error: execution expired
Task timeout: 180, Retries: 3
---
uids:
- '15'
parameters:
  retries: 3
  cmd: ruby /etc/puppet/modules/osnailyfacter/modular/astute/upload_cirros.rb
  cwd: /
  timeout: 180
  interval: 20
priority: 1200
fail_on_error: true
type: shell
id: upload_cirros
, trace: 
["/usr/share/gems/gems/astute-8.0.0/lib/astute/nailgun_hooks.rb:64:in `block in process'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/nailgun_hooks.rb:26:in `each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/nailgun_hooks.rb:26:in `process'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/deployment_engine/granular_deployment.rb:233:in `post_deployment_actions'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/deployment_engine.rb:75:in `deploy'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/orchestrator.rb:216:in `deploy_cluster'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/orchestrator.rb:52:in `granular_deploy'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/dispatcher.rb:92:in `granular_deploy'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:189:in `dispatch_message'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:146:in `block in dispatch'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:64:in `call'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:64:in `block in each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:144:in `each_with_index'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:144:in `dispatch'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:123:in `block in perform_main_job'"]
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-08-08 13:49:00 -0500

carlosedp gravatar image

updated 2016-08-24 12:49:54 -0500

--Edit--

My problem was related to network being slow to transfer the files. Once I replaced the switch with one that has 1Gbps ports the problem was solved.

--Edit--

Same problem here trying to deploy Mirantis Openstack 9.0 with just one node over VMware VCenter. The error appears around 88%.

2016-08-02 20:04:53 NOTICE   Finished catalog run in 301.56 seconds
2016-08-02 20:04:52 ERR  (/Stage[main]/Main/Exec[upload_cirros_shell]/returns) change from notrun to 0 failed: Command exceeded timeout
2016-08-02 20:04:52 ERR  /usr/bin/puppet:8:in `<main>'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `run'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet.rb:246:in `override'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet.rb:246:in `override'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
2016-08-02 20:04:52 ERR  /usr/lib/ruby/vendor_ruby/puppet ...
(more)
edit flag offensive delete link more

Comments

By the way, I'm deploying Mitaka over Ubuntu 14.04. The MOS 9.0 default.

carlosedp gravatar imagecarlosedp ( 2016-08-08 13:51:14 -0500 )edit

on just one node !? are you sure that Mirantis provide this way of installation?

Sofiane68 gravatar imageSofiane68 ( 2016-08-09 01:21:11 -0500 )edit

It's not complaining (other than having no HA). It fails on image upload to the datastore. I see the files getting uploaded than they get deleted. I will try with 3 nodes to check if same problem happens.

carlosedp gravatar imagecarlosedp ( 2016-08-09 15:41:20 -0500 )edit

I tried with more nodes with the same problem. It seems like a problem related to deploy the images into VMware datastores. No idea on what's wrong. The only thing is that the Fuel node and the controller nodes are all VMs in ESXi.

carlosedp gravatar imagecarlosedp ( 2016-08-18 14:37:53 -0500 )edit

I think the 300 seconds is not enough to upload the files to my datastore, maybe it's my network. Any idea about which file contains the timeout parameter? I'm not too used to puppet, nailgun, astute and etc... Thanks

carlosedp gravatar imagecarlosedp ( 2016-08-19 09:07:24 -0500 )edit
0

answered 2016-04-21 06:52:26 -0500

Sofiane68 gravatar image

I deployed OpenStack also with Mirantis..What is running on your nodes Ubuntu or CentOS? Perhaps a problem with Glance which stored images? In the log files you can see what it is shown in glance-api, glance register ..

edit flag offensive delete link more

Comments

Did you find a solution?

Sofiane68 gravatar imageSofiane68 ( 2016-05-03 08:42:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2016-04-21 06:09:12 -0500

Seen: 460 times

Last updated: Aug 24 '16