Bug 2209924
| Summary: | D-Bus: OCI deployments fail with "Generating update variant: Invalid refspec" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Pitt <mpitt> | ||||
| Component: | rpm-ostree | Assignee: | Colin Walters <walters> | ||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 38 | CC: | amurdaca, dustymabe, jmarrero, jonathan, lucab, miabbott, philip.wyett, travier, walters | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 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
Martin Pitt
2023-05-25 08:51:01 UTC
Created attachment 1966814 [details]
python GDBus GI reproducer
Hmm, apparently it's not the tag name. I changed our integration tests to use "latest", and I'm still getting
Generating update variant: Invalid refspec ostree-unverified-registry:localhost:5000/ostree-oci
Deployments:
● ostree-unverified-registry:localhost:5000/ostree-oci
Digest: sha256:da2503574d72f4cd0982060416ef1d47f3ce8db23821e660029bbce03c0d5353
Version: cockpit-base.1 (2023-05-25T09:13:30Z)
`rpm-ostree upgrade --download-only` works fine, though. Adjusting the title accordingly.
> Steps to Reproduce
Sorry, I forgot an important step to enable GDBus through GI. Full reproducer:
1. rpm-ostree rebase ostree-unverified-registry:quay.io/fedora/fedora-coreos:stable
2. reboot
3. rpm-ostree install -A python3-gobject-base gobject-introspection
4. python3 rpm-ostree-check-update.py
This may relate to https://github.com/coreos/rpm-ostree/issues/4176 I'd really appreciate a quick check if we are using the API wrong, or if this is an actual bug in rpm-ostree. I noticed https://github.com/coreos/rpm-ostree/issues/4176 as well, but it has a different symptom. May be the same root cause, of course. Thanks! I'm pretty sure it's just a dup of 4176 with the same root cause. We have https://github.com/coreos/rpm-ostree/pull/4486 inbound to attempt to fix it. Thanks Colin! I subscribed to that PR. |