AttributeError: 'InstallVenv' object has no attribute 'post_process'

Bug #1263940 reported by Sasikanth Eda
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Invalid
Undecided
Unassigned
python-keystoneclient
Fix Released
High
Qiu Yu
tempest
Fix Released
Undecided
Masayuki Igawa

Bug Description

Hi,

This error is seen during creation of virtual environment in tempest (devstack).

ubuntu@openstack:/opt/stack/tempest$ ./run_tests.sh -V
- - - - - - -
- - - - - - -

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

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
assignee: nobody → Masayuki Igawa (igawa)
status: New → In Progress
Qiu Yu (unicell)
Changed in python-keystoneclient:
assignee: nobody → Qiu Yu (unicell)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in python-keystoneclient:
status: New → In Progress
Dolph Mathews (dolph)
Changed in python-keystoneclient:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/65044
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=7a71e1b90ebf1c58fb47d823aa9a7be2406eae17
Submitter: Jenkins
Branch: master

commit 7a71e1b90ebf1c58fb47d823aa9a7be2406eae17
Author: Qiu Yu <email address hidden>
Date: Mon Jan 6 16:35:10 2014 +0800

    Use install_venv from oslo to fix no post_process issue

    In a recent oslo sync commit Ieb73d5f799423fa8abf71634c86601ba6d32df2f
    post_process() has been removed from tools/install_venv_common.py, which
    is still called in tools/install_venv.py

    Further investigation shows install_venv.py has some legacy distro
    specific code, which should be removed at the time introducing
    install_venv_common from oslo.

    This change switch tools/install_venv.py to use oslo code to align the
    effort as well as fixing original no 'post_process' issue.

    Changes being pulled into in install_venv are:
    12bcdb7 - 2013-11-25 12:16:11 +0800 - Remove vim header
    b5cca99 - 2013-10-09 21:34:00 +0100 - Remove obsolete
    redhat-eventlet.patch
    9378d3c - 2013-08-13 18:06:11 +0300 - Move `./run_tests.sh` to Oslo

    Note: openstack-common.conf is not updated, because the project name
    variable in install_venv has to be modified after syncing from oslo.
    That makes it not an exact sync but modification after sync. Besides
    other openstack projects using install_venv from oslo also don't change
    openstack-common.conf. So this patch simply follow the common practice
    here.

    Change-Id: I78a7563fbbde70cfd98cf1bd7a5a4eec5370d31d
    Closes-Bug: #1263940

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.4.2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/64234
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=f3d92ecc2e745d56f6cdd25e2412d5203ce11272
Submitter: Jenkins
Branch: master

commit f3d92ecc2e745d56f6cdd25e2412d5203ce11272
Author: Masayuki Igawa <email address hidden>
Date: Fri Dec 27 14:15:07 2013 +0900

    Use install_venv from oslo to fix no post_process issue

    In a recent oslo sync commit Ib9b07fe733dc2c924ac0eb054fa707dd352a812b,
    post_process() has been removed from tools/install_venv_common.py.
    However, it's still called in tools/install_venv.

    The current code for CentOS looks like trying to install the openssl
    after trying to compile pyOpenSSL. So this can't be working.

    This change switches tools/install_venv.py to use oslo code to align the
    effort as well as fixing original no 'post_process' issue.

    Note: openstack-common.conf is not updated. Because the project name
    variable in install_venv has to be modified after syncing from oslo.
    That makes it not an exact sync but modification after sync now.

    Change-Id: Ia50075f9b317315eb939ddb66645987bb9ec69c2
    Closes-Bug: #1263940

Changed in tempest:
status: In Progress → Fix Released
Dolph Mathews (dolph)
Changed in python-keystoneclient:
status: Fix Committed → Fix Released
Masco (masco)
Changed in python-cinderclient:
status: New → In Progress
assignee: nobody → Masco Kaliyamoorthy (masco)
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/78560

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-cinderclient (master)

Change abandoned by Masco Kaliyamoorthy (<email address hidden>) on branch: master
Review: https://review.openstack.org/78560
Reason: simple patch has been added and merged for this problem.

Masco (masco)
Changed in python-cinderclient:
assignee: Masco Kaliyamoorthy (masco) → nobody
Changed in python-cinderclient:
status: In Progress → Invalid
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.