Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Longevity test cronjobs fail to re-rollout backend eployments #1690

Closed
pleshakov opened this issue Mar 14, 2024 · 0 comments · Fixed by #1691
Closed

Longevity test cronjobs fail to re-rollout backend eployments #1690

pleshakov opened this issue Mar 14, 2024 · 0 comments · Fixed by #1691
Assignees
Milestone

Comments

@pleshakov
Copy link
Contributor

The longevity test deploys a cronjobs to re-rollout backend deployments
https://github.com/nginxinc/nginx-gateway-fabric/blob/770ff04e3f1a77e5cd323a5fcb52ec3fbae882da/tests/suite/longevity_test.go#L28
https://github.com/nginxinc/nginx-gateway-fabric/blob/770ff04e3f1a77e5cd323a5fcb52ec3fbae882da/tests/suite/manifests/longevity/cronjob.yaml

However, they fail to re-rollout.

Example log:

2024-03-14 08:59:00.823 EDT
{
2024-03-14 08:59:00.823 EDT
  "kind": "Status",
2024-03-14 08:59:00.823 EDT
  "apiVersion": "v1",
2024-03-14 08:59:00.823 EDT
  "metadata": {},
2024-03-14 08:59:00.823 EDT
  "status": "Failure",
2024-03-14 08:59:00.823 EDT
  "message": "deployments.apps \"coffee\" is forbidden: User \"system:serviceaccount:longevity:rollout-mgr\" cannot patch resource \"deployments\" in API group \"apps\" in the namespace \"default\"",
2024-03-14 08:59:00.823 EDT
  "reason": "Forbidden",
2024-03-14 08:59:00.823 EDT
  "details": {
2024-03-14 08:59:00.823 EDT
    "name": "coffee",
2024-03-14 08:59:00.823 EDT
    "group": "apps",
2024-03-14 08:59:00.823 EDT
    "kind": "deployments"
2024-03-14 08:59:00.823 EDT
  },
2024-03-14 08:59:00.823 EDT
  "code": 403
2024-03-14 08:59:00.823 EDT
* Connection #0 to host kubernetes.default left intact
2024-03-14 08:59:00.826 EDT
}
@sjberman sjberman self-assigned this Mar 14, 2024
@sjberman sjberman added this to the v1.2.0 milestone Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants