Uploaded image for project: 'CoreOS OCP'
  1. CoreOS OCP
  2. COS-3509

cosa use stream label for commands like `kola run-upgrade`

XMLWordPrintable

    • CoreOS East - 275
    • 0

      [3276604433] Upstream Reporter: Roshan R Chandar
      Upstream issue status: Open
      Upstream description:

      While running `ext.config.networking.nmstate.policy` in a build environment made using `cosa import`, the test fail with the following output in the journal.

      ```
      Jul 30 06:01:32.592400 zincati.service[2240]: [INFO zincati::cli::agent] starting update agent (zincati 0.0.30)
      Jul 30 06:01:32.656236 zincati.service[2240]: [ERROR zincati] error: failed to assemble configuration settings
      Jul 30 06:01:32.656357 zincati.service[2240]: [ERROR zincati] -> failed to validate agent identity configuration
      Jul 30 06:01:32.656380 zincati.service[2240]: [ERROR zincati] -> failed to build default identity
      Jul 30 06:01:32.656400 zincati.service[2240]: [ERROR zincati] -> failed to introspect OS updates stream
      Jul 30 06:01:32.656420 zincati.service[2240]: [ERROR zincati] -> Missing `fedora-coreos.stream` in base image manifest annotations
      Jul 30 06:01:32.660000 init.scope[1]: zincati.service: Main process exited, code=exited, status=1/FAILURE
      Jul 30 06:01:32.660235 init.scope[1]: zincati.service: Failed with result 'exit-code'.
      ```

      I am using an image derived from http://quay.io/fedora/fedora-coreos:rawhide with the following Containerfile

      ```
      FROM quay.io/fedora/fedora-coreos:rawhide
      LABEL com.coreos.osname=fedora-coreos
      ```
      this is to make sure that `cosa import` works
      The full journal and console logs are pasted below

      [console.txt](https://github.com/user-attachments/files/21508229/console.txt)
      [journal.txt](https://github.com/user-attachments/files/21508230/journal.txt)

              rh-ee-bbnaraya Bipin Narayan
              rh-ee-bbnaraya Bipin Narayan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: