Skip to content

Conversation

@prangowda
Copy link

@prangowda prangowda commented Apr 16, 2025

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:

     sudo systemctl restart docker

2. Bring up the containers using:

     docker-compose up -d

3. Verify the logs to ensure all services are running as expected:

     docker-compose logs -f ceph

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.

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
@nizamial09
Copy link
Member

@prangowda I am a bit concerned on Fedora 32. That OS has not been outdated for a while now and we are mostly using and testing this against the latest versions like f40 or f41. Should we refactor this file because it is breaking on f32 (an unsupported fedora)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick install setup hangs on F32

2 participants