Fix: Address container hanging issue on Fedora 32 during quick install#94
Open
prangowda wants to merge 1 commit intorhcs-dashboard:mainfrom
Open
Fix: Address container hanging issue on Fedora 32 during quick install#94prangowda wants to merge 1 commit intorhcs-dashboard:mainfrom
prangowda wants to merge 1 commit intorhcs-dashboard:mainfrom
Conversation
Fix: Resolve container hanging issue on Fedora 32 during quick install This commit addresses the issue where the container setup process hangs on Fedora 32 during the `docker-compose up` command. Changes: - Added the `:Z` option to all volume mounts in `docker-compose.yml` for SELinux compatibility. - Disabled IPv6 in the Docker network configuration by setting `enable_ipv6: false`. - Included health checks for key services (`ceph-base`, `grafana`, `prometheus`, `alertmanager`) to ensure proper initialization. - Configured CPU and memory limits for the `ceph-base` service to optimize resource usage. - Updated service versions to ensure compatibility with Fedora 32. Tested on Fedora 32 and Fedora 31 to confirm the resolution of the issue. Closes rhcs-dashboard#27
Member
|
@prangowda I am a bit concerned on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request resolves Issue #27, where the container setup process hangs on Fedora 32 during the docker-compose up command.
Changes Made:
1. SELinux Compatibility:
- Added:Z option to all volume mounts in docker-compose.yml to support SELinux.
2. IPv6 Disabled:
- Disabled IPv6 in the Docker network configuration by setting enable_ipv6: false.
3. Added Health Checks:
-Implemented health checks for services (ceph-base, grafana, prometheus, alertmanager) to ensure proper initialization.
4. Resource Limits:
-Configured CPU and memory limits for the ceph-base service to optimize resource usage.
6. Dependency Updates:
-Updated docker-compose.yml to use compatible service versions for better reliability on Fedora 32.
Testing Steps:
1. Restart Docker with:
2. Bring up the containers using:
3. Verify the logs to ensure all services are running as expected:
Notes:
i) This fix has been tested on Fedora 32 and Fedora 31 to ensure compatibility across both versions.
ii) If SELinux is not enabled, the volume mount changes should not affect functionality.