[magnum] region_name needs to be configured in magnum.conf

Ignazio Cassano ignaziocassano at gmail.com
Fri Dec 14 12:20:26 UTC 2018


I did not get this error but in magnum.conf I have the following section:
[cinder_client]

#
# From magnum.conf
#

# Region in Identity service catalog to use for communication with the
# OpenStack service. (string value)
region_name = RegionOne



Il giorno ven 14 dic 2018 alle ore 12:33 Zufar Dhiyaulhaq <
zufar at onf-ambassador.org> ha scritto:

> I am following installation guide from magnum documentation. but I get an
> error when trying to create kubernetes cluster.
>
> *region_name needs to be configured in magnum.conf*
>
> this is my full log :
>
> [root at zu-bssn-controller1 opt]# openstack coe cluster create
> kubernetes-cluster --cluster-template kubernetes-cluster-template
> --master-count 1 --node-count 1 --keypair mykeyRequest to create cluster
> bfdf76df-8b43-44e3-a094-90a76189610a accepted
> [root at zu-bssn-controller1 opt]# openstack coe cluster list
>
> +--------------------------------------+--------------------+---------+------------+--------------+---------------+
> | uuid                                 | name               | keypair |
> node_count | master_count | status        |
>
> +--------------------------------------+--------------------+---------+------------+--------------+---------------+
> | bfdf76df-8b43-44e3-a094-90a76189610a | kubernetes-cluster | mykey
> |          1 |            1 | CREATE_FAILED |
>
> +--------------------------------------+--------------------+---------+------------+--------------+---------------+
> [root at zu-bssn-controller1 opt]# openstack coe cluster show
> kubernetes-cluster
> +---------------------+---------------------------------------------------+
> | Field               | Value                                             |
> +---------------------+---------------------------------------------------+
> | status              | CREATE_FAILED                                     |
> | cluster_template_id | 560f72a9-d6ac-4404-ad9e-3cd129496022              |
> | node_addresses      | []                                                |
> | uuid                | bfdf76df-8b43-44e3-a094-90a76189610a              |
> | stack_id            | None                                              |
> | status_reason       | region_name needs to be configured in magnum.conf |
> | created_at          | 2018-12-14T11:25:37+00:00                         |
> | updated_at          | 2018-12-14T11:25:40+00:00                         |
> | coe_version         | None                                              |
> | labels              | {}                                                |
> | faults              | {}                                                |
> | keypair             | mykey                                             |
> | api_address         | None                                              |
> | master_addresses    | []                                                |
> | create_timeout      | 60                                                |
> | node_count          | 1                                                 |
> | discovery_url       | None                                              |
> | master_count        | 1                                                 |
> | container_version   | None                                              |
> | name                | kubernetes-cluster                                |
> | master_flavor_id    | amphora                                           |
> | flavor_id           | amphora                                           |
> +---------------------+---------------------------------------------------+
> [root at zu-bssn-controller1 opt]#
>
> Anyone know what is happening?
>
> Best Regards,
> Zufar Dhiyaulhaq
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181214/1801dbc1/attachment-0001.html>


More information about the openstack-discuss mailing list