[Openstack] Glance registry is not starting

Remo Mattei remo at mattei.org
Tue Dec 3 14:20:05 UTC 2013


Looks like keystone user is not getting auth. What do you use? Is this dev stack or production etc? Cannot just say this is not working when important things are missing. 

Inviato da iPhone ()

> Il giorno Dec 3, 2013, alle ore 1:09, Shivaji D Bhosale <sbhosale at in.ibm.com> ha scritto:
> 
> Registry issue is resolve now I am having another issue when I try to
> create glance image and get below error
> 
> I am getting error when I try to add image
> 
> [root at rstmgr01 images]# glance --os-username=admin --os-password=password
> --os-tenant-name=demo
> --os-auth-url=http://rstmgr01.rchland.ibm.com:5000/v2.0 image-create
> --name="Fedora1" --disk-format=qcow2 --container-format bare <
> Fedora-x86_64-19-20130627-sda.qcow2
> Unable to communicate with identity service: {"error": {"message": "Invalid
> project", "code": 401, "title": "Not Authorized"}}. (HTTP 401)
> 
> [root at rstmgr01 images]# glance image-list
> Unable to communicate with identity service: {"error": {"message": "Invalid
> project", "code": 401, "title": "Not Authorized"}}. (HTTP 401)
> 
> [root at rstmgr01 images]# ls
> Fedora-x86_64-19-20130627-sda.qcow2  isd  lost+found  openstack  sce31
> sce_x  vmcontrol
> 
> [root at rstmgr01 images]# glance image-create --is-public true --disk-format
> qcow2 --container-format bare --name "Fedora" <
> Fedora-x86_64-19-20130627-sda.qcow2
> Unable to communicate with identity service: {"error": {"message": "Inva
> 
> Any idea what could be the reason
> 
> 
> Best  Regards
> 
> Shivaji D Bhosale
> ISTL, IBM India  Rajiv Gandhi Infotech Pk Phase 2 Plot No Pl-3 Midc,
> Building: ETB1 | Floor: 4F | Office: B178
> Hinjewadi, Village Limit Of Marunji Pune, MH 411057 India
> Mobile : 9960605856
> Office : +91-20-42026578(Direct)
> sbhosale at in.ibm.com
> 
> 
> 
> 
> 
>             dheeru                                                        
>             <dheerendra.madhu                                             
>             sudhana at gmail.com                                          To 
>>                        Shivaji D Bhosale/India/IBM at IBMIN,  
>                                                                        cc 
>             11/27/2013 06:21          "openstack at lists.openstack.org"     
>             PM                        <openstack at lists.openstack.org>     
>                                                                   Subject 
>                                       Re: [Openstack] Glance registry is  
>                                       not starting                        
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Did you put the wrong configuration in glance-api-paste.ini ? Following
> configuration is supposed to be in glance-registry-paste.in.
> 
> Refer the following link for configs
> https://github.com/openstack/glance/blob/master/etc/
> 
> Got: LookupError("No section 'glance-registry-keystone' (prefixed by
> 'app'
>> or 'application' or 'composite' or 'composit' or 'pipeline' or
>> 'filter-app') found in config /etc/glance/glance-api-paste.ini",)
> 
> -dheeru
> @Community Service
> 
> 
> On Wed, Nov 27, 2013 at 2:41 PM, Shivaji D Bhosale <sbhosale at in.ibm.com>
> wrote:
> 
>> When I try to start the glance register service getting below error.
>  Please
>> let me know if any one knows the solution for below problem.
>> 
>> [root at rstmgr01 ~]# service openstack-glance-registry status
>> openstack-glance-registry dead but pid file exists
>> [root at rstmgr01 ~]# cd /var/log/glance/
>> [root at rstmgr01 glance]# ls -ltr
>> total 8
>> -rwxr-xr-x. 1 glance glance  145 Nov 17 16:46 api.log
>> -rw-r--r--. 1 glance glance 1815 Nov 25 00:01 registry.log
>> [root at rstmgr01 glance]# cat registry.log
>> 2013-11-17 17:14:04.785 10197 ERROR glance.common.config [-] Unable to
>  load
>> glance-registry-keystone from configuration
>> file /etc/glance/glance-api-paste.ini.
>> Got: LookupError("No section 'glance-registry-keystone' (prefixed by
>  'app'
>> or 'application' or 'composite' or 'composit' or 'pipeline' or
>> 'filter-app') found in config /etc/glance/glance-api-paste.ini",)
>> 2013-11-17 17:28:08.678 11130 ERROR glance.common.config [-] Unable to
>  load
>> glance-registry-keystone from configuration
>> file /etc/glance/glance-api-paste.ini.
>> Got: LookupError("No section 'glance-registry-keystone' (prefixed by
>  'app'
>> or 'application' or 'composite' or 'composit' or 'pipeline' or
>> 'filter-app') found in config /etc/glance/glance-api-paste.ini",)
>> 2013-11-24 23:45:41.690 18534 ERROR glance.common.config [-] Unable to
>  load
>> glance-registry-keystone from configuration
>> file /etc/glance/glance-api-paste.ini.
>> Got: LookupError("No section 'glance-registry-keystone' (prefixed by
>  'app'
>> or 'application' or 'composite' or 'composit' or 'pipeline' or
>> 'filter-app') found in config /etc/glance/glance-api-paste.ini",)
>> 2013-11-24 23:55:39.046 19179 ERROR glance.common.config [-] Unable to
>  load
>> glance-registry-keystone from configuration
>> file /etc/glance/glance-api-paste.ini.
>> Got: LookupError("No section 'glance-registry-keystone' (prefixed by
>  'app'
>> or 'application' or 'composite' or 'composit' or 'pipeline' or
>> 'filter-app') found in config /etc/glance/glance-api-paste.ini",)
>> 2013-11-25 00:01:02.987 19484 ERROR glance.common.config [-] Unable to
>  load
>> glance-registry-keystone from configuration
>> file /etc/glance/glance-api-paste.ini.
>> Got: LookupError("No section 'glance-registry-keystone' (prefixed by
>  'app'
>> or 'application' or 'composite' or 'composit' or 'pipeline' or
>> 'filter-app') found in config /etc/glance/glance-api-paste.ini",)
> 
> 
>  Best  Regards
> 
>  Shivaji D Bhosale
>  ISTL, IBM India  Rajiv Gandhi Infotech Pk Phase 2 Plot No Pl-3 Midc,
>  Building: ETB1 | Floor: 4F | Office: B178
>   Hinjewadi, Village Limit Of Marunji Pune, MH 411057 India
>  Mobile : 9960605856
>  Office : +91-20-42026578(Direct)
>  sbhosale at in.ibm.com
> 
> 
> 
>  _______________________________________________
>  Mailing list:
>  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>  Post to     : openstack at lists.openstack.org
>  Unsubscribe :
>  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> !DSPAM:2,529da3ec311641563162396!
> 




More information about the Openstack mailing list