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

Problem installing kops using openstack cloud provider #7021

Closed
prankul88 opened this issue May 17, 2019 · 8 comments
Closed

Problem installing kops using openstack cloud provider #7021

prankul88 opened this issue May 17, 2019 · 8 comments
Labels
area/provider/openstack Issues or PRs related to openstack provider

Comments

@prankul88
Copy link
Contributor

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

Version 1.12.0

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.

Version 1.14

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 --cloud openstack --name my-cluster-k8s.local --state ${KOPS_STATE_STORE} --zones nova --network-cidr 10.0.0.0/24 --image coreos --master-count=3 --node-count=1 --node-size m1.tiny --master-size m1.small --etcd-storage-type lvmdriver-1 --api-loadbalancer-type public --topology private --bastion --ssh-public-key ~/.ssh/id_rsa.pub --networking weave --os-ext-network public

5. What happened after the commands executed?
gave error unknown flag --os-ext-net

6. Anything else do we need to know?

I am following https://github.com/kubernetes/kops/blob/master/docs/tutorial/openstack.md
Installed openstack through devstack and sourced openrc file

What I did?

  1. If I remove the flag "--os-ext-net" from the above command
    I get an error

error populating configuration: error loading config file: open /opt/stack/.openstack/config: no such file or directory

I searched the previous conversations and landed on issue https://github.com/kubernetes/kops/issues/6520 and pr https://github.com/kubernetes/kops/pull/6480

From there I got to know that there were two ways of authenticating ; one of them was through conf file which had some problems and so removed (kindly correct me if wrong) ; other way I am not sure of.

  1. If I retain "--os-ext-net"
    I get an error

unknown flag: --os-ext-network

I am new to this project and so any kind of inputs would be very helpful.

@prankul88
Copy link
Contributor Author

/sig openstack

@k8s-ci-robot k8s-ci-robot added the area/provider/openstack Issues or PRs related to openstack provider label May 17, 2019
@rusik69
Copy link

rusik69 commented Jun 1, 2019

i have the same problem

@rusik69
Copy link

rusik69 commented Jun 2, 2019

its KOPS_FEATURE_FLAGS="AlphaAllowOpenstack", not AlphaAllowOpenStack as in documentation

@prankul88
Copy link
Contributor Author

@Loqutus Thanks for replying. It ran successfully with the above changes mentioned.
Will push a PR soon to initiate the changes.

@poothia
Copy link

poothia commented Jul 24, 2019

i think this issue can be closed.

@rusik69
Copy link

rusik69 commented Jul 24, 2019

/close

@k8s-ci-robot
Copy link
Contributor

@Loqutus: You can't close an active issue/PR unless you authored it or you are a collaborator.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@prankul88
Copy link
Contributor Author

Sure I am closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/openstack Issues or PRs related to openstack provider
Projects
None yet
Development

No branches or pull requests

4 participants