Skip to content

upgrade: version sync failure #487

Closed

Description

@cgwalters

OK, in my local upgrade test now:

  - lastTransitionTime: 2019-02-24T14:04:19Z
    message: 'Failed to resync 3.11.0-723-g617d35e9-dirty because: timed out waiting
      for the condition during syncRequiredMachineConfigPools: pool master has not
      progressed to latest configuration: controller version mismatch for 99-master-8509bfff-379c-11e9-b58a-52fdfc072182-registries
      expected 3.11.0-723-g617d35e9-dirty has 3.11.0-716-g96e07660-dirty'
    reason: 'timed out waiting for the condition during syncRequiredMachineConfigPools:
      pool master has not progressed to latest configuration: controller version mismatch
      for 99-master-8509bfff-379c-11e9-b58a-52fdfc072182-registries expected 3.11.0-723-g617d35e9-dirty
      has 3.11.0-716-g96e07660-dirty'
    status: "True"
    type: Failing

The pod/images state looks OK offhand:

$ oc logs deploy/machine-config-controller | head -1
I0224 13:52:34.705761       1 start.go:47] Version: 3.11.0-723-g617d35e9-dirty
$ oc logs deploy/machine-config-operator | head -1
I0224 13:52:17.628611       1 start.go:40] Version: 3.11.0-723-g617d35e9-dirty

So presumably the operator code isn't correctly picking up the new versions?

Activity

  1. runcom commented on Feb 24, 2019

    @runcom
    Member

    What's the expected behavior for this to be correct? How do I reproduce? I'm familiar with the error but how did it break?

  2. runcom commented on Feb 24, 2019

    @runcom
    Member

    It looks like operator and controllers progressed but the pool was still syncing with an older version?

    Can this be a consequence of #486 ?

  3. runcom commented on Feb 24, 2019

    @runcom
    Member

    The situation seems to be:

    • The master pool was correctly generated from the new controller with the new version
    • The master pool from above contains an MC fragment (container runtime registries) that was generated by the old controller
  4. runcom commented on Feb 24, 2019

    @runcom
    Member

    oooh, ok I found the bug 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions