-
Notifications
You must be signed in to change notification settings - Fork 198
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
Cannot apply OVH #655
Comments
@licarth Hello, thank you so much for reporting the issue! I can confirm the problem and I'm working on fixing it. It is going little bit slower as I don't have access to OVH, but I will try my best and will update you once I have some news. Thank you! |
@licarth I've deployed a fix in #659 that could fix the problem. I don't have access to OVH, so I can't test it. You need to update to the latest version of
Before applying the cluster, you have to remove the cluster state and create a new one ( If you still have problems, please post the error or stack trace if there is any. If it works for you, let me know, so I can close the issue. Thank you so much! |
Hey @xmudrii ! Thank you so much for your quick reaction. I just tried, and I get the following error :
Seems to fail earlier now. |
I guess this is still a progress. 😅 I've merged #660 which may or may not fix the problem. To get the changes, update kubicorn like described above and recreate the state store file. Then, try to apply the cluster again. If you get the panics or any other errors again, please post the output here. Thanks a lot! |
Clearly it is ! Here is the new stacktrace :) 😅
|
When debugging I get |
In that case, the fix will probably not fix anything for now. I could try to apply another one, but this is getting really ugly. Let's do it anyways :D |
🦄 |
I can confirm this. Got same issue today. Here is my stacktrace ~$ kubicorn create myfirstk8s --profile ovh
2018-11-26T01:27:35-08:00 [ℹ] Selected [fs] state store
2018-11-26T01:27:35-08:00 [✿] The state [./_state/myfirstk8s/cluster.yaml] has been created. You can edit the file, then run `kubicorn apply myfirstk8s`
~$ kubicorn apply myfirstk8s
2018-11-26T01:27:43-08:00 [ℹ] Selected [fs] state store
2018-11-26T01:27:43-08:00 [ℹ] Loaded cluster: myfirstk8s
2018-11-26T01:27:43-08:00 [ℹ] Init Cluster
2018-11-26T01:27:44-08:00 [ℹ] Query existing resources
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x120 pc=0x1386c3a]
goroutine 1 [running]:
github.com/kubicorn/kubicorn/cloud/openstack/operator/generic/resources.(*Router).immutableRender(0xc0007141e0, 0x1d2c900, 0xc000714660, 0xc0003c5080, 0x0)
/home/thongld/go/src/github.com/kubicorn/kubicorn/cloud/openstack/operator/generic/resources/router.go:185 +0x8a
github.com/kubicorn/kubicorn/cloud/openstack/operator/generic/resources.(*Router).Actual(0xc0007141e0, 0xc0003c5080, 0x2, 0xc00043c068, 0xc000714540, 0x0, 0x0)
/home/thongld/go/src/github.com/kubicorn/kubicorn/cloud/openstack/operator/generic/resources/router.go:69 +0xdc
github.com/kubicorn/kubicorn/cloud.(*AtomicReconciler).Actual(0xc000714180, 0xc0003c5080, 0xc0003c5080, 0x0, 0x0)
/home/thongld/go/src/github.com/kubicorn/kubicorn/cloud/atomic_reconciler.go:50 +0x100
github.com/kubicorn/kubicorn/cmd.runApply(0xc0001fcb40, 0x59ad90, 0xc00062bcc0)
/home/thongld/go/src/github.com/kubicorn/kubicorn/cmd/apply.go:135 +0x452
github.com/kubicorn/kubicorn/cmd.ApplyCmd.func1(0xc000024480, 0xc0001f6c50, 0x1, 0x1)
/home/thongld/go/src/github.com/kubicorn/kubicorn/cmd/apply.go:59 +0x68
github.com/kubicorn/kubicorn/vendor/github.com/spf13/cobra.(*Command).execute(0xc000024480, 0xc0001f6c10, 0x1, 0x1, 0xc000024480, 0xc0001f6c10)
/home/thongld/go/src/github.com/kubicorn/kubicorn/vendor/github.com/spf13/cobra/command.go:750 +0x2cc
github.com/kubicorn/kubicorn/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x2e6ce00, 0xc00062bf78, 0x15c9ae9, 0x1b0d76f)
/home/thongld/go/src/github.com/kubicorn/kubicorn/vendor/github.com/spf13/cobra/command.go:831 +0x2dc
github.com/kubicorn/kubicorn/vendor/github.com/spf13/cobra.(*Command).Execute(0x2e6ce00, 0x407460, 0xc0000ae058)
/home/thongld/go/src/github.com/kubicorn/kubicorn/vendor/github.com/spf13/cobra/command.go:784 +0x2b
github.com/kubicorn/kubicorn/cmd.Execute()
/home/thongld/go/src/github.com/kubicorn/kubicorn/cmd/root.go:76 +0x2d |
Exactly the problem here, What is the updates ? |
Geting the same issue here. :( |
just got the same issue, any updates on this? |
OVH wasn't supporting the OpenStack Router API that kubicorn needed. It looks like they are currently trying it, it might already work in some regions. See https://labs.ovh.com/public-cloud-l3-services |
When trying to apply my OVH config, I get this :
I've tried various versions of kubicorn, and older ones fail for different reasons.
I don't think this is the same problem than those described in other open issues.
Anyone having the same issue ?
The text was updated successfully, but these errors were encountered: