Bug 2242590

Summary: [abrt] podman-compose: get_excluded(): podman_compose.py:2019:get_excluded:KeyError: '.'
Product: [Fedora] Fedora Reporter: Jan Vlug <jan.public>
Component: podman-composeAssignee: Gwyn Ciesla <gwync>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: gwync, jan.public
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2da8e372cbf2515b5f98b19e8632d0f6d1ddc62
Whiteboard: abrt_hash:8e73281e517bdd250b0c25fed67697bc45af884b;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-31 08:39:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: os_info
none
File: environ
none
File: cgroup
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description Jan Vlug 2023-10-07 07:43:27 UTC
Version-Release number of selected component:
podman-compose-1.0.6-1.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.4.15-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/podman-compose up .
uid:            1000
reason:         podman_compose.py:2019:get_excluded:KeyError: '.'
executable:     /usr/bin/podman-compose
type:           Python3
package:        podman-compose-1.0.6-1.fc38
runlevel:       N 5
exception_type: KeyError
crash_function: get_excluded
interpreter:    python3-3.11.5-1.fc38.x86_64

Truncated backtrace:
podman_compose.py:2019:get_excluded:KeyError: '.'

Traceback (most recent call last):
  File "/usr/bin/podman-compose", line 33, in <module>
    sys.exit(load_entry_point('podman-compose==1.0.6', 'console_scripts', 'podman-compose')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 2940, in main
    podman_compose.run()
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 1422, in run
    cmd(self, args)
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 1753, in wrapped
    return func(*args, **kw)
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 2030, in compose_up
    excluded = get_excluded(compose, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 2019, in get_excluded
    excluded -= compose.services[service]["_deps"]
                ~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: '.'

Local variables in innermost frame:
compose: <podman_compose.PodmanCompose object at 0x7fb496d71a10>
args: Namespace(version=False, in_pod=False, pod_args='--infra=false --share=', env_file='.env', file=['docker-compose.yml'], project_name=None, podman_path='podman', podman_args=[], podman_pull_args=[], podman_push_args=[], podman_build_args=[], podman_inspect_args=[], podman_run_args=[], podman_start_args=[], podman_stop_args=[], podman_rm_args=[], podman_volume_args=[], no_ansi=False, no_cleanup=False, dry_run=False, command='up', detach=False, no_color=False, quiet_pull=False, no_deps=False, force_recreate=False, always_recreate_deps=False, no_recreate=False, no_build=False, no_start=False, build=False, abort_on_container_exit=False, timeout=None, renew_anon_volumes=False, remove_orphans=False, scale=None, exit_code_from=None, pull=False, pull_always=False, build_arg=[], no_cache=False, services=['.'])
excluded: {'lx'}
service: '.'

Comment 1 Jan Vlug 2023-10-07 07:43:31 UTC
Created attachment 1992613 [details]
File: os_info

Comment 2 Jan Vlug 2023-10-07 07:43:33 UTC
Created attachment 1992614 [details]
File: environ

Comment 3 Jan Vlug 2023-10-07 07:43:35 UTC
Created attachment 1992615 [details]
File: cgroup

Comment 4 Jan Vlug 2023-10-07 07:43:36 UTC
Created attachment 1992616 [details]
File: mountinfo

Comment 5 Jan Vlug 2023-10-07 07:43:38 UTC
Created attachment 1992617 [details]
File: open_fds

Comment 6 Jan Vlug 2023-10-07 07:43:39 UTC
Created attachment 1992618 [details]
File: namespaces

Comment 7 Jan Vlug 2023-10-07 07:43:41 UTC
Created attachment 1992619 [details]
File: backtrace

Comment 8 Jan Vlug 2023-10-07 07:43:42 UTC
Created attachment 1992620 [details]
File: cpuinfo

Comment 9 Aoife Moloney 2024-05-31 08:39:08 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.