Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EE build fails: add microdnf to ee spec for config_as_code workshop #2036

Closed
wants to merge 1 commit into from

Conversation

mannyci
Copy link

@mannyci mannyci commented Sep 12, 2023

SUMMARY
ISSUE TYPE
  • Bugfix Pull Request
  • Docs Pull Request
COMPONENT NAME
  • exercises
ADDITIONAL INFORMATION
  • ee_list
---
ee_list:
  - name: "config_as_code"
    dependencies:
      galaxy:
        collections:
          - name: infra.controller_configuration
            version: 2.5.1
          - name: infra.ah_configuration
            version: 2.0.3
          - name: infra.ee_utilities
            version: 3.1.2
          - name: awx.awx
            version: 22.4.0
          - name: containers.podman
            version: 1.10.3
          - name: community.general
            version: 7.3.0
  • Before
    "stdout_lines": [
        "Command that had error:",
        "  podman build -f context/Containerfile -t config_as_code context",
        "...showing last 20 lines of output...",
        "+ PIP_OPTS=",
        "+ install_bindep",
        "+ '[' -f bindep.txt ']'",
        "+ bindep -l newline",
        "+ sort",
        "+ '[' rhel == centos ']'",
        "++ bindep -b compile",
        "++ true",
        "+ compile_packages='podman",
        "python38-pytz",
        "python38-pyyaml",
        "python38-requests'",
        "+ '[' '!' -z 'podman",
        "python38-pytz",
        "python38-pyyaml",
        "python38-requests' ']'",
        "+ /usr/bin/dnf install -y podman python38-pytz python38-pyyaml python38-requests",
        "/output/scripts/assemble: line 75: /usr/bin/dnf: No such file or directory",

  • After
    "msg": "",
    "rc": 0,
    "start": "2023-09-12 12:21:53.444677",
    "stderr": "",
    "stderr_lines": [],
    "stdout": "\u001b[92mComplete! The build context can be found at: /tmp/ansible.rgz5e_a8temp/context\u001b[0m",
    "stdout_lines": [
        "\u001b[92mComplete! The build context can be found at: /tmp/ansible.rgz5e_a8temp/context\u001b[0m"
    ]
}

@IPvSean
Copy link
Contributor

IPvSean commented Sep 13, 2023

@sean-m-sullivan can you check this out

@sean-m-sullivan
Copy link
Contributor

This shouldn't be needed Did you set
ee_base_registry_username variable in the auth file?

if you do, the role automatically inserts this line
as per ee_utils defaults
and the base var here

@mannyci mannyci closed this Sep 22, 2023
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.

3 participants