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

Cannot create new OpenStack kops cluster #10003

Closed
zetaab opened this issue Sep 30, 2020 · 3 comments · Fixed by #10010
Closed

Cannot create new OpenStack kops cluster #10003

zetaab opened this issue Sep 30, 2020 · 3 comments · Fixed by #10010
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zetaab
Copy link
Member

zetaab commented Sep 30, 2020

1. What kops version are you running? The command kops version, will display
this information.

master

2. What Kubernetes version are you running? kubectl version will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops flag.

3. What cloud provider are you using?

openstack

4. What commands did you run? What is the simplest way to reproduce this issue?

kops create cluster...

5. What happened after the commands executed?

soon in logs I will see following:

I0930 13:51:09.474884   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:10.528427   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:12.476026   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:13.983828   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:15.773399   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:17.923642   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:20.465397   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:23.519052   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:27.143367   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:31.487281   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:36.696936   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:42.927556   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
I0930 13:51:50.459857   38188 lb.go:77] Waiting for Loadbalancer to be ACTIVE...
W0930 13:51:59.736729   38188 executor.go:131] error running task "FloatingIP/fip-bastions-1-rolling-k8s-local" (9m9s remaining to succeed): failed to update floating ip fip-bastions-1-rolling-k8s-local: Resource not found
W0930 13:51:59.736831   38188 executor.go:131] error running task "FloatingIP/fip-api.rolling.k8s.local" (9m9s remaining to succeed): failed to update floating ip fip-api.rolling.k8s.local: Resource not found

/kind bug

/cc @olemarkus

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 30, 2020
@zetaab
Copy link
Member Author

zetaab commented Sep 30, 2020

the problem is row https://github.com/kubernetes/kops/blob/master/upup/pkg/fi/cloudup/openstacktasks/floatingip.go#L261 for some reason a is not nil even if not floatingip created.

I can get that working by modifying row:

if a == nil || fi.StringValue(a.ID) == "" {

However, that feels like something else is not working correctly if a is defined before it really is?

@olemarkus
Copy link
Member

It may be picked up by another floatnig ip attached to the bastion? Something in the logic of Find() that is matching something it shouldn't.

@zetaab
Copy link
Member Author

zetaab commented Sep 30, 2020

I was using clean project, no other installations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants