Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1391270

Summary: need docker-py 1.8.0 or later in order to use cpuset_cpus option in the docker_container ansible module
Product: Red Hat Enterprise Linux 7 Reporter: Robert Li <baoli>
Component: python-docker-pyAssignee: Tomas Tomecek <ttomecek>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: chhudson, cww, imcleod
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-11 11:49:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Li 2016-11-02 22:18:12 UTC
Description of problem:
with rhel7.2 running on the host being provisioned, using cpuset_cpus option in the docker_container ansible module causes error indicating the option is not supported.

docker-py 1.7.2 comes with rhel7.2, and it doesn't support the option cpuset_cpus. docker-py 1.8.0 and later supports it. 

we need this support in OSP8 that is packaged with rhel7.2.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. create a ansible playbook that uses docker_container module with the option cpuset_cpus that pins the container to certain CPUs.
2. running the playbook to provision a node where rhel7.2 is installed
2. 
3.

Actual results:
ansible reports error indicating the option is not supported.

Expected results:
ansible should successfully create the container on the target machine which is pined to the designated cpus that is provided by the cpuset_cpus option.

Additional info:
Found https://bugzilla.redhat.com/show_bug.cgi?id=1374058 that adds docker-py 1.9.0 to rhel7.3.

Comment 2 Tomas Tomecek 2016-11-03 14:17:24 UTC
Hello, I'm sorry for the issue this is causing.


It's true that we are updating python-docker-py to 1.9.0 in Red Hat Enterprise Linux 7.3 (which should be available very very soon, since the mentioned bug is in RELEASE_PENDING).


Do you think that the update will resolve your issue?

Comment 5 Tomas Tomecek 2016-11-11 11:49:14 UTC
Per my previous comment, this issue is resolved with latest 7.3 update: you can pull python-docker-py in version 1.9 from there.