Skip to content

Parsing issues and SELinux permission issues while building ironic images #41

@abhibongale

Description

@abhibongale

three issues:

  1. JSON Parsing (stackbox/core/compose.py:294-308):
  • podman-compose returns JSON array: [{...}, {...}]
  • Docker Compose v2 returns JSONL: {...}\n{...}
  • Added detection logic to handle both formats
  1. Health Status Parsing (stackbox/core/compose.py:314-333):
  • Docker Compose v2: has "Health" field directly
  • podman-compose: embeds health in "Status" field like "Up 3 minutes (healthy)"
  • Added regex parsing to extract health from Status string
  1. SELinux Permission for Sushy (docker-compose.yml.j2:74):
  • Added :Z flag to sushy config volume mount

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions