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 <[email protected]> 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@u-mn01:~/openstack# glance --version > > 0.15.0 > > root@u-mn01:~/openstack# glance --os-region-name=HPC2N image-list > > +----+------+-------------+------------------+------+--------+ > > | ID | Name | Disk Format | Container Format | Size | Status | > > +----+------+-------------+------------------+------+--------+ > > +----+------+-------------+------------------+------+--------+ > > root@u-mn01:~/openstack# glance --os-region-name=regionOne image-list > > public endpoint for image service in regionOne region not found > > ------------------------------ > > > CentOS 7.1 > > --------------- > > > [root@controller: ~] # glance --version > > 0.17.0 > > [root@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@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. > > > > > > _______________________________________________ OpenStack-operators mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
