Ara fails to install in some of tripleo jobs with ImportError: 'module' object has no attribute 'check_specifier'

Bug #1792622 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Rafael Folco

Bug Description

In some of tripleo jobs ARA fails to install with error "ImportError: 'module' object has no attribute 'check_specifier'"

http://logs.openstack.org/22/597222/14/check/tripleo-ci-centos-7-containerized-undercloud-upgrades/6c7a35d/job-output.txt.gz#_2018-09-14_17_09_53_208007

Looking in indexes: http://mirror.ord.rax.openstack.org/pypi/simple, http://mirror.ord.rax.openstack.org/wheel/centos-7.5.1804-x86_64
Collecting ara
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/68/cd/dee19950ae6c5cbd27a065156536a1dc8a88faa481122701e4f13ceeabf4/ara-0.16.1-py2.py3-none-any.whl (152kB)
Collecting XStatic-DataTables>=1.10.15 (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/3c/bb/d6a58cd1c4082bb5824db4eacb9293a882037793f41bef7bcaabc34ff9dd/XStatic-DataTables-1.10.15.1.tar.gz (209kB)
Collecting Flask-Migrate (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/59/97/f681c9e43d2e2ace4881fa588d847cc25f47cc98f7400e237805d20d6f79/Flask_Migrate-2.2.1-py2.py3-none-any.whl
Collecting Flask!=0.12.3,>=0.11 (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl (91kB)
Collecting XStatic-jQuery>=1.8.2.1 (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/f4/f3/b806d039ec4cd3ff601d7af49a18cb70697171c7b93030d4f1ffb881c174/XStatic-jQuery-1.10.2.1.tar.gz (116kB)
Requirement already satisfied, skipping upgrade: cliff in /usr/lib/python2.7/site-packages (from ara) (2.11.1)
Collecting XStatic-Bootstrap-SCSS>=3.3.7.1 (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/c6/8c/4a4784d08dd01afe198ef1a8c7c8104d4c5f638257769747ca29bf1e671a/XStatic_Bootstrap_SCSS-3.3.7.1-py2.py3-none-any.whl (247kB)
Collecting Frozen-Flask (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/94/f7/d04d4ee76a9ceb4c1dc1846e86d8784b72e38179fd5f468b61e77bb52296/Frozen_Flask-0.15-py2.py3-none-any.whl
Collecting Flask-Script (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/00/a4/cd587b2b19f043b65bf33ceda2f6e4e6cdbd0ce18d01a52b9559781b1da6/Flask-Script-2.0.6.tar.gz (43kB)
Collecting ansible>=2.4.5.0 (from ara)
  Downloading http://mirror.ord.rax.openstack.org/pypifiles/packages/d4/25/528d45116c7ccef06cced5b90528b3c31380cba118df714c890bc77ff2d7/ansible-2.6.4.tar.gz (10.8MB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-ObacOm/ansible/setup.py", line 312, in <module>
        main()
      File "/tmp/pip-install-ObacOm/ansible/setup.py", line 307, in main
        setup(**setup_params)
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 272, in __init__
        _Distribution.__init__(self,attrs)
      File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
        self.finalize_options()
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 327, in finalize_options
        ep.load()(self, ep.name, value)
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2229, in load
        return self.resolve()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2239, in resolve
        raise ImportError(str(exc))
    ImportError: 'module' object has no attribute 'check_specifier'

    ----------------------------------------

:stderr: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-ObacOm/ansible/

Tags: quickstart
Changed in tripleo:
milestone: rocky-rc2 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

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

Changed in tripleo:
assignee: Sagi (Sergey) Shnaidman (sshnaidm) → Rafael Folco (rafaelfolco)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/611717
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=3652de04fc1b149d316b7187fd98c86d663d19e4
Submitter: Zuul
Branch: master

commit 3652de04fc1b149d316b7187fd98c86d663d19e4
Author: Rafael Folco <email address hidden>
Date: Thu Oct 18 17:39:19 2018 -0300

    Do not configure ara on undercloud by default

    Until we cannot pin ara deps to each branch.
    In some of tripleo jobs ARA fails to install with error
    "ImportError: 'module' object has no attribute 'check_specifier'"

    Also improve error handling, only install ara if deps are met.

    Change-Id: I719ee3665c12375a2f9bbb19685f4f626b26f7c9
    Closes-Bug: #1792622

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 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.