Last active
May 7, 2019 16:43
-
-
Save rsmitty/a1a40e5792b1c97a2140513eb532effb to your computer and use it in GitHub Desktop.
Cluster API Provider Multi-machine actuator issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl logs -f -n cluster-api-provider-talos-system cluster-api-provider-talos-controller-manager-0 | |
{"level":"info","ts":1557246922.364505,"logger":"talos-controller-manager.entrypoint","msg":"Adding machine actuator:","provisioner":{"Provisioner":{},"Clientset":{"LegacyPrefix":"/api"}}} | |
{"level":"info","ts":1557246922.3647182,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"machine-controller","source":"kind source: /, Kind="} | |
{"level":"info","ts":1557246922.365611,"logger":"talos-controller-manager.entrypoint","msg":"Adding machine actuator:","provisioner":{"Provisioner":{},"Clientset":{"LegacyPrefix":"/api"}}} | |
{"level":"info","ts":1557246922.3657587,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"machine-controller","source":"kind source: /, Kind="} | |
{"level":"info","ts":1557246922.365843,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cluster-controller","source":"kind source: /, Kind="} | |
{"level":"info","ts":1557246922.4851756,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"cluster-controller"} | |
{"level":"info","ts":1557246922.48532,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"machine-controller"} | |
{"level":"info","ts":1557246922.485318,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"machine-controller"} | |
{"level":"info","ts":1557246922.5854,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"cluster-controller","worker count":1} | |
{"level":"info","ts":1557246922.5853996,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"machine-controller","worker count":1} | |
{"level":"info","ts":1557246922.5854905,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"machine-controller","worker count":1} | |
I0507 16:35:48.986154 1 controller.go:89] Running reconcile Cluster for talos-test-cluster | |
I0507 16:35:48.999655 1 controller.go:89] Running reconcile Cluster for talos-test-cluster | |
I0507 16:35:48.999691 1 controller.go:127] reconciling cluster object talos-test-cluster triggers idempotent reconcile. | |
I0507 16:35:57.886192 1 controller.go:113] Reconciling Machine "talos-test-cluster-master-1" | |
I0507 16:35:57.886237 1 controller.go:113] Reconciling Machine "talos-test-cluster-master-1" | |
I0507 16:35:57.897714 1 controller.go:113] Reconciling Machine "talos-test-cluster-master-1" | |
2019/05/07 16:35:57 Checking if machine talos-test-cluster-master-1 for cluster talos-test-cluster exists. | |
I0507 16:35:57.897804 1 controller.go:222] Reconciling machine object talos-test-cluster-master-1 triggers idempotent create. | |
I0507 16:35:57.897774 1 controller.go:149] Failed to add finalizers to machine "talos-test-cluster-master-1": Operation cannot be fulfilled on machines.cluster.k8s.io "talos-test-cluster-master-1": the object has been modified; please apply your changes to the latest version and try again | |
2019/05/07 16:35:57 Creating machine talos-test-cluster-master-1 for cluster talos-test-cluster. | |
{"level":"error","ts":1557246957.897833,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"machine-controller","request":"default/talos-test-cluster-master-1","error":"Operation cannot be fulfilled on machines.cluster.k8s.io \"talos-test-cluster-master-1\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/talos-systems/cluster-api-provider-talos/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/talos-systems/cluster-api-provider-talos/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/talos-systems/cluster-api-provider-talos/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/talos-systems/cluster-api-provider-talos/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\ngithub.com/talos-systems/cluster-api-provider-talos/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/talos-systems/cluster-api-provider-talos/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/talos-systems/cluster-api-provider-talos/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/talos-systems/cluster-api-provider-talos/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/talos-systems/cluster-api-provider-talos/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/talos-systems/cluster-api-provider-talos/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/talos-systems/cluster-api-provider-talos/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/talos-systems/cluster-api-provider-talos/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"} | |
I0507 16:35:58.898594 1 controller.go:113] Reconciling Machine "talos-test-cluster-master-1" | |
2019/05/07 16:35:58 Checking if machine talos-test-cluster-master-1 for cluster talos-test-cluster exists. | |
I0507 16:35:58.898842 1 controller.go:207] Reconciling machine "talos-test-cluster-master-1" triggers idempotent update | |
2019/05/07 16:35:58 Updating machine talos-test-cluster-master-1 for cluster talos-test-cluster. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl get machines -o yaml | |
apiVersion: v1 | |
items: | |
- apiVersion: cluster.k8s.io/v1alpha1 | |
kind: Machine | |
metadata: | |
creationTimestamp: "2019-05-07T16:35:57Z" | |
finalizers: | |
- foregroundDeletion | |
- machine.cluster.k8s.io | |
generation: 2 | |
labels: | |
cluster.k8s.io/cluster-name: talos-test-cluster | |
set: master | |
name: talos-test-cluster-master-1 | |
namespace: default | |
ownerReferences: | |
- apiVersion: cluster.k8s.io/v1alpha1 | |
blockOwnerDeletion: true | |
kind: Cluster | |
name: talos-test-cluster | |
uid: 2bb3db64-70e6-11e9-b66e-4223dedeed79 | |
resourceVersion: "11506069" | |
selfLink: /apis/cluster.k8s.io/v1alpha1/namespaces/default/machines/talos-test-cluster-master-1 | |
uid: 30f80806-70e6-11e9-b66e-4223dedeed79 | |
spec: | |
metadata: | |
creationTimestamp: null | |
providerSpec: | |
value: | |
apiVersion: talosproviderconfig/v1alpha1 | |
kind: TalosMachineProviderSpec | |
platform: | |
config: |- | |
region: "us-west-2" | |
instances: | |
type: "t2.micro" | |
ami: "ami-0e9ab2a16128220c5" | |
disks: | |
size: 10 | |
type: aws | |
kind: List | |
metadata: | |
resourceVersion: "" | |
selfLink: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment