Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install of Docker SDK fails on RHEL #97

Closed
haxorof opened this issue Jun 2, 2019 · 0 comments
Closed

Install of Docker SDK fails on RHEL #97

haxorof opened this issue Jun 2, 2019 · 0 comments
Labels

Comments

@haxorof
Copy link
Owner

haxorof commented Jun 2, 2019

Ansible Version

2.6.16

Role Version

master

Role configuration

- name: Test using PiP to install SDK, compose and stack
  hosts: test-host
  vars:
    docker_users:
      - vagrant
    docker_sdk: true
    docker_compose: true
    docker_stack: true
  roles:
    - haxorof.docker_ce

Expected Behavior

Successful installation of Docker SDK and Ansible modules can be used related to Docker

Actual Behavior

TASK [haxorof.docker_ce : Install additional packages (OS package manager)] ****
Sunday 02 June 2019  12:08:17 +0000 (0:00:00.071)       0:07:30.708 ***********
FAILED - RETRYING: Install additional packages (OS package manager) (3 retries left).
FAILED - RETRYING: Install additional packages (OS package manager) (2 retries left).
FAILED - RETRYING: Install additional packages (OS package manager) (1 retries left).
failed: [test-host] (item=python-pip) => {"attempts": 3, "changed": false, "item": "python-pip", "msg": "No package matching 'python-pip' found available, installed or updated", "rc": 126, "results": ["No package matching 'python-pip' found available, installed or updated"]}
ok: [test-host] => (item=openssl-devel)

This fails because PiP is available in rhel-server-rhscl-7-rpms which is not enabled but this still does not resolve it because scl needs to activate the python environment.

Installing Docker compose without PiP usage works as expected so for now just update the automated test to not execute the tests related to Docker SDK install with PiP.

Steps to Reproduce

See above role config

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant