cluster-api-provider-gcp icon indicating copy to clipboard operation
cluster-api-provider-gcp copied to clipboard

Root Disk Image lookup should use a filter on image name rather than family when Version is specified but Spec.Image and Spec.ImageFamily are not

Open detiber opened this issue 4 years ago • 8 comments

/kind bug

What steps did you take and what happened: When only GCPMachine.Spec.Version is defined (without also defining Spec.Image or Spec.ImageFamily), the root disk lookup defaults to using image family, which groups all images by kubernetes major and minor versions (ignoring patch version), instead we should fall back to using filtering on the name to also include the patch version as well as sorting by creation timestamp to choose the newest image that matches the kubernetes major/minor/patch version combination.

detiber avatar Apr 14 '20 16:04 detiber

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Jul 13 '20 16:07 fejta-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten

fejta-bot avatar Aug 12 '20 16:08 fejta-bot

/lifecycle frozen

detiber avatar Aug 12 '20 21:08 detiber

/help

detiber avatar Dec 01 '20 20:12 detiber

@detiber: This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to this:

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Dec 01 '20 20:12 k8s-ci-robot

/assign

prksu avatar Jul 14 '21 17:07 prksu

@prksu hi if you are not working on the project then I would be happy to take it forward :)

Few confirmations @detiber -

  • Does the GCPMachine.Spec.Version is meant by this?
  • And Image & ImageFamily means this?

aniruddha2000 avatar May 08 '22 16:05 aniruddha2000

/assign

aniruddha2000 avatar May 09 '22 16:05 aniruddha2000