-
Notifications
You must be signed in to change notification settings - Fork 54
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
Containerized imcsdk support for CIMC 3.0 using Docker #125
Conversation
Is your argument that we will need to ship this or that we should use this environment for dev while we work something out? Shipping this would be a can of worms. You probably shouldn't be using pip at all. |
@iawells Thanks for your comments. Yes, I think users/customers using CIMC 3.0 need to use this Docker container if they do not want to upgrade their Python to Maintaining/versioning/shipping this Dockerfile should be very easy. What is wrong with |
@vvb @waghswapnil @ragupta-git FYI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the changes.
@vvb Thanks a lot for merging this! :) Please let me know if there are any questions using the Docker container with CIMC 3.0 and I'd love to help with it. |
The new CIMC version 3.0 needs:
https://github.com/CiscoUcs/imcsdk/blob/master/docs/imcsdk_ug.rst#getting-started
RHEL ships with Python 2.7.5 as the system Python version:
CentOS also ships with Python 2.7.5 as the system Python version:
Upgrading system Python in RHEL and CentOS from Python 2.7.5 to Python >= 2.7.9 breaks a lot of packages like pip, yum, ansible, OpenStack packages, etc.
Upgrading system OpenSSL to version >= 1.0.1 may break VPN client and SSL. Apple MacOS sierra ships with OpenSSL 0.9.8 and will not even allow the user to upgrade OpenSSL.
Production/staging/ops testbeds may not even allow us to upgrade system Python and system OpenSSL as it may break other packages/features.
Hence, the best approach is to containerize imcsdk using Docker with all the required dependencies/packages needed to programmatically interact with CIMC 3.0.
This pull request adds Containerized imcsdk support for CIMC 3.0 using Docker.
The Docker container has the following packages needed for CIMC 3.0:
Python 2.7.13
(Python >= 2.7.9 is needed for CIMC 3.0)pip
with Python 2.7.13OpenSSL 1.0.1
imcsdk
library (https://github.com/CiscoUcs/imcsdk)RedFish
library (python-redfish-library
in https://github.com/DMTF/python-redfish-library)epel-release
and latestAnsible
(if the user wants to automate anything with CIMC 3.0)requests
library needed to interact with RedFish URIs/redfish/v1/*
The
README
file has all the instructions to use this Docker container with CIMC 3.0.