Task #3683
closedStory #3637: As a user, I can run pulp in a FIPS-enabled environment
Get lazy sync and pulp_streamer working in a FIPS environment
Added by daviddavis over 6 years ago. Updated over 5 years ago.
0%
Description
Looks like it won't start right now. There's a strange error (see below) and also dalley observed that twisted (a dependency) makes use of md5.
pkg_resources.DistributionNotFound: Automat>=0.3.0
Updated by daviddavis over 6 years ago
- Subject changed from Get pulp_streamer working in a FIPS environment to Get lazy sync and pulp_streamer working in a FIPS environment
Updated by dkliban@redhat.com over 6 years ago
- Status changed from NEW to ASSIGNED
Looks like this is just a bug with the installation. I was able to get the deps installed and pulp_streamer working. I used the following commands:
sudo easy_install pip
sudo pip install Automat
sudo pip install incremental
sudo pip install constantly
sudo pip install zope.interface==4.5.0
sudo pip install idna
Then I ran pulp-smash tests that were related and got all passing results:
py.test -v --color=yes --pyargs pulp_smash.tests.pulp2.rpm.api_v2.test_download_policies
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.6.5, pytest-3.5.1, py-1.5.3, pluggy-0.6.0 -- /home/vagrant/sssmash/bin/python3
cachedir: .pytest_cache
rootdir: /home/vagrant/.ssh, inifile:
collected 24 items
test_download_policies.py::BackgroundTestCase::test_repo_local_units <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 4%]
test_download_policies.py::BackgroundTestCase::test_request_history <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 8%]
test_download_policies.py::BackgroundTestCase::test_rpm_checksum <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 12%]
test_download_policies.py::BackgroundTestCase::test_spawned_download_task <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 16%]
test_download_policies.py::OnDemandTestCase::test_local_units <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 20%]
test_download_policies.py::OnDemandTestCase::test_repository_units <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 25%]
test_download_policies.py::OnDemandTestCase::test_request_history <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 29%]
test_download_policies.py::OnDemandTestCase::test_rpm_cache_control_header <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 33%]
test_download_policies.py::OnDemandTestCase::test_rpm_cache_lookup_header <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 37%]
test_download_policies.py::OnDemandTestCase::test_rpm_checksum <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 41%]
test_download_policies.py::OnDemandTestCase::test_same_rpm_cache_header <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 45%]
test_download_policies.py::OnDemandTestCase::test_same_rpm_checksum <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 50%]
test_download_policies.py::FixFileCorruptionTestCase::test_corruption_occurred <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 54%]
test_download_policies.py::FixFileCorruptionTestCase::test_start_end_checksums <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 58%]
test_download_policies.py::FixFileCorruptionTestCase::test_units_after_download <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 62%]
test_download_policies.py::FixFileCorruptionTestCase::test_units_before_download <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 66%]
test_download_policies.py::FixFileCorruptionTestCase::test_verify_all_units_false <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 70%]
test_download_policies.py::FixFileCorruptionTestCase::test_verify_all_units_true <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 75%]
test_download_policies.py::SwitchPoliciesTestCase::test_background_to_immediate <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 79%]
test_download_policies.py::SwitchPoliciesTestCase::test_background_to_on_demand <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 83%]
test_download_policies.py::SwitchPoliciesTestCase::test_immediate_to_background <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 87%]
test_download_policies.py::SwitchPoliciesTestCase::test_immediate_to_on_demand <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 91%]
test_download_policies.py::SwitchPoliciesTestCase::test_on_demand_to_background <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [ 95%]
test_download_policies.py::SwitchPoliciesTestCase::test_on_demand_to_immediate <- ../devel/pulp-smash/pulp_smash/tests/pulp2/rpm/api_v2/test_download_policies.py PASSED [100%]
========================================================================================== 24 passed in 1401.80 seconds ===========================================================================================
Updated by dkliban@redhat.com over 6 years ago
I filed a bug against RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1589980
Updated by daviddavis over 6 years ago
Looks like the issue is in CentOS: https://bugs.centos.org/view.php?id=14976
Updated by daviddavis over 6 years ago
Per our meeting today, we decided not to look into CentOS bug ourselves. Instead, we're going to add a release note that if users want to run Pulp in FIPS mode on CentOS, they'll need to install the packages manually with pip:
sudo easy_install pip
sudo pip install Automat
sudo pip install incremental
sudo pip install constantly
sudo pip install zope.interface==4.5.0
sudo pip install idna
Updated by daviddavis over 6 years ago
- Status changed from ASSIGNED to CLOSED - WONTFIX