#13053 COSMIC Atomic 43 ostree ref not updated
Closed: Fixed by jnsamyak. Opened by siosm.

  • Describe the issue

The COSMIC Atomic 43 ostree ref is lagging behind. Likely because it did not get switched to the updates one as part of the release.

  • When do you need this? (YYYY/MM/DD)

When possible.

  • When is this no longer needed or useful? (YYYY/MM/DD)

N/A

  • If we cannot complete your request, what is the impact?

No F43 update for Fedora COSMIC Atomic 43 users.


Metadata Update from @jnsamyak:
- Issue tagged with: high-gain, low-trouble, ops, sprint-3

Sorry I don't remember where this script is.

COSMIC-Atomic  41               42               42-testing       43               43-testing       Rawhide
x86_64                          42.20251031.0    42.20251031.0    43.20251024.n.0  43.20251031.0    Rawhide.20251030.n.0
aarch64                         42.20251031.0    42.20251031.0    43.20251024.n.0  43.20251031.0    Rawhide.20251030.n.0

I remember running the ostree https://docs.fedoraproject.org/en-US/infra/release_guide/sop_final_release/#_atomic_desktops_changes

sigh - https://pagure.io/releng/blob/main/f/scripts_new/release-process/atomic/update_ostree_refs.sh#_7 because it is missing from here
sad let me fix and run it

Make sure to not run the script again as it will delete the existing refs!

We also don't do ppc64le builds anymore

cat update_ostree_refs.sh 
#!/usr/bin/bash
N=$1
# Define the artifacts and the architectures they support
declare -A artifacts
artifacts["cosmic-atomic"]="x86_64 aarch64"
OSTREE_COMPOSE_BASEDIR='/mnt/koji/compose/ostree/repo'
OSTREE_REPO_BASEDIR='/mnt/koji/ostree/repo/'
function do_things() {
for variant in "${!artifacts[@]}"; do
    for arch in ${artifacts["$variant"]}; do
        # Delete the existing update ref if it exists
        sudo ostree refs --delete "fedora/${N}/${arch}/updates/${variant}" || true
        # Create the new updates ref based on the main ref
        sudo -u ftpsync ostree refs --create="fedora/${N}/${arch}/updates/${variant}" "fedora/${N}/${arch}/${variant}"
        # Then delete the main ref
        sudo ostree refs --delete "fedora/${N}/${arch}/${variant}"
        # Then create a new main ref that is an alias to the updates ref
        sudo -u ftpsync ostree refs --alias --create="fedora/${N}/${arch}/${variant}" "fedora/${N}/${arch}/updates/${variant}"
     done
 done
}
pushd $OSTREE_COMPOSE_BASEDIR
do_things
popd
pushd $OSTREE_REPO_BASEDIR
do_things
popd
pushd $OSTREE_REPO_BASEDIR
sudo ostree summary -u
popd
./update_ostree_refs.sh 43
/mnt/koji/compose/ostree/repo /home/fedora/jnsamyak/releng/scripts
/home/fedora/jnsamyak/releng/scripts
/mnt/koji/ostree/repo /home/fedora/jnsamyak/releng/scripts
/home/fedora/jnsamyak/releng/scripts
/mnt/koji/ostree/repo /home/fedora/jnsamyak/releng/scripts
/home/fedora/jnsamyak/releng/scripts

It should be there, I'll update the script in releng repo.

Thanks! We'll see tomorrow if everything is in order

Metadata Update from @jnsamyak:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @jnsamyak:
- Issue assigned to jnsamyak

Everything looks good. Thanks!

Metadata