Remove nodes constraint on provisioning task

Bug #1570887 reported by Alexandr Kostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Wishlist
Fuel Sustaining

Bug Description

Detailed bug description:
There is possibility to run provision without node, assuming we have a cluster without nodes:
`self.fuel_web.provisioning_cluster_wait(cluster_id)`

It builds image which can be used later to speedup provisioning (especially for tests with snapshots reverts)

But after image is build it fails with

2016-04-15 14:00:59 INFO [31404] a43874a3-ff7f-45d1-bb7b-41cb017744e2: stdout: stderr: Warning: Permanently added '10.109.0.2' (ECDSA) to the list of known hosts.
     exit code: 0
2016-04-15 14:00:59 INFO [31404] Provision summary: time was spent 00:16:53
2016-04-15 14:00:59 ERROR [31404] Error running provisioning: Nodes to provision are not provided!, trace:
["/usr/share/gems/gems/astute-9.0.0/lib/astute/provision.rb:38:in `provision'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/orchestrator.rb:127:in `provision'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/dispatcher.rb:51:in `provision'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/dispatcher.rb:37:in `image_provision'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/server.rb:187:in `dispatch_message'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/server.rb:146:in `block in dispatch'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/task_queue.rb:64:in `call'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/task_queue.rb:64:in `block in each'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/server.rb:144:in `each_with_index'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/server.rb:144:in `dispatch'",
 "/usr/share/gems/gems/astute-9.0.0/lib/astute/server/server.rb:121:in `block in perform_main_job'"]

2016-04-15 14:00:59 DEBUG [31404] Dispatching aborted by image_provision

It would be really helpful to prepare image before deployment.

Changed in fuel:
milestone: none → 9.0
Changed in fuel:
status: New → Confirmed
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

Actually, it is better to create task
prepare_ubuntu_image_for_release

Because in 90% of cases we use release settings for ubuntu image.

Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

We passed SCF for 9.0. Moving the bug to 10.0

Changed in fuel:
milestone: 9.0 → 10.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python (Deprecated) (fuel-python) → Fuel Sustaining (fuel-sustaining-team)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.