argoproj-labs / argo-rollouts-manager

Kubernetes Operator for Argo Rollouts controller.
https://argo-rollouts-manager.readthedocs.io/en/latest/
Apache License 2.0
93 stars 304 forks source link

Documentation fixes and an error #7

Closed drpaneas closed 1 year ago

drpaneas commented 1 year ago

Doing that you end up with the following error:

drpaneas@linux:~/go/src/github.com/iam-veeramalla/argo-rollouts-manager$ kubectl apply -f examples/basic_rolloutmanager.yaml
rolloutmanager.argoproj.io/rollout-manager created
2023-05-03T12:23:51+02:00   INFO    Reconciling Rollout Managers    {"controller": "rolloutmanager", "controllerGroup": "argoproj.io", "controllerKind": "RolloutManager", "RolloutManager": {"name":"rollout-manager","namespace":"default"}, "namespace": "default", "name": "rollout-manager", "reconcileID": "8129326f-b483-4472-8c02-d014c76175e2", "Request.Namespace": "default", "Request.Name": "rollout-manager"}
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts serviceaccount
drpaneas@linux:~/go/src/github.com/iam-veeramalla/argo-rollouts-manager$ 2023-05-03T12:23:51+02:00  INFO    rollouts-controller Creating serviceaccount argo-rollouts
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts roles
2023-05-03T12:23:51+02:00   INFO    rollouts-controller Creating role argo-rollouts
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts role bindings
2023-05-03T12:23:51+02:00   INFO    rollouts-controller Creating rolebinding argo-rollouts
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts secret
2023-05-03T12:23:51+02:00   INFO    rollouts-controller Creating secret argo-rollouts-notification-secret
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts deployment
2023-05-03T12:23:51+02:00   INFO    rollouts-controller Creating deployment argo-rollouts
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts service
2023-05-03T12:23:51+02:00   INFO    rollouts-controller Creating service argo-rollouts
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling status of workloads
2023-05-03T12:23:51+02:00   INFO    Reconciling Rollout Managers    {"controller": "rolloutmanager", "controllerGroup": "argoproj.io", "controllerKind": "RolloutManager", "RolloutManager": {"name":"rollout-manager","namespace":"default"}, "namespace": "default", "name": "rollout-manager", "reconcileID": "7d5c2dc2-6228-4031-a1cd-f539e5c4f0c9", "Request.Namespace": "default", "Request.Name": "rollout-manager"}
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts serviceaccount
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts roles
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts role bindings
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts secret
2023-05-03T12:23:51+02:00   INFO    rollouts-controller reconciling rollouts deployment

2023-05-03T12:23:51+02:00   ERROR   Reconciler error    {"controller": "rolloutmanager", "controllerGroup": "argoproj.io", "controllerKind": "RolloutManager", "RolloutManager": {"name":"rollout-manager","namespace":"default"}, "namespace": "default", "name": "rollout-manager", "reconcileID": "7d5c2dc2-6228-4031-a1cd-f539e5c4f0c9", "error": "Operation cannot be fulfilled on deployments.apps \"argo-rollouts\": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /home/drpaneas/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.1/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /home/drpaneas/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.1/pkg/internal/controller/controller.go:274
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
    /home/drpaneas/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.1/pkg/internal/controller/controller.go:235

2023-05-03T12:23:51+02:00   INFO    Reconciling Rollout Managers    {"controller": "rolloutmanager", "controllerGroup": "argoproj.io", "controllerKind": "RolloutManager", "RolloutManager": {"name":"rollout-manager","namespace":"default"}, "namespace": "default", "name": "rollout-manager", "reconcileID": "5e74903b-7821-4ca0-a173-1ccaccd822ce", "Request.Namespace": "default", "Request.Name": "rollout-manager"}