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@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@rstmgr01 images]# glance image-list Unable to communicate with identity service: {"error": {"message": "Invalid project", "code": 401, "title": "Not Authorized"}}. (HTTP 401) [root@rstmgr01 images]# ls Fedora-x86_64-19-20130627-sda.qcow2 isd lost+found openstack sce31 sce_x vmcontrol [root@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) [email protected] dheeru <dheerendra.madhu [email protected] To > Shivaji D Bhosale/India/IBM@IBMIN, cc 11/27/2013 06:21 "[email protected]" PM <[email protected]> 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 <[email protected]> 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@rstmgr01 ~]# service openstack-glance-registry status > openstack-glance-registry dead but pid file exists > [root@rstmgr01 ~]# cd /var/log/glance/ > [root@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@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) [email protected] _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
