Skip to content

Syntax error and Validation error #46

@abhibongale

Description

@abhibongale
  1. Sushy-tools config syntax error (stackbox/templates/sushy/sushy-emulator.conf.j2:5,9,12)
  • Added quotes around string values ("libvirt", "qemu+tcp://...", "0.0.0.0")
  • Flask's from_pyfile() uses exec() so values need to be valid Python syntax
  1. Tempest path validation error (stackbox/cli/main.py:541,546,568,594)
  • Changed .relative_to(Path.cwd()) to .relative_to(config_dir_path)
  • Path.cwd() was wrong reference when working directory differs from project directory
  1. Sushy-tools healthcheck failure (stackbox/templates/docker-compose.yml.j2:82)
  • Changed from curl (not installed) to python3 -c "import urllib.request; urllib.request.urlopen(...)"
  • Container is now healthy
  1. Tempest build using wrong command (stackbox/cli/main.py:574)
  • Changed hardcoded docker-compose to runtime-detected command
  • Now uses get_compose_command() to support both Podman and Docker

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions