[Openstack] [openstack-dev] No one replying on tempest issue?Please share your experience
Nikesh Kumar Mahalka
nikeshmahalka at vedams.com
Tue Sep 30 06:56:45 UTC 2014
Hi,
I ran below test on juno devstack server:
./run_tempest.sh tempest.api.volume.test_volumes_actions
But it is failed.
test_volume_upload test is failed.
Its unable to upload volume as a image.
so i analyzed g-api log.
I also looked in others logs what you suggested earlier but i did not find
any error there.
g-api log
--------------------------
2014-09-30 12:08:30.212 4333 INFO glance.registry.client.v1.client [-]
Registry client request PUT /images/4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3
raised NotAuthenticated
2014-09-30 12:08:30.213 4333 ERROR glance.api.v1.upload_utils [-] Failed to
upload image 4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils Traceback
(most recent call last):
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/api/v1/upload_utils.py", line 158, in
upload_data_to_store
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
from_state='saving')
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/api.py", line 169, in
update_image_metadata
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
from_state=from_state)
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/client.py", line 198, in
update_image
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
headers=headers)
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/client.py", line 130, in
do_request
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
'exc_name': exc_name})
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/openstack/common/excutils.py", line 82, in
__exit__
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
six.reraise(self.type_, self.value, self.tb)
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/client.py", line 115, in
do_request
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils **kwargs)
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 71, in wrapped
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils return
func(self, *args, **kwargs)
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 388, in do_request
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
headers=copy.deepcopy(headers))
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 85, in wrapped
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils return
func(self, method, url, body, headers)
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 531, in _do_request
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils raise
exception.NotAuthenticated(res.read())
*2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
NotAuthenticated: Authentication required*
2014-09-30 12:08:30.213 4333 TRACE glance.api.v1.upload_utils
2014-09-30 12:08:30.216 4333 DEBUG glance.registry.client.v1.api [-]
Updating image metadata for image 4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3...
update_image_metadata /opt/stack/glance/glance/registry/client/v1/api.py:166
2014-09-30 12:08:30.216 4333 DEBUG glance.common.client [-] Constructed
URL: http://0.0.0.0:9191/images/4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3
_construct_url /opt/stack/glance/glance/common/client.py:413
2014-09-30 12:08:30.225 4333 DEBUG glance.common.client [-] Constructed
URL: http://0.0.0.0:9191/images/4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3
_construct_url /opt/stack/glance/glance/common/client.py:413
2014-09-30 12:08:30.232 4333 INFO glance.registry.client.v1.client [-]
Registry client request PUT /images/4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3
raised NotAuthenticated
2014-09-30 12:08:30.233 4333 ERROR glance.api.v1.upload_utils [-] Unable to
kill image 4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3:
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils Traceback
(most recent call last):
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/api/v1/upload_utils.py", line 77, in safe_kill
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
_kill(req, image_id, from_state)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/api/v1/upload_utils.py", line 62, in _kill
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
from_state=from_state)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/api.py", line 169, in
update_image_metadata
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
from_state=from_state)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/client.py", line 198, in
update_image
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
headers=headers)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/client.py", line 130, in
do_request
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
'exc_name': exc_name})
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/openstack/common/excutils.py", line 82, in
__exit__
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
six.reraise(self.type_, self.value, self.tb)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/registry/client/v1/client.py", line 115, in
do_request
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils **kwargs)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 71, in wrapped
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils return
func(self, *args, **kwargs)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 388, in do_request
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
headers=copy.deepcopy(headers))
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 85, in wrapped
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils return
func(self, method, url, body, headers)
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils File
"/opt/stack/glance/glance/common/client.py", line 531, in _do_request
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils raise
exception.NotAuthenticated(res.read())
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
NotAuthenticated: Authentication required
2014-09-30 12:08:30.233 4333 TRACE glance.api.v1.upload_utils
2014-09-30 12:08:30.242 4333 INFO glance.wsgi.server [-] 192.168.2.153 - -
[30/Sep/2014 12:08:30] "PUT /v1/images/4b68bc28-1ef3-49fb-a6ce-b8aa1d6e9cf3
HTTP/1.1" 500 407 466.423375
192.168.2.153 - - [30/Sep/2014 12:08:30] code 400, message Bad request
syntax ('0')
192.168.2.153 - - [30/Sep/2014 12:08:30] "0" 400 -
Regards
Nikesh
On Mon, Sep 29, 2014 at 9:32 PM, Jay Pipes <jaypipes at gmail.com> wrote:
> On 09/29/2014 06:51 AM, Nikesh Kumar Mahalka wrote:
>
>> How to get nova-compute logs in juno devstack?
>>
>
> If you set the following configuration option in your devstack localrc,
> all the log files from the different screen session'd services will end up
> in the $LOGDIR directory:
>
> SCREEN_LOGDIR=$LOGDIR
>
> Best,
> -jay
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140930/e3a2e17b/attachment.html>
More information about the Openstack
mailing list