Ask Your Question
0

The issue about unittests of swift configuration.

asked 2012-06-27 07:29:41 -0500

longeek gravatar image

After I deployment swift in my env, I make the unittest about it. Here I meet this error

Detail in here: http://paste.openstack.org/show/18866/

I guess that the answer is about swiftclient, but how can fix it?

Thk you help..

MQL

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2012-06-28 09:34:45 -0500

longeek gravatar image

Thanks Chmouel Boudjnah, that solved my question.

edit flag offensive delete link more
0

answered 2012-06-27 08:18:30 -0500

longeek gravatar image

Hi when I run

FAIL: testHead (test.functional.tests.TestFileUTF8)

Traceback (most recent call last): File "/home/swift/swift/test/functional/tests.py", line 1193, in testHead self.assertEquals(info['content_length'], self.env.file_size) AssertionError: 13 != 128

I think that some env may help me, but why ?


China OpenStack User Group (COSUG) - http://www.openstack.org.cn

To join the mailing list - visit this group at: http://groups.google.com/group/china-openstack-user-group (http://groups.google.com/group/china-...)

General user online chat group: QQ ID: 11315737

Developer user online chat group: QQ ID: 202265873

From: Chmouel Boudjnah Date: 2012-06-27 16:01 To: mengql112233 Subject: Re: [Question #201582]: The issue about unittests of swift configuration. Your question #201582 on OpenStack Object Storage (swift) changed: https://answers.launchpad.net/swift/+question/201582 (https://answers.launchpad.net/swift/+...)

Status: Open => Answered

Chmouel Boudjnah proposed the following answer: You can install swiftclient from : https://github.com/openstack/python- swiftclient


If this answers your question, please go to the following page to let us know that it is solved: https://answers.launchpad.net/swift/+question/201582/+confirm?answer_id=0 (https://answers.launchpad.net/swift/+...)

If you still need help, you can reply to this email or go to the following page to enter your feedback: https://answers.launchpad.net/swift/+question/201582 (https://answers.launchpad.net/swift/+...)

You received this question notification because you asked the question.

edit flag offensive delete link more
0

answered 2012-06-27 07:57:02 -0500

You can install swiftclient from : https://github.com/openstack/python-s...

edit flag offensive delete link more
0

answered 2012-06-27 08:06:29 -0500

longeek gravatar image

Tks Boudjnah, I have fixed it from source code, But how to install swift client with apt-get ?


China OpenStack User Group (COSUG) - http://www.openstack.org.cn

To join the mailing list - visit this group at: http://groups.google.com/group/china-openstack-user-group (http://groups.google.com/group/china-...)

General user online chat group: QQ ID: 11315737

Developer user online chat group: QQ ID: 202265873

From: Chmouel Boudjnah Date: 2012-06-27 16:01 To: mengql112233 Subject: Re: [Question #201582]: The issue about unittests of swift configuration. Your question #201582 on OpenStack Object Storage (swift) changed: https://answers.launchpad.net/swift/+question/201582 (https://answers.launchpad.net/swift/+...)

Status: Open => Answered

Chmouel Boudjnah proposed the following answer: You can install swiftclient from : https://github.com/openstack/python- swiftclient


If this answers your question, please go to the following page to let us know that it is solved: https://answers.launchpad.net/swift/+question/201582/+confirm?answer_id=0 (https://answers.launchpad.net/swift/+...)

If you still need help, you can reply to this email or go to the following page to enter your feedback: https://answers.launchpad.net/swift/+question/201582 (https://answers.launchpad.net/swift/+...)

You received this question notification because you asked the question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-06-27 07:29:41 -0500

Seen: 44 times

Last updated: Jun 28 '12