repo_build - create role based venv role in liberty branch fails

Bug #1527809 reported by Stanley@Linux Simba
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Kevin Carter

Bug Description

A few days ago, built openstack-ansible liberty branch in vagrant and discovered the following error:

"
                                                                                                    [62/1952]
TASK: [repo_build | Create role based venv] ***********************************
skipping: [reposerver_repo_container-8049cc8d] => (item={'key': 'repo_server', 'value': ['PyCrypto', 'PyYAML', 'cl$
udlib', 'python-memcached', 'requests', 'turbolift', 'virtualenv', 'virtualenv-tools', 'wheel', 'yaprt']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_keystone', 'value': ['PyMySQL', 'keystone', 'ke$
stonemiddleware', 'ldappool', 'lxml', 'oslo.middleware', 'pbr', 'pycrypto', 'pysaml2', 'python-keystoneclient', 'p$
thon-ldap', 'python-memcached', 'python-openstackclient', 'repoze.lru', 'virtualenv', 'virtualenv-tools']})
skipping: [reposerver_repo_container-8049cc8d] => (item={'key': 'galera_client', 'value': ['MySQL-python', 'pycryp$
o', 'python-memcached']})
skipping: [reposerver_repo_container-8049cc8d] => (item={'key': 'rabbitmq_server', 'value': ['pycrypto', 'python-m$
mcached']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_swift', 'value': ['ceilometermiddleware', 'dnsp$
thon', 'ecdsa', 'keystonemiddleware', 'pycrypto', 'pyeclib', 'python-cinderclient', 'python-keystoneclient', 'pyth$
n-memcached', 'python-swiftclient', 'pywbem', 'swift', 'virtualenv', 'virtualenv-tools']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_glance', 'value': ['PyMySQL', 'glance', 'keysto$
emiddleware', 'pycrypto', 'python-cinderclient', 'python-glanceclient', 'python-keystoneclient', 'python-memcached$
, 'python-swiftclient', 'virtualenv', 'virtualenv-tools', 'warlock']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_ceilometer', 'value': ['PyMySQL', 'ceilometer',
'ceilometermiddleware', 'libvirt-python', 'pycrypto', 'pymongo', 'python-ceilometerclient', 'python-keystoneclient$
, 'python-memcached', 'tooz', 'virtualenv', 'virtualenv-tools', 'warlock']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_heat', 'value': ['PyMySQL', 'heat', 'keystonemi$
dleware', 'pycrypto', 'python-ceilometerclient', 'python-cinderclient', 'python-glanceclient', 'python-heatclient'$
 'python-keystoneclient', 'python-memcached', 'python-neutronclient', 'python-novaclient', 'python-openstackclient$
, 'python-swiftclient', 'python-troveclient', 'virtualenv', 'virtualenv-tools']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_neutron', 'value': ['PyMySQL', 'cliff', 'config$
bj', 'keystonemiddleware', 'networking-plumgrid', 'neutron', 'neutron_lbaas', 'pycrypto', 'python-glanceclient', '$
ython-keystoneclient', 'python-memcached', 'python-neutronclient', 'python-novaclient', 'repoze.lru', 'virtualenv'$
 'virtualenv-tools']})
skipping: [reposerver_repo_container-8049cc8d] => (item={'key': 'galera_server', 'value': ['MySQL-python', 'pycryp$
o', 'python-memcached']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_aodh', 'value': ['MySQL-python', 'aodh', 'ceilo$
etermiddleware', 'pycrypto', 'pymongo', 'python-ceilometerclient', 'python-keystoneclient', 'python-memcached', 'v$
rtualenv', 'virtualenv-tools', 'warlock']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_nova', 'value': ['PyMySQL', 'keystonemiddleware$
, 'libvirt-python', 'nova', 'pycrypto', 'python-keystoneclient', 'python-memcached', 'python-novaclient', 'virtual$
nv', 'virtualenv-tools', 'websockify']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_cinder', 'value': ['PyMySQL', 'cinder', 'ecdsa'$
 'httplib2', 'keystonemiddleware', 'pycrypto', 'python-cinderclient', 'python-keystoneclient', 'python-memcached',
'pywbem', 'virtualenv', 'virtualenv-tools']})
changed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_tempest', 'value': ['fixtures', 'junitxml', 'no$
e', 'oslo.serialization', 'python-ceilometerclient', 'python-cinderclient', 'python-glanceclient', 'python-heatcli$
nt', 'python-keystoneclient', 'python-memcached', 'python-neutronclient', 'python-novaclient', 'python-openstackcl$
ent', 'python-subunit', 'python-swiftclient', 'tempest-lib', 'testrepository', 'testscenarios', 'testtools', 'virt$
alenv', 'virtualenv-tools']})
failed: [reposerver_repo_container-8049cc8d] => (item={'key': 'os_horizon', 'value': ['PyMySQL', 'django-appconf',
'django-openstack-auth>=2.0.1', 'greenlet', 'horizon', 'keystonemiddleware', 'oslo.config', 'ply', 'pycrypto', 'py$
hon-keystoneclient', 'python-memcached', 'virtualenv', 'virtualenv-tools']}) => {"attempts": 5, "cmd": "/tmp/opens$
ack-venv-builder/venvs/horizon/bin/pip install --timeout 120 --find-links /var/www/repo/os-releases/12.0.3 --no-in$
ex --verbose --log /var/log/repo/repo_venv_builder.log PyMySQL django-appconf django-openstack-auth>=2.0.1 greenlet
 horizon keystonemiddleware oslo.config ply pycrypto python-keystoneclient python-memcached virtualenv virtualenv-t
ools", "failed": true, "item": {"key": "os_horizon", "value": ["PyMySQL", "django-appconf", "django-openstack-auth>
=2.0.1", "greenlet", "horizon", "keystonemiddleware", "oslo.config", "ply", "pycrypto", "python-keystoneclient", "p
ython-memcached", "virtualenv", "virtualenv-tools"]}}
msg: Task failed as maximum retries was encountered

FATAL: all hosts have already failed -- aborting

"

Here is the patch that worked for me. in the /var/www/repo/os-releases/12.0.3 the keystonauth1 wheel pkg is only at 1.2.0

=====

diff --git a/playbooks/roles/os_horizon/defaults/main.yml b/playbooks/roles/os_horizon/defaults/main.yml
index 7885f0c..a3aab54 100644
--- a/playbooks/roles/os_horizon/defaults/main.yml
+++ b/playbooks/roles/os_horizon/defaults/main.yml
@@ -162,4 +162,5 @@ horizon_pip_packages:
   # This lower cap is to address django openstack auth issues found here:
   # https://bugs.launchpad.net/openstack-ansible/+bug/1497679
   # If the Horizon requirements change to a later version, this may be removed.
+ - "keystoneauth1>=2.1.0"
   - "django-openstack-auth>=2.0.1"

==========

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :
Changed in openstack-ansible:
status: New → Fix Released
milestone: none → mitaka-2
assignee: nobody → Jesse Pretorius (jesse-pretorius)
importance: Undecided → High
Revision history for this message
Kevin Carter (kevin-carter) wrote :
Changed in openstack-ansible:
milestone: mitaka-2 → 12.0.4
assignee: Jesse Pretorius (jesse-pretorius) → Kevin Carter (kevin-carter)
importance: High → Low
status: Fix Released → Fix Committed
Changed in openstack-ansible:
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.