sigmavirus24 / openstack-ansible-magnum

Role to deploy Magnum with OpenStack Ansible
Apache License 2.0
1 stars 0 forks source link

couple of errors when running #1

Open v1k0d3n opened 8 years ago

v1k0d3n commented 8 years ago

hey, great repo! nearly everything worked, but i'm running into a couple of pip dependency issues, and i was wondering if you've run into this also? here's some of the output:

...
failed: [aio1_magnum_container-f3833164] => (item=oslo.versionedobjects) => {"attempts": 5, "cmd": "/usr/local/bin/pip install oslo.versionedobjects", "failed": true, "item": "oslo.versionedobjects"}
msg: Task failed as maximum retries was encountered
...
failed: [aio1_magnum_container-f3833164] => (item=magnum) => {"attempts": 5, "cmd": "/usr/local/bin/pip install magnum", "failed": true, "item": "magnum"}
msg: Task failed as maximum retries was encountered
...

when getting into the container, i uncovered the dependency issue:

root@aio1_magnum_container-f3833164:/# pip install oslo.versionedobjects
DEPRECATION: --allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Ignoring indexes: https://pypi.python.org/simple
Collecting oslo.versionedobjects
  Downloading http://172.29.236.100:8181/os-releases/12.0.9/oslo.versionedobjects-1.1.0-py2.py3-none-any.whl (68kB)
    100% |████████████████████████████████| 71kB 140.5MB/s
Requirement already up-to-date: WebOb>=1.2.3 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Requirement already up-to-date: oslo.log>=1.12.0 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Requirement already up-to-date: oslo.i18n>=1.5.0 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Requirement already up-to-date: oslo.serialization>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Requirement already up-to-date: oslo.context>=0.2.0 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Requirement already up-to-date: oslo.concurrency>=2.3.0 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Requirement already up-to-date: oslo.utils>=2.8.0 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Requirement already up-to-date: netaddr!=0.7.16,>=0.7.12 in /usr/local/lib/python2.7/dist-packages (from oslo.versionedobjects)
Collecting oslo.messaging!=2.8.0,>2.6.1 (from oslo.versionedobjects)
  Could not find a version that satisfies the requirement oslo.messaging!=2.8.0,>2.6.1 (from oslo.versionedobjects) (from versions: 2.5.0)
No matching distribution found for oslo.messaging!=2.8.0,>2.6.1 (from oslo.versionedobjects)

and

root@aio1_magnum_container-f3833164:/# pip install magnum
DEPRECATION: --allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Ignoring indexes: https://pypi.python.org/simple
Collecting magnum
  Could not find a version that satisfies the requirement magnum (from versions: )
No matching distribution found for magnum
root@aio1_magnum_container-f3833164:/#

is there anything i can test or do on my end? this is an extremely useful repo, and i was so happy to find it. we're using the OSAD project more, and it would be awesome to test some magnum resources. if there's anything i can do on my end...let me know, and i'd be happy to help!

v1k0d3n commented 8 years ago

oh, i went back and noticed this from earlier:

root@megatron:~/osad-extend# ansible-galaxy install \
>     git+https://github.com/sigmavirus24/openstack-ansible-magnum
- executing: git clone https://github.com/sigmavirus24/openstack-ansible-magnum openstack-ansible-magnum
- executing: git archive --prefix=openstack-ansible-magnum/ --output=/tmp/tmpxunJql.tar master
- extracting openstack-ansible-magnum to /etc/ansible/roles/openstack-ansible-magnum
- openstack-ansible-magnum was installed successfully
- adding dependency: apt_package_pinning
- adding dependency: galera_client
- adding dependency: pip_install
- adding dependency: pip_lock_down
- downloading role 'apt_package_pinning', owned by
- sorry, apt_package_pinning was not found on galaxy.ansible.com.
- you can use --ignore-errors to skip failed roles.

that may have a little something to do with the dependency issues?