Bug 2193091 - Can't start rpm-ostreed.service on raw image due to error - Multiple specifications found for remote "fedora-iot"
Summary: Can't start rpm-ostreed.service on raw image due to error - Multiple specific...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-iot-config
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Paul Whalen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 10:04 UTC by Xiaofeng Wang
Modified: 2024-03-06 15:30 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-06 15:30:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Xiaofeng Wang 2023-05-04 10:04:47 UTC
Build a raw image with osbuild-composer and boot it. Run rpm-ostree status command failed with error service "rpm-ostreed.service" start failed - error: Couldn't start daemon: Error setting up sysroot: opening repo: Multiple specifications found for remote "fedora-iot"

Version:
ostree-2023.2-2.fc39.x86_64
rpm-ostree-2023.3-1.fc39.x86_64

Log:
× rpm-ostreed.service - rpm-ostree System Management Daemon
         Loaded: loaded (/usr/lib/systemd/system/rpm-ostreed.service; static)
        Drop-In: /usr/lib/systemd/system/service.d
                 └─10-timeout-abort.conf
         Active: failed (Result: exit-code) since Thu 2023-05-04 09:45:21 UTC; 18ms ago
           Docs: man:rpm-ostree(1)
        Process: 1766 ExecStart=rpm-ostree start-daemon (code=exited, status=1/FAILURE)
       Main PID: 1766 (code=exited, status=1/FAILURE)
         Status: "error: Couldn't start daemon: Error setting up sysroot: opening repo: Multiple specifications found for remote "fedora-iot""
            CPU: 38ms

    May 04 09:45:21 localhost.localdomain systemd[1]: Starting rpm-ostreed.service - rpm-ostree System Management Daemon...
    May 04 09:45:21 localhost.localdomain rpm-ostree[1766]: Reading config file '/etc/rpm-ostreed.conf'
    May 04 09:45:21 localhost.localdomain rpm-ostree[1766]: error: Couldn't start daemon: Error setting up sysroot: opening repo: Multiple specifications found for remote "fedora-iot"
    May 04 09:45:21 localhost.localdomain systemd[1]: rpm-ostreed.service: Main process exited, code=exited, status=1/FAILURE
    May 04 09:45:21 localhost.localdomain systemd[1]: rpm-ostreed.service: Failed with result 'exit-code'.
    May 04 09:45:21 localhost.localdomain systemd[1]: Failed to start rpm-ostreed.service - rpm-ostree System Management Daemon.

Reproducible: Always

Steps to Reproduce:
1. Deploy a fedora rawhide VM from psi openstack
2. git clone https://github.com/virt-s1/rhel-edge.git
3. cd rhel-edge
4. DOCKERHUB_USERNAME=<dockerhub user> DOCKERHUB_PASSWORD=<dockerhub pass> ./ostree-raw-image.sh
Actual Results:  
Can't start rpm-ostreed.service.

Expected Results:  
rpm-ostreed.service should get started.

Comment 1 Paul Whalen 2023-05-04 13:25:47 UTC
This is related to a change we're working on in Fedora, reassigning to me.

Comment 2 Fedora Release Engineering 2023-08-16 08:07:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 3 Paul Whalen 2024-03-06 15:30:56 UTC
This is fixed in the latest version. Closing.


Note You need to log in before you can comment on or make changes to this bug.