Thats strange

How come some of the packages are from 2015 and some from very old distribution?


[root@glance: ~] #  rpm -qa | grep glance
python-glance-store-0.4.0-1.el7.noarch
openstack-glance-2015.1.1-1.el7.noarch
python-glanceclient-0.17.0-2.el7.noarch
python-glance-2015.1.1-1.el7.noarch

root@u-mn01:~# dpkg -l | grep '^ii' | grep glance
ii  glance                              1:2015.1.1-0ubuntu2~cloud3       all    
      OpenStack Image Registry and Delivery Service - Daemons
ii  glance-api                          1:2015.1.1-0ubuntu2~cloud3       all    
      OpenStack Image Registry and Delivery Service - API
ii  glance-common                       1:2015.1.1-0ubuntu2~cloud3       all    
      OpenStack Image Registry and Delivery Service - Common
ii  glance-registry                     1:2015.1.1-0ubuntu2~cloud3       all    
      OpenStack Image Registry and Delivery Service - Registry
ii  python-glance                       1:2015.1.1-0ubuntu2~cloud3       all    
      OpenStack Image Registry and Delivery Service - Python library
ii  python-glance-store                 0.4.0-0ubuntu1~cloud0            all    
      OpenStack Image Service store library - Python 2.x
ii  python-glanceclient                 1:0.15.0-0ubuntu1~cloud0         all    
      Client library for Openstack glance server.


For installation I have followed OpenStack installation guide for kilo…

/Salman.


On 30 Sep 2015, at 01:44, Monty Taylor 
<[email protected]<mailto:[email protected]>> wrote:

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]<mailto:[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

Reply via email to