swift set wrong directory for storage after default installation mos 7.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Fuel Library (Deprecated) |
Bug Description
After default installation MOS 7.0 with Swift as storage I've found abnormal behavior of Swift, which used as Glance back-end in this installation.
I've found files of object storage in directory /srv instead /var/lib/glance/. So then I tried to upload image to Glance it reported me with out of space error.
I think it misconfiguration in puppet manifests. I could be happy if someone from Fuel-Library team will fix it.
I think that the use of the root partition for storing images is not advisable anyway and it makes sense to change.
root@node-1:/etc# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/os-root 15G 11G 3.9G 73% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 12K 3.9G 1% /dev
tmpfs 799M 112M 688M 14% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 60M 3.9G 2% /run/shm
none 100M 0 100M 0% /run/user
/dev/vda3 196M 39M 148M 21% /boot
/dev/mapper/
/dev/mapper/
/dev/mapper/
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|---
1 | ready | cs1 (3a:84) | 1 | 10.20.0.4 | 52:54:00:66:3a:84 | cinder, controller | | True | 1
2 | ready | mcv1 (32:ba) | 1 | 10.20.0.3 | 52:54:00:8b:32:ba | compute | | True | 1
3 | ready | cmp1 (7c:17) | 1 | 10.20.0.5 | 52:54:00:83:7c:17 | compute | | True | 1
and upload
-rw-r--r-- 1 root root 4126539776 Nov 24 17:39 mcv-0.0.
root@node-1:~# glance image-create --name mcv_rc27 --disk-format qcow2 --container-format bare --is-public true --file mcv-0.0.
root@node-1:~# glance image-list
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| 687845df-
| e6583a0c-
+------
root@node-1:~# ls -la /var/lib/
total 0
drwxr-xr-x 2 glance glance 6 Sep 21 17:23 .
drwxr-xr-x 4 glance glance 37 Nov 17 13:09 ..
image data found in
root@node-1:~# ls -Rla /srv/|grep 500
drwxr-xr-x 3 swift swift 4096 Nov 25 16:30 500
/srv/node/
/srv/node/
/srv/node/
drwxr-xr-x 3 swift swift 4096 Nov 25 16:30 500
/srv/node/
/srv/node/
/srv/node/
root@node-
glance-
glance-
glance-
glance-
tags: | added: swift |
summary: |
- swift after default installation mos 7.0 + swift set wrong directory for storage after default installation mos 7.0 |
tags: | added: team-bugfix |
@Viacheslav,
Can you please also attach diagnostic snapshot?