install_venv.py raises AttributeError ('InstallVenv' object has no attribute 'post_process')

Bug #1275025 reported by Victor Morales
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Fix Released
Undecided
Victor Morales
python-cinderclient
Fix Released
High
Jay Bryant
python-heatclient
Fix Released
Medium
Victor Morales
python-novaclient
Fix Released
Undecided
Victor Morales

Bug Description

In order to create .venv virtual environment and install all the dependencies that this project requires, it's necessary to run the python tools/install_venv.py command.

Once all libraries are installed the following error is produced:

Traceback (most recent call last):
  File "tools/install_venv.py", line 75, in <module>
    main(sys.argv)
  File "tools/install_venv.py", line 71, in main
    install.post_process()
AttributeError: 'InstallVenv' object has no attribute 'post_process'

This error doesn't allow to display the help info section.

Changed in python-novaclient:
assignee: nobody → Victor Morales (electrocucaracha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in python-novaclient:
status: New → In Progress
Jay Bryant (jsbryant)
Changed in python-cinderclient:
importance: Undecided → High
assignee: nobody → Jay Bryant (jsbryant)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

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

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

Reviewed: https://review.openstack.org/72494
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=165ba7bc5b004d3ab49f17a69f4d34c024553f54
Submitter: Jenkins
Branch: master

commit 165ba7bc5b004d3ab49f17a69f4d34c024553f54
Author: Jay S. Bryant <email address hidden>
Date: Mon Feb 10 16:17:14 2014 -0600

    Remove call to undefined install.post_process()

    Oslo commit b5cca99e5281d9c0c5eda444137e418b31209c45 removed
    the obsolete redhat-eventlet.patch. Part of this commit
    removed the post_process() method which we were still calling
    in tools/install_venv.py . The post_process function was just
    there to do any distro-specific post processing. By default,
    that was nothing. So, this is safe to remove.

    This same change was made to python-novaclient with
    commit 0194492059920fd8d9d91849c341b2de0b561089 .

    Closes-bug: 1275025
    Change-Id: I4c52e2c0d3d6553f5d33e94cd6e8622160febc37

Changed in python-cinderclient:
status: In Progress → Fix Committed
Revision history for this message
Johannes Erdfelt (johannes.erdfelt) wrote :

This was merged into python-novaclient but ~hudson-openstack seemed to miss that for some reason

Changed in python-novaclient:
status: In Progress → Fix Committed
Michael Still (mikal)
Changed in python-novaclient:
milestone: none → 2.18.0
Michael Still (mikal)
Changed in python-novaclient:
status: Fix Committed → Fix Released
Changed in python-ceilometerclient:
assignee: nobody → Victor Morales (electrocucaracha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ceilometerclient (master)

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

Changed in python-ceilometerclient:
status: New → In Progress
Changed in python-heatclient:
assignee: nobody → Victor Morales (electrocucaracha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

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

Changed in python-heatclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (master)

Reviewed: https://review.openstack.org/115855
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=98127c4e40a37353fe486483ffc9b8ac25c27474
Submitter: Jenkins
Branch: master

commit 98127c4e40a37353fe486483ffc9b8ac25c27474
Author: Victor Morales <email address hidden>
Date: Wed Aug 20 22:35:36 2014 -0500

    Removed undefined method in install_env.py file

    There was a call from install_venv.py file to post_process method
    of InstallVenv class, but this method is not defined in this class
    as result it was raising an error. Even when this error doesn't
    affect dependencies installation, it is not allowing to display user
    information.

    Change-Id: I39c995adfbb411f21ad7ea222b2392da6946e25b
    Closes-Bug: #1275025

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

Reviewed: https://review.openstack.org/115856
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=276fafe3885b61171a07c0b536d1ff55d2fef80a
Submitter: Jenkins
Branch: master

commit 276fafe3885b61171a07c0b536d1ff55d2fef80a
Author: Victor Morales <email address hidden>
Date: Wed Aug 20 22:41:06 2014 -0500

    Removed undefined method in install_env.py file

    There was a call from install_venv.py file to post_process method
    of InstallVenv class, but this method is not defined in this class
    as result it was raising an error. Even when this error doesn't
    affect dependencies installation, it is not allowing to display user
    information.

    Change-Id: Idb77f164abee5625ac24800ddb94b9b8c0b85162
    Closes-Bug: #1275025

Changed in python-heatclient:
status: In Progress → Fix Committed
Changed in python-heatclient:
milestone: none → v0.2.11
importance: Undecided → Medium
Changed in python-heatclient:
status: Fix Committed → Fix Released
Changed in python-ceilometerclient:
milestone: none → 1.3.0
status: Fix Committed → Fix Released
Changed in python-cinderclient:
milestone: none → 1.3.1
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.