[Openstack-operators] Multi region, different behavior from different platforms
Monty Taylor
mordred at inaugust.com
Tue Sep 29 23:44:38 UTC 2015
You have a very old glance client on both centos and Ubuntu. You want 1.0 everywhere you're going to use it as a client.
On Sep 29, 2015 7:31 PM, Salman Toor <salman.toor at it.uu.se> wrote:
>
> Hi,
>
> I am trying to configure a multi region setup. I have one region setup on CentOS and second region on Ubuntu. Glance clients on different platforms are giving different outputs.
>
> Ubuntu Trusty:
> ------------------
>
> root at u-mn01:~/openstack# glance --version
>
> 0.15.0
>
> root at u-mn01:~/openstack# glance --os-region-name=HPC2N image-list
>
> +----+------+-------------+------------------+------+--------+
>
> | ID | Name | Disk Format | Container Format | Size | Status |
>
> +----+------+-------------+------------------+------+--------+
>
> +----+------+-------------+------------------+------+--------+
>
> root at u-mn01:~/openstack# glance --os-region-name=regionOne image-list
>
> public endpoint for image service in regionOne region not found
>
> ------------------------------
>
>
> CentOS 7.1
>
> ---------------
>
>
> [root at controller: ~] # glance --version
>
> 0.17.0
>
> [root at controller: ~] # glance --os-region-name=HPC2N image-list
>
> +--------------------------------------+---------------------------------------+-------------+------------------+------------+--------+
>
> | ID | Name | Disk Format | Container Format | Size | Status |
>
> +--------------------------------------+---------------------------------------+-------------+------------------+------------+--------+
>
> | 40a87571-1715-43c6-8723-cb6c11b532b2 | CentOS7 | qcow2 | bare | 1004994560 | active |
>
> | 2ac6a89e-6385-4f30-a861-f5d06f33fa45 | Ubuntu 14.10 (Utopic Unicorn) | qcow2 | bare | 268829184 | active |
>
> | 94a2b0b2-6ca4-4b6c-bd5e-b79faef02533 | Ubuntu 15.10 (Wily Werewolf) | qcow2 | bare | 288752128 | active |
>
> | 99f4625e-f425-472d-8e21-7aa9c3db1c3e | Ubuntu Server 14.04 LTS (Trusty Tahr) | qcow2 | bare | 258474496 | active |
>
> +--------------------------------------+---------------------------------------+-------------+------------------+------------+--------+
>
> [root at controller: ~] # glance --os-region-name=regionOne image-list
>
> +--------------------------------------+---------------------------------------+-------------+------------------+------------+--------+
>
> | ID | Name | Disk Format | Container Format | Size | Status |
>
> +--------------------------------------+---------------------------------------+-------------+------------------+------------+--------+
>
> | 40a87571-1715-43c6-8723-cb6c11b532b2 | CentOS7 | qcow2 | bare | 1004994560 | active |
>
> | 2ac6a89e-6385-4f30-a861-f5d06f33fa45 | Ubuntu 14.10 (Utopic Unicorn) | qcow2 | bare | 268829184 | active |
>
> | 94a2b0b2-6ca4-4b6c-bd5e-b79faef02533 | Ubuntu 15.10 (Wily Werewolf) | qcow2 | bare | 288752128 | active |
>
> | 99f4625e-f425-472d-8e21-7aa9c3db1c3e | Ubuntu Server 14.04 LTS (Trusty Tahr) | qcow2 | bare | 258474496 | active |
>
> +--------------------------------------+---------------------------------------+-------------+------------------+------------+--------+
>
>
> MAC Laptop
>
> ---------------
>
> Salmans-MBP:~ salmantoor$ glance --version
>
> 1.0.0
>
> Salmans-MBP:~ salmantoor$ glance --os-region-name=regionOne image-list
>
> +--------------------------------------+---------------------------------------+
>
> | ID | Name |
>
> +--------------------------------------+---------------------------------------+
>
> | 40a87571-1715-43c6-8723-cb6c11b532b2 | CentOS7 |
>
> | 2ac6a89e-6385-4f30-a861-f5d06f33fa45 | Ubuntu 14.10 (Utopic Unicorn) |
>
> | 94a2b0b2-6ca4-4b6c-bd5e-b79faef02533 | Ubuntu 15.10 (Wily Werewolf) |
>
> | 99f4625e-f425-472d-8e21-7aa9c3db1c3e | Ubuntu Server 14.04 LTS (Trusty Tahr) |
>
> +--------------------------------------+---------------------------------------+
>
> Salmans-MBP:~ salmantoor$ glance --os-region-name=HPC2N image-list
>
> +----+------+
>
> | ID | Name |
>
> +----+------+
>
> +----+------+
>
>
> Horizon
>
> ----------
>
> regionOne everything is working fine.
>
> HPC2N -> Error: Invalid service catalog service: image
>
>
> So only Mac laptop is giving correct behavior. CentOS Client implementation i think ignores the regions at all. Whereas Ubuntu has some problem with regionOne.
>
>
> regionOne is hosting following services:
>
> Keystone, glance, neutron, compute, cinder and swift
>
>
> HPC2N currently only have Glance (will add more service once we figure it out whats happening in the system).
>
>
> I am using Kilo release. Can someone give a hint whats happening here or how should I approach this problem?
>
>
> Regards..
>
> Salman.
>
>
>
>
>
>
More information about the OpenStack-operators
mailing list