[fuel-devops]improper pyyaml invocation in python-devops

Bug #1420459 reported by Igor Shishkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Tyzhnenko

Bug Description

(venv-nailgun-tests-2.9)jenkins@srv32-bud:~$ pip install -r https://raw.githubusercontent.com/stackforge/fuel-qa/master/fuelweb_test/requirements.txt
Collecting git+git://github.com/stackforge/fuel-devops.git@2.9.1 (from -r https://raw.githubusercontent.com/stackforge/fuel-qa/master/fuelweb_test/requirements.txt (line 2))
  Cloning git://github.com/stackforge/fuel-devops.git (to 2.9.1) to /tmp/pip-VA0Nsq-build
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-VA0Nsq-build/setup.py", line 17, in <module>
        from devops import version
      File "devops/__init__.py", line 16, in <module>
        import yaml
    ImportError: No module named yaml
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

      File "<string>", line 20, in <module>

      File "/tmp/pip-VA0Nsq-build/setup.py", line 17, in <module>

        from devops import version

      File "devops/__init__.py", line 16, in <module>

        import yaml

    ImportError: No module named yaml

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-VA0Nsq-build

That was happened because of

commit 34364a4c092ef4301ed55bf38357e409d38ca25a
Author: Dmitry Tyzhnenko <email address hidden>
Date: Wed Jan 14 12:53:18 2015 +0200

    Added version command to dos.py

    Added new command line functionality:
        version: show version of installed fuel-devops

    Setup.py and docs/conf.py get version and relase variable from
    devops.__init__.py

    Change-Id: Iecb14d227c11e9d8fe8942bb392c481dfa5fdd24
    Closes-bug: #1410751

So in such case we need pyyaml even before starting python-devops installation in virtualenv.

Tags: fuel-devops
Igor Shishkin (teran)
summary: - improver pyyaml invocation
+ improper pyyaml invocation in python-devops
Changed in fuel:
importance: Critical → High
assignee: Fuel QA Team (fuel-qa) → Dmitry Tyzhnenko (dtyzhnenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-devops (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Change abandoned by Dmitry Tyzhnenko (<email address hidden>) on branch: master
Review: https://review.openstack.org/154805

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

Reviewed: https://review.openstack.org/154809
Committed: https://git.openstack.org/cgit/stackforge/fuel-devops/commit/?id=a9f0ff362c24f078c99c30081535ce4fd8142b21
Submitter: Jenkins
Branch: master

commit a9f0ff362c24f078c99c30081535ce4fd8142b21
Author: Dmitry Tyzhnenko <email address hidden>
Date: Wed Feb 11 12:16:23 2015 +0200

    Revert import version in setup.py

        Bump version to 2.9.2

    Change-Id: I270de67ebce5b1aa9b070cc52f4ac122c83aed8d
    Close-bug: #1420459

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

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

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

Change abandoned by Dmitry Tyzhnenko (<email address hidden>) on branch: master
Review: https://review.openstack.org/154852

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

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

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

Reviewed: https://review.openstack.org/154853
Committed: https://git.openstack.org/cgit/stackforge/fuel-devops/commit/?id=64f94af0a0e32323b849507142b5cfcf5e1de71b
Submitter: Jenkins
Branch: stable

commit 64f94af0a0e32323b849507142b5cfcf5e1de71b
Author: Dmitry Tyzhnenko <email address hidden>
Date: Wed Feb 11 15:00:33 2015 +0200

    Revert import version in setup.py

        Bump version to 2.5.4

    Change-Id: I07fbd173791b4d906fb4d15579298e4c3fa11ad2
    Closes-Bug: #1420459

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

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

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

Change abandoned by Dmitry Tyzhnenko (<email address hidden>) on branch: master
Review: https://review.openstack.org/154790
Reason: use other way https://review.openstack.org/#/c/154809/

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

Related fix proposed to branch: stable
Review: https://review.openstack.org/154893

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

Reviewed: https://review.openstack.org/154893
Committed: https://git.openstack.org/cgit/stackforge/fuel-devops/commit/?id=ca54e5d667c89f0e8bd9c59f38bfd2843d8ba8bb
Submitter: Jenkins
Branch: stable

commit ca54e5d667c89f0e8bd9c59f38bfd2843d8ba8bb
Author: Dmitry Tyzhnenko <email address hidden>
Date: Wed Feb 11 16:34:37 2015 +0200

    Bump version to 2.5.5

    Change-Id: Ib88b48b3a08ac083759e309a571f640a5ae99fc9
    Related-bug: #1420459

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

Reviewed: https://review.openstack.org/154862
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=f1102837c94d86b732cf3d2c23d9499604a26482
Submitter: Jenkins
Branch: master

commit f1102837c94d86b732cf3d2c23d9499604a26482
Author: Dmitry Tyzhnenko <email address hidden>
Date: Wed Feb 11 15:18:49 2015 +0200

    Update system test requirements

        Change devops version to 2.5.5

    Change-Id: I9e5b33f6020705dcb4b008c930a30350d9f136ed
    Related-bug: #1420459

summary: - improper pyyaml invocation in python-devops
+ [fuel-devops]improper pyyaml invocation in python-devops
Changed in fuel:
status: In Progress → 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.