Ask Your Question
0

Will it work if i install only GLANCE separately and other services on devstack ?

asked 2019-04-22 07:16:05 -0500

rogue0197 gravatar image

updated 2019-04-23 01:00:51 -0500

I have a working Devstack installation.But the glance does not seem to work with images which are greater than 2GB.(Images remain in queued state forever) I have tried various solutions available on the internet , Checked the default image upload size , Nothing seems to work. If i configure glance through normal installation and rest of the services with the devstack , Will it get integrated properly and work as intended ?

The images I have been trying to upload are the data processing sahara images I have created using image-create tool.The cloudera , MapR images are over 4Gb.

Glance Log :https://pastebin.com/frAWJVtJ

Swift Log :https://pastebin.com/3jb12Tfg

Swift Service Status :https://pastebin.com/RK7Zj6LG

edit retag flag offensive close merge delete

Comments

I doubt that DevStack’s Glance configuration limits the image size, but perhaps you don’t have enough space on your filesystem.

What error messages do you find in the Glance logs? If you use Swift as Glance store, also check Swift logs.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-22 16:59:16 -0500 )edit

The error says Failed to add object to the swift , No Space left in the device But I have 200Gb of free space on my hard drive. I have added the log files. The swift seems to work fine with creating containers and text file uploads. But the image files are not being uploaded to containers

rogue0197 gravatar imagerogue0197 ( 2019-04-22 21:01:46 -0500 )edit

I have re installed devstack a couple of times because of this but the error is the same always. I have tried increasing the max_file_size in swift.conf but no change in the error.

rogue0197 gravatar imagerogue0197 ( 2019-04-22 21:17:05 -0500 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2019-04-22 22:23:25 -0500

Here is the relevant error from the swift log:

Apr 23 07:18:26 ghost-Precision-T5600 object-server[15406]: ERROR __call__ error with PUT /sdb1/209/AUTH_31bc2ab2355c498c93a53aa29370db66/glance/9b6b0a0f-1b90-4b80-aaa6-cfa910f7ea3c-00001 : [Errno 28] No space left on device (txn: tx0842cab821254b2b9bcd7-005cbe6eea)

As I expected, your Swift cluster is too small. Double-check this with the df command.

I would like to tell you what local.conf setting configures the Swift cluster size, but I have no running Devstack right now, and git.openstack.org has been replaced by a new solution that I haven't figured out yet.

edit flag offensive delete link more

Comments

/dev/loop25 2086912 2035088 51824 98% /opt/stack/data/swift/drives/sdb1

Yea , df command shows the swift storage as 98% used.

rogue0197 gravatar imagerogue0197 ( 2019-04-22 23:11:22 -0500 )edit

I am changing SWIFT_LOOPBACK_DISK_SIZE_DEFAULT value to 15G which is 2Gby default in https://opendev.org/openstack/devstack/src/branch/master/lib/swift#L64 (https://opendev.org/openstack/devstac...) and re-run stack.sh , Will let you know if it works. Thank You for the response :)

rogue0197 gravatar imagerogue0197 ( 2019-04-22 23:52:50 -0500 )edit
1

That sounds good. In order to make DevStack independent of the server's storage configuration, the Swift filesystem is implemented as a loopback device (same for the LVM physical volumes used as Cinder backends).

Thanks for letting me know where I find the code now :)

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-23 00:06:04 -0500 )edit

And It works , Thank You so much

rogue0197 gravatar imagerogue0197 ( 2019-04-23 00:14:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-04-22 07:14:07 -0500

Seen: 68 times

Last updated: Apr 23