Fuel-qa can't handle FUEL version

Bug #1569327 reported by Dmitry Belyaninov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Vladimir Khlyunev
7.0.x
Confirmed
High
Fuel QA Team
8.0.x
Confirmed
High
Vladimir Khlyunev
Mitaka
Fix Released
High
Vladimir Khlyunev
Newton
Fix Released
High
Vladimir Khlyunev

Bug Description

In case of 7.0 or 8.0 releases fuel-qa should checkout appropriate version of "fuel-plugins" repo.

FUEL_PLUGIN_BUILDER_REPO = 'https://github.com/openstack/fuel-plugins.git'

    def fpb_install(self):
        """
        Installs fuel plugin builder from sources
        in nailgun container on master node

        :return: nothing
        """
        fpb_cmd = """bash -c 'yum -y install git tar createrepo \
                    rpm dpkg-devel dpkg-dev rpm-build python-pip;
                    git clone {0};
                    cd fuel-plugins;
                    python setup.py sdist;
                    cd dist;
                    pip install *.tar.gz'""".format(FUEL_PLUGIN_BUILDER_REPO)

So current way is broken. For 8.0 we use 9.0 plugins and tests failed with "Plugin couldn't be enabled. Check plugin version. Test aborted" error message.

I hope it is possible to hardcode right versions of "fuel-plugins" to old versions of "fuel-qa". Or it can be checked from cluster by "fuel --version" command.

Now we have failed 8.0 SWARMs for "Plugins::Reboot Task" cases.

Changed in mos:
assignee: nobody → Fuel QA Team (fuel-qa)
no longer affects: mos
Changed in fuel:
assignee: nobody → Fuel QA Team (fuel-qa)
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Dima, test should not have hardcoded version of plugins. From your description I see that you have misconfiguration in jobs settings.

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Belyaninov (dbelyaninov)
Changed in fuel:
milestone: none → 9.0
importance: Undecided → High
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

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
Changed in fuel:
assignee: Dmitry Belyaninov (dbelyaninov) → Vladimir Khlyunev (vkhlyunev)
status: Confirmed → In Progress
tags: added: area-qa
removed: need-info
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/305850

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-qa (stable/mitaka)

Change abandoned by Vladimir Khlyunev (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/305850
Reason: patch in master was completely reworked

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

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

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

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/306306

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

Reviewed: https://review.openstack.org/305805
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=4b3c07f68f39dd6c10e6aa6a47b19dddde5d56a7
Submitter: Jenkins
Branch: master

commit 4b3c07f68f39dd6c10e6aa6a47b19dddde5d56a7
Author: Vladimir Khlyunev <email address hidden>
Date: Thu Apr 14 15:36:35 2016 +0300

    Put correct release version into metadata.yaml for plugin_reboot

    As we are using FPB from master branch we can not rely on
    generated metadata.yaml file because it can contains wrong release.
    Allow FuelPluginBuilder to modify metadata.yaml by data received from
    nailgun

    Change-Id: Ic020df8b7e677830f5a71be18b6a241417946b08
    Closes-bug:1569327

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

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

commit fe2baa45412fc04a85b7a318559b697bdad25ecf
Author: Vladimir Khlyunev <email address hidden>
Date: Thu Apr 14 15:36:35 2016 +0300

    Put correct release version into metadata.yaml for plugin_reboot

    As we are using FPB from master branch we can not rely on
    generated metadata.yaml file because it can contains wrong release.
    Allow FuelPluginBuilder to modify metadata.yaml by data received from
    nailgun

    Change-Id: Ic020df8b7e677830f5a71be18b6a241417946b08
    Closes-bug:1569327

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

Reviewed: https://review.openstack.org/306306
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=d41b9eb7784b9242c37d85c909adba5068f635e4
Submitter: Jenkins
Branch: stable/7.0

commit d41b9eb7784b9242c37d85c909adba5068f635e4
Author: Vladimir Khlyunev <email address hidden>
Date: Thu Apr 14 15:36:35 2016 +0300

    Put correct release version into metadata.yaml for plugin_reboot

    As we are using FPB from master branch we can not rely on
    generated metadata.yaml file because it can contains wrong release.
    Allow FuelPluginBuilder to modify metadata.yaml by data received from
    nailgun

    Change-Id: Ic020df8b7e677830f5a71be18b6a241417946b08
    Closes-bug:1569327

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

Reviewed: https://review.openstack.org/306294
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=6b2a171d41dbad74913f6d06a52ba42054f61cc7
Submitter: Jenkins
Branch: stable/8.0

commit 6b2a171d41dbad74913f6d06a52ba42054f61cc7
Author: Vladimir Khlyunev <email address hidden>
Date: Thu Apr 14 15:36:35 2016 +0300

    Put correct release version into metadata.yaml for plugin_reboot

    As we are using FPB from master branch we can not rely on
    generated metadata.yaml file because it can contains wrong release.
    Allow FuelPluginBuilder to modify metadata.yaml by data received from
    nailgun

    Change-Id: Ic020df8b7e677830f5a71be18b6a241417946b08
    Closes-bug:1569327

tags: added: non-release
tags: removed: non-release
tags: added: non-release
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.