Plugin_example system tests failed on step of checking fuel-simple-service

Bug #1620325 reported by ElenaRossokhina
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Kurenyshev

Bug Description

Detailed bug description:
Several tests failed (one of example) in swarm:
https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.plugins.install_plugin_after_cluster_create/51/testReport/(root)/five_ctrl_enable_installed_after_create_add/
9.1 snapshot 221
Steps to reproduce:
Scenario:
        1. Enable plugin
        2. Deploy 2 new controller nodes at cluster (Nodes Under Test)
        3. Run network verification
        4. Check plugin on ALL controller nodes << fail
        5. Run OSTF
Expected results:
pass
Actual result:
checking is failed:
2016-09-05 03:19:38 - ERROR - ssh_client.py:580 -- Command 'pgrep -f fuel-simple-service' returned exit code 1 while expected [0]

https://drive.google.com/open?id=0B2ag_Bf-ShtTSHp1MllSS1dsUkk

Revision history for this message
ElenaRossokhina (esolomina) wrote :
Revision history for this message
Alexander Kurenyshev (akurenyshev) wrote :

If the service `fuel-simple-service` is not running it is a problem with it's deploying, than the plugin was not correctly installed. We need to check the plugin deployment tasks.

Changed in fuel:
milestone: none → 9.1
importance: Undecided → High
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
tags: added: swarm-blocker
Changed in fuel:
importance: High → Critical
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Broken installation of the example plugin cannot be counted as critical issue. Example of critical issue: installation of ANY plugin is broken.

Changed in fuel:
importance: Critical → High
Changed in fuel:
status: New → Confirmed
tags: added: area-library area-plugins area-python
tags: removed: area-library
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Georgy Kibardin (gkibardin)
status: Confirmed → In Progress
Revision history for this message
Georgy Kibardin (gkibardin) wrote :

Post deploy task with "bash deploy.sh" is not in the graph for some reason.

Revision history for this message
Georgy Kibardin (gkibardin) wrote :

The task which deploy the service is executed on node with role fuel_plugin_example_v4. I don't see any node with such role in the snapshot.

Revision history for this message
Georgy Kibardin (gkibardin) wrote :
Changed in fuel:
assignee: Georgy Kibardin (gkibardin) → Fuel QA Team (fuel-qa)
status: In Progress → Confirmed
Revision history for this message
Alexander Kurenyshev (akurenyshev) wrote :

As I see at the old tasks.yaml from plugin_v3 [1] it was not supposed to add new role with standalone plugin, all related to the fuel-simple-service tasks were executed on controllers.
For some reasons we have changed this behavior and moved that tasks to the imaginary role `fuel_plugin_example_v3` [2] and role `fuel_plugin_example_v4` [3].

We need to return all related plugin tasks to the controller role.

[1] https://github.com/openstack/fuel-plugins/blob/master/examples/fuel_plugin_example_v3/tasks.yaml#L2
[2] https://github.com/openstack/fuel-plugins/blob/master/examples/fuel_plugin_example_v3/deployment_tasks.yaml#L36
[3] https://github.com/openstack/fuel-plugins/blob/master/examples/fuel_plugin_example_v4/deployment_tasks.yaml#L39

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Ilya Kutukov (ikutukov)
Changed in fuel:
assignee: Ilya Kutukov (ikutukov) → Alexander Kurenyshev (akurenyshev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/374141

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

Reviewed: https://review.openstack.org/374141
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=18653a93de6175e6b031514cc7376cdb6b87eb52
Submitter: Jenkins
Branch: stable/mitaka

commit 18653a93de6175e6b031514cc7376cdb6b87eb52
Author: Alexander Kurenyshev <email address hidden>
Date: Wed Sep 21 16:12:00 2016 +0300

    Fix plugin v3 and v4 hotplug tests

    The example plugin v3 has not legacy tasks
    that's why propagate_task_deploy should not
    be introduced.

    The plugin v4 should be installed at the
    new introduced by plugin role fuel_plugin_example_v4
    and should be checked under that role.
    The controller role is not affected by plugin v4,
    so, it was decided to disable 2 tests in which
    we re-deploy controller node.

    Change-Id: I13eb7d7189421b8ae82410866440cba2052fac69
    Closes-Bug:1620325

tags: added: in-stable-mitaka
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/374135
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=27f0e7b85183f50d3c8423c54311e74b6719e84e
Submitter: Jenkins
Branch: master

commit 27f0e7b85183f50d3c8423c54311e74b6719e84e
Author: Alexander Kurenyshev <email address hidden>
Date: Wed Sep 21 16:12:00 2016 +0300

    Fix plugin v3 and v4 hotplug tests

    The example plugin v3 has not legacy tasks
    that's why propagate_task_deploy should not
    be introduced.

    The plugin v4 should be installed at the
    new introduced by plugin role fuel_plugin_example_v4
    and should be checked under that role.
    The controller role is not affected by plugin v4,
    so, it was decided to disable 2 tests in which
    we re-deploy controller node.

    Change-Id: I13eb7d7189421b8ae82410866440cba2052fac69
    Closes-Bug:1620325

tags: added: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

verified on 9.1 snapshot #299

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