Old version of FPB on PyPI

Bug #1434895 reported by Timur Nurlygayanov
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Evgeniy L

Bug Description

Solution:

we need to update fuel-plugin-builder on pypi and allow to build plugins with version 2.0.0

Workaround:

# Install necessary depends for plugin creation
yum install -y vi git createrepo rpm dpkg-devel tar

# Getting source code for fuel plugin builder
git clone https://github.com/stackforge/fuel-plugins

# Build eggs
cd fuel-plugins/fuel_plugin_builder
python setup.py sdist

# Install egg using pip
pip install dist/fuel-plugin-builder-2.0.0.dev.tar.gz

Steps To Reproduce:

1. Upload image with MOS 6.1 (210 in my case)
2. Deploy master node
3. Execute the following commands on master node to build plugin:

    $ sudo yum install -y python-pip
    $ sudo pip install -U fuel-plugin-builder
    $ su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'
    $ yum install -y createrepo rpm dpkg-devel
    $ git clone https://github.com/stackforge/fuel-plugin-lma-collector
    $ cd fuel-plugin-lma-collector
    $ fuel-plugin-builder --build ./

Oberved Result:
[root@fuel fuel-plugin-lma-collector]# fuel-plugin-builder --build ./
Unexpected error
Wrong package version "2.0.0"

Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Dmitry Pyzhov (dpyzhov)
tags: added: feature-plugins
removed: plugins
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

If we try to use FPB from git, all works fine. This bug will stay like notice about necessary of publication new FPB egg.

summary: - fuel-plugin-builder can't build plugins with 2.0.0 version
+ Old version of FPB on PyPI
description: updated
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Workaround:

# Install necessary depends for plugin creation
yum install -y vi git createrepo rpm dpkg-devel tar

# Getting source code for fuel plugin builder
git clone https://github.com/stackforge/fuel-plugins

# Build eggs
cd fuel-plugins/fuel_plugin_builder
python setup.py sdist

# Install egg using pip
pip install dist/fuel-plugin-builder-2.0.0.dev.tar.gz

description: updated
description: updated
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Evgeniy L (rustyrobot)
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Vladimir, thank you!

Revision history for this message
Evgeniy L (rustyrobot) wrote :

We are waiting for bug https://bugs.launchpad.net/fuel/+bug/1435892 to be fixed, after that we can release fpb on pypi.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Before we fully automate the procedure of publishing new ibp to PyPi, let's include this into DevOps or release management checklist so to ensure that we won't forget to publish new version in the next release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-plugins (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/178951

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-plugins (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/178953

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-plugins (master)

Reviewed: https://review.openstack.org/178951
Committed: https://git.openstack.org/cgit/stackforge/fuel-plugins/commit/?id=4d16637645c7d8c85fa08360818ecd8ee93547a2
Submitter: Jenkins
Branch: master

commit 4d16637645c7d8c85fa08360818ecd8ee93547a2
Author: Evgeniy L <email address hidden>
Date: Thu Apr 30 09:46:41 2015 +0300

    Update changelog file

    Change-Id: Id67863f581cce01518722718cfefa96fb34d8453
    Related-bug: #1434895

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

Reviewed: https://review.openstack.org/178952
Committed: https://git.openstack.org/cgit/stackforge/fuel-plugins/commit/?id=0166279f94e3cef1383221e2be14fd5fd268b636
Submitter: Jenkins
Branch: master

commit 0166279f94e3cef1383221e2be14fd5fd268b636
Author: Evgeniy L <email address hidden>
Date: Thu Apr 30 09:48:06 2015 +0300

    Release fpb 2.0.0

    Change-Id: I3624ee79eb545b1aec74a8c48938debd03d0d88b
    Closes-bug: #1434895

Revision history for this message
Evgeniy L (rustyrobot) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-plugins (master)

Reviewed: https://review.openstack.org/178953
Committed: https://git.openstack.org/cgit/stackforge/fuel-plugins/commit/?id=500ea4b350611574b8a930a1d193ac53d60d6d5e
Submitter: Jenkins
Branch: master

commit 500ea4b350611574b8a930a1d193ac53d60d6d5e
Author: Evgeniy L <email address hidden>
Date: Thu Apr 30 09:50:32 2015 +0300

    Set 2.0.1.dev version for fpb after release

    Change-Id: I3f7d36d71790867560653fcdb1f3d14565d63630
    Related-bug: #1434895

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.