#9418 bodhi's new-updates-sync is spewing up some ostree stuff
Closed: Fixed by mohanboddu. Opened by mohanboddu.

  • Describe the issue

We are seeing a bunch of following messages sending to releng-cron@lists.fp.o, but nothing seems to be wacky:

Syncing ostree ref fedora/30/x86_64/testing/silverblue: a8920d908661f20a17bac81f368e65492e0daab574f4bb14bc78ee0ec6ef7d9d -> eb278c516bed69a723e88af20384aaae57bc73f9d1319534d3abb40364831610
Ostree ref fedora/30/x86_64/testing/silverblue now at a8920d908661f20a17bac81f368e65492e0daab574f4bb14bc78ee0ec6ef7d9d
Syncing ostree ref fedora/30/x86_64/updates/silverblue: bab0e38d0496b42b30e96208baf0bd46bf78304a56ab3d3edae8b042e8359b5d -> 543eef2e489cbdf3981404127f8b0da04faa4d4c4a95b8509ab5970c61c45894
Ostree ref fedora/30/x86_64/updates/silverblue now at bab0e38d0496b42b30e96208baf0bd46bf78304a56ab3d3edae8b042e8359b5d
Syncing ostree ref fedora/31/x86_64/testing/silverblue: 8e64531534bf7e9fcd509e66652149b6f4828535dcb721a13aa0e1b5625d7660 -> 8ae0f055eaa0485a42af1b889bf4b7cc408121cac17743f692ebd4a667545615
Ostree ref fedora/31/x86_64/testing/silverblue now at 8e64531534bf7e9fcd509e66652149b6f4828535dcb721a13aa0e1b5625d7660
Syncing ostree ref fedora/31/ppc64le/testing/silverblue: 951d90161cd6fb106fc926aab65a2c9dec5b019b2cbbd2412a0b82404d08502b -> c58f17356d76c3bd413f79c519497df3e94c708deb0f15543a743f132b1d74ba
Ostree ref fedora/31/ppc64le/testing/silverblue now at 951d90161cd6fb106fc926aab65a2c9dec5b019b2cbbd2412a0b82404d08502b
Syncing ostree ref fedora/31/aarch64/testing/silverblue: 2eb8f9c9f265ffce6becb558a4fab11ed9ab738db73b0ae53ed6aac5e42c123f -> 1182b273ef530c9841516d3d3220d616a1c7223a0037ab3a7997f495daaf83d9
Ostree ref fedora/31/aarch64/testing/silverblue now at 2eb8f9c9f265ffce6becb558a4fab11ed9ab738db73b0ae53ed6aac5e42c123f
Syncing ostree ref fedora/31/x86_64/updates/silverblue: 9f29728e5fe01e22080fb6b58c6efa3b8f36eaa78df0d21776eab0ef14047ef3 -> 70bde311366d9ae9f0191e56c2c90c338ae000f2ad6938f030cb486622b466cc
Ostree ref fedora/31/x86_64/updates/silverblue now at 9f29728e5fe01e22080fb6b58c6efa3b8f36eaa78df0d21776eab0ef14047ef3
Syncing ostree ref fedora/31/ppc64le/updates/silverblue: 21343c1ded3fa91a82c065824cd2892c28135a14268e098d0dfd99d6db441dd4 -> ea10f5996ad40fa3a81c406c9ad73174ab169001a5b6cbe45031c2dc36050dec
Ostree ref fedora/31/ppc64le/updates/silverblue now at 21343c1ded3fa91a82c065824cd2892c28135a14268e098d0dfd99d6db441dd4
Syncing ostree ref fedora/31/aarch64/updates/silverblue: bcb5c5f89e3a3eb5da1de1a0f8bdc3bbe133c3f2615934a4f158da51deb93497 -> d4c57da1e05daed51d675153b5a220fc2ebab162a11cb648b80f45757c084b0d
Ostree ref fedora/31/aarch64/updates/silverblue now at bcb5c5f89e3a3eb5da1de1a0f8bdc3bbe133c3f2615934a4f158da51deb93497
Syncing ostree ref fedora/32/x86_64/testing/silverblue: 5e2194cdfa3589ec5d2c47472d771261d3f5da9ee39ae20eadf75c481f22db20 -> 4ac522172066c988e858119b003fb9511704c8752958035c0b63e28c221c4678
Ostree ref fedora/32/x86_64/testing/silverblue now at 5e2194cdfa3589ec5d2c47472d771261d3f5da9ee39ae20eadf75c481f22db20
Syncing ostree ref fedora/32/ppc64le/testing/silverblue: 0cea4289d6704f1aee6dd3794811ad7bd5a59ed640589c18804e83907e20c334 -> aa9a99c4a58c8878998d5a9d6ba7553b81fa59111365622e77925e6386ddd74e
Ostree ref fedora/32/ppc64le/testing/silverblue now at 0cea4289d6704f1aee6dd3794811ad7bd5a59ed640589c18804e83907e20c334
Syncing ostree ref fedora/32/aarch64/testing/silverblue: 02d862f61953787d2052da5d7a1d56b132b7dc0a496736b5a7c6ef0efb078be2 -> 46fc4a503de5ad87515c019ee16ab67b7a0a435a12f0f6e0e5ee1d2e758a5803
Ostree ref fedora/32/aarch64/testing/silverblue now at 02d862f61953787d2052da5d7a1d56b132b7dc0a496736b5a7c6ef0efb078be2
Syncing ostree ref fedora/32/x86_64/updates/silverblue: 5640d06911cedb8e922329e5630b107011310b4acf7702603340950ce0ac5c03 -> 0750349ac06deb6399e2c292f9269686406a1bbd0d0157934aa6244283d771f5
Ostree ref fedora/32/x86_64/updates/silverblue now at 5640d06911cedb8e922329e5630b107011310b4acf7702603340950ce0ac5c03
Syncing ostree ref fedora/32/ppc64le/updates/silverblue: 78cc5c5c97f0a684e770ac7ea9e9dfd05822d13aa6c223fa40562cb3e079c57d -> d0098ed911f8317f57499a80e95d28e4210f2326d5ea2d9056ca867404c07a66
Ostree ref fedora/32/ppc64le/updates/silverblue now at 78cc5c5c97f0a684e770ac7ea9e9dfd05822d13aa6c223fa40562cb3e079c57d
Syncing ostree ref fedora/32/aarch64/updates/silverblue: cc544b0b95cf6cb470ab4481cc9799585ce5342dea22e4ebdfe142b993f82cde -> 7bd1650da0c6bf9b7c1d9a9775b8e1f9ba845e1807fd34b65f094ae14f0a9501
Ostree ref fedora/32/aarch64/updates/silverblue now at cc544b0b95cf6cb470ab4481cc9799585ce5342dea22e4ebdfe142b993f82cde

@dustymabe Could you please take a look?

Thanks

  • When do you need this? (YYYY/MM/DD)
    ASAP - before my email limit exceeds :smile:

We think this started happening because a summary file was created in the compose ostree repo which isn't supposed to be there. I just deleted it. Let's see if things go back to normal

sh-5.0$ rm /mnt/koji/compose/ostree/repo/summary 
rm: remove write-protected regular file '/mnt/koji/compose/ostree/repo/summary'? y

Also can I get +1/-1 for updating new-updates sync to have $initial -> $final notation? The output as-is is confusing.

$ git diff
diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync
index 8aae50be2..53ff5b8f0 100755
--- a/roles/bodhi2/backend/files/new-updates-sync
+++ b/roles/bodhi2/backend/files/new-updates-sync
@@ -239,9 +239,9 @@ def sync_ostree(dst, ref):
         oldumask = os.umask(0o0002)
         try:
             print('Syncing ostree ref %s: %s -> %s'
-                  % (ref, src_commit, dst_commit))
+                  % (ref, dst_commit, src_commit))
             logger.info('Syncing OSTree to %s, ref %s: %s -> %s',
-                        dst, ref, src_commit, dst_commit)
+                        dst, ref, dst_commit, src_commit)
             cmd = ['ostree', 'pull-local', '--verbose', '--repo',
                    dst, OSTREESOURCE, ref]
             out = run_command(cmd)

+1 to the diff in https://pagure.io/releng/issue/9418#comment-644607

This seems to be fixed now.

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

Metadata