[sahara] Environment deployment fails: Could not evaluate: The requested service: "data_processing" is not present in the returned service catalogue.

Bug #1535089 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Denis Egorenko
8.0.x
Fix Released
High
Denis Egorenko

Bug Description

Environment deployment fails on 'sahara.pp' task if Sahara component is enabled:

2016-01-16 11:28:31 INFO [822] Casting message to Nailgun:{"method"=>"deploy_resp", "args"=> {"task_uuid"=>"d53eb5cb-1f88-431e-b8bb-dbfda44b95ca", "nodes"=> [{"uid"=>"1", "status"=>"error", "error_type"=>"deploy", "role"=>"primary-controller", "task"=> {"priority"=>8100, "type"=>"puppet", "id"=>"sahara", "parameters"=> {"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=> "/etc/puppet/modules/osnailyfacter/modular/sahara/sahara.pp", "timeout"=>3600, "cwd"=>"/"}, "uids"=>["1"]}}]}}
2016-01-16 11:28:31 INFO [822] Casting message to Nailgun:{"method"=>"deploy_resp", "args"=> {"task_uuid"=>"d53eb5cb-1f88-431e-b8bb-dbfda44b95ca", "status"=>"error", "error"=> "Method granular_deploy. Deployment failed on nodes 1. Inspect Astute logs for the details"}}

Steps to reproduce:
            1. Create new environment
            2. Choose Neutron + TUN, Cinder
            3. Enable Sahara, Murano and Ceilometer
            4. Add 3 controller, 1 compute, 1 cinder and 3 mongo nodes
            5. Verify networks
            6. Deploy the environment
            7. Verify networks
            8. Run OSTF tests

Expected result: env is deployed and passes health checks

Actual: deployment fails

Here is an error from puppet logs on node-1:

node-1 2016-01-16T11:27:51.813621 notice: (Scope(Class[main])) MODULAR: sahara.pp
node-1 2016-01-16T11:27:54.818717 notice: Compiled catalog for node-1.test.domain.local in environment production in 3.07 seconds
node-1 2016-01-16T11:27:59.577122 err: (/Stage[main]/Sahara_templates::Create_templates/Sahara_node_group_template[cdh-5-manager]) Could not evaluate: The requested service: "data_processing" is not present in the returned service catalogue.

Tags: area-sahara
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Changed in fuel:
assignee: MOS Sahara (mos-sahara) → Evgeny Sikachev (esikachev)
Changed in fuel:
assignee: Evgeny Sikachev (esikachev) → Denis Egorenko (degorenko)
Revision history for this message
Denis Egorenko (degorenko) wrote :

According to the bug: https://bugs.launchpad.net/sahara/+bug/1356053 there is shouldn't be service_type data_processing. Should be fixed ostf tests.

Changed in fuel:
assignee: Denis Egorenko (degorenko) → MOS Sahara (mos-sahara)
Changed in fuel:
assignee: MOS Sahara (mos-sahara) → Denis Egorenko (degorenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/268958

Changed in fuel:
status: New → In Progress
tags: added: area-sahara
removed: sahara
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/268958
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=309b3115bce2c3c478e2f636a3afafa675505949
Submitter: Jenkins
Branch: master

commit 309b3115bce2c3c478e2f636a3afafa675505949
Author: Denis Egorenko <email address hidden>
Date: Mon Jan 18 12:48:36 2016 +0300

    Set proper service_type for Sahara for sahara template providers

    Change-Id: I918241635749f9a6e8d0b10808627ec963707000
    Related-bug: #1356053
    Closes-bug: #1535089

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/269552

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/8.0)

Reviewed: https://review.openstack.org/269552
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=1460127ca23ea8ee1ac1d02ead9ccf99b754edb9
Submitter: Jenkins
Branch: stable/8.0

commit 1460127ca23ea8ee1ac1d02ead9ccf99b754edb9
Author: Denis Egorenko <email address hidden>
Date: Mon Jan 18 12:48:36 2016 +0300

    Set proper service_type for Sahara for sahara template providers

    Change-Id: I918241635749f9a6e8d0b10808627ec963707000
    Related-bug: #1356053
    Closes-bug: #1535089
    (cherry picked from commit 309b3115bce2c3c478e2f636a3afafa675505949)

Revision history for this message
Evgeny Sikachev (esikachev) wrote :

verified on 478 iso

Changed in fuel:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :

deployment fails, but via another causes

http://srv41-bud.infra.mirantis.net/fuelweb-iso/fuel-9.0-106-2016-03-24_02-00-00.iso.torrent

Error
Deployment has failed. Method task_deploy. Validation of node:
{"uid"=>"1",
"status"=>"error",
"error_type"=>"deploy",
"error_msg"=>
"Critical nodes failed: Node[1], Node[3], Node[2], Node[4]. Stopping the deployment process!",
"task"=>"primary-rabbitmq",
"task_status"=>"failed"}
for report failed: Task name is not provided.
Inspect Astute logs for the details

http://srv41-bud.infra.mirantis.net/fuelweb-iso/fuel-9.0-109-2016-03-24_20-00-00.iso.torrent

Error
Deployment has failed. Method task_deploy. Validation of node:
{"uid"=>"11",
"status"=>"error",
"error_type"=>"deploy",
"error_msg"=>
"Critical nodes failed: Node[11], Node[10], Node[12], Node[3]. Stopping the deployment process!"}
for report failed: Task status provided '' is not supported; Task name is not provided.
Inspect Astute logs for the details

Revision history for this message
Evgeny Sikachev (esikachev) wrote :

verified on 172 iso

Changed in fuel:
status: Fix Committed → Fix Released
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.