failed to run Kubelet: could not init cloud provider "openstack"

210 views
Skip to first unread message

alexey....@onefactor.com

unread,
Jul 2, 2018, 10:00:58 AM7/2/18
to Kubernetes user discussion and Q&A
Hi!

I get this error when trying to configure Cinder storage in Rancher 2.0:

F0702 13:24:05.583211 805 server.go:233] failed to run Kubelet: could not init cloud provider "openstack": 1:8: illegal character U+002C ','

There are no commas in cloud config, its's very basic and looks like this:

[Global,omitempty]
auth-url,omitempty = ***
username,omitempty = ***
user-id,omitempty =
password,omitempty = ***
tenant-id,omitempty = ***
tenant-name,omitempty =
trust-id,omitempty =
domain-id,omitempty = *****
domain-name,omitempty =
region,omitempty =
ca-file,omitempty =

[LoadBalancer,omitempty]
lb-version,omitempty =
use-octavia,omitempty = false
subnet-id,omitempty =
floating-network-id,omitempty =
lb-method,omitempty =
lb-provider,omitempty =
create-monitor,omitempty = false
monitor-delay,omitempty = 0
monitor-timeout,omitempty = 0
monitor-max-retries,omitempty = 0
manage-security-groups,omitempty = false

[BlockStorage,omitempty]
bs-version,omitempty =
trust-device-path,omitempty = false
ignore-volume-az,omitempty = false

[Route,omitempty]
router-id,omitempty =

[Metadata,omitempty]
search-order,omitempty =
request-timeout,omitempty = 0

Any help or ideas how to debug this issue will be very helpful!

Thanks,
Alexey

Mike Wilson

unread,
Jul 2, 2018, 10:13:03 AM7/2/18
to kubernet...@googlegroups.com
U+002C is a unicode comma character. Do you have some unicode in your cloud config that shouldn't be there?

--


Информация в этом сообщении предназначена исключительно для конкретных
лиц, которым она адресована. В сообщении может содержаться конфиденциальная
информация ООО «ЕдиныйФактор» и не может быть раскрыта или использована
кем-либо, кроме адресатов. Если Вы получили это сообщение ошибочно, вы не
вправе использовать, переадресовывать, копировать или иным раскрывать
содержание сообщения, такие действия незаконны. В этом случае, пожалуйста,
незамедлительно сообщите отправителю об ошибке и удалите сообщение, его
копии и приложения к нему.

Information contained in this e-mail is
intended solely for the use of the individual or entity to whom it is
addressed. It may contain confidential information of “oneFactor” LLC and
may not be disclosed or used by anyone other than the addressee. If you
have received this e-mail in error, you are not allowed to use, forward,
copy or otherwise disclose information containing therein, such actions are
unlawful. In this case please immediately notify sender about error and
then delete the e-mail and all attachments and copies thereof.

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

alexey....@onefactor.com

unread,
Jul 2, 2018, 10:28:52 AM7/2/18
to Kubernetes user discussion and Q&A
Hi Mike!

There are no commas in my config (including hidden credentials) except of ",omitempty" part, that is automatically generated by Rancher.
I tried to remove it manually and get another "Authentification error". Can it be the root cause ",omitempty"?

Thanks!

Reply all
Reply to author
Forward
0 new messages