Open paulczar opened 10 years ago
I have hit a similar issue as well ...
This has been reported as a bug with LXC, and diagnosed as a kernel issue. https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1279041
2015-01-12 05:54:37.855 | ++ trueorfalse False 2015-01-12 05:54:37.858 | + INSTALL_TESTONLY_PACKAGES=False 2015-01-12 05:54:37.858 | + [[ False == \T\r\u\e ]] 2015-01-12 05:54:37.858 | + get_versions 2015-01-12 05:54:37.858 | ++ which pip 2015-01-12 05:54:37.859 | + PIP=/usr/local/bin/pip 2015-01-12 05:54:37.859 | + [[ -n /usr/local/bin/pip ]] 2015-01-12 05:54:37.860 | ++ awk '{ print $2}' 2015-01-12 05:54:37.860 | ++ /usr/local/bin/pip --version 2015-01-12 05:54:38.282 | + PIP_VERSION=6.0.6 2015-01-12 05:54:38.282 | + echo 'pip: 6.0.6' 2015-01-12 05:54:38.282 | pip: 6.0.6 2015-01-12 05:54:38.283 | + source /home/openstack/devstack/tools/fixup_stuff.sh 2015-01-12 05:54:38.283 | ++ [[ -z /home/openstack/devstack ]] 2015-01-12 05:54:38.283 | ++ keystone_ports=35357,35358 2015-01-12 05:54:38.283 | ++ sysctl net.ipv4.ip_local_reserved_ports 2015-01-12 05:54:38.286 | +++ sed 's/^ //' 2015-01-12 05:54:38.287 | +++ awk -F= '{print $2;}' 2015-01-12 05:54:38.288 | +++ sysctl net.ipv4.ip_local_reserved_ports 2015-01-12 05:54:38.289 | ++ reserved_ports= 2015-01-12 05:54:38.289 | ++ [[ -z '' ]] 2015-01-12 05:54:38.289 | ++ sudo sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358 2015-01-12 05:54:38.312 | error: "Read-only file system" setting key "net.ipv4.ip_local_reserved_ports" 2015-01-12 05:54:38.313 | +++ err_trap 2015-01-12 05:54:38.314 | +++ local r=255 2015-01-12 05:54:38.314 | stack.sh failed: full log in /opt/stack/logs/devstack.log.2015-01-12-055432 2015-01-12 05:54:38.314 | Error on exit
Getting ReadOnly file system error while installing devstack on container
& if I comment
then
2015-01-12 05:27:27.097 | ++ local volume_group_name=stack-volumes
2015-01-12 05:27:27.097 | ++ [[ -z '' ]]
2015-01-12 05:27:27.097 | ++ volume_group_name+=-lvmdriver-1
2015-01-12 05:27:27.097 | ++ echo stack-volumes-lvmdriver-1
2015-01-12 05:27:27.098 | + local volume_group_name=stack-volumes-lvmdriver-1
2015-01-12 05:27:27.098 | + _create_cinder_volume_group stack-volumes-lvmdriver-1 /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.098 | + local vg_name=stack-volumes-lvmdriver-1
2015-01-12 05:27:27.098 | + local backing_file=/opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.098 | + sudo vgs stack-volumes-lvmdriver-1
2015-01-12 05:27:27.168 | Volume group "stack-volumes-lvmdriver-1" not found
2015-01-12 05:27:27.168 | Skipping volume group stack-volumes-lvmdriver-1
2015-01-12 05:27:27.169 | + '[' -z '' ']'
2015-01-12 05:27:27.169 | + [[ -f /opt/stack/data/stack-volumes-lvmdriver-1-backing-file ]]
2015-01-12 05:27:27.169 | + truncate -s 10250M /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.172 | ++ sudo losetup -f --show /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.197 | losetup: Could not find any loop device. Maybe this kernel does not know
2015-01-12 05:27:27.197 | about the loop device? (If so, recompile or modprobe loop'.) 2015-01-12 05:27:27.197 | + local vg_dev= 2015-01-12 05:27:27.198 | + sudo vgs stack-volumes-lvmdriver-1 2015-01-12 05:27:27.222 | Volume group "stack-volumes-lvmdriver-1" not found 2015-01-12 05:27:27.222 | Skipping volume group stack-volumes-lvmdriver-1 2015-01-12 05:27:27.223 | + sudo vgcreate stack-volumes-lvmdriver-1 2015-01-12 05:27:27.246 | Please enter a physical volume path 2015-01-12 05:27:27.246 | Run
vgcreate --help' for more information.
2015-01-12 05:27:27.247 | + exit_trap
2015-01-12 05:27:27.247 | + local r=3
2015-01-12 05:27:27.248 | ++ jobs -p
2015-01-12 05:27:27.248 | + jobs=
2015-01-12 05:27:27.248 | + [[ -n '' ]]
2015-01-12 05:27:27.248 | + kill_spinner
2015-01-12 05:27:27.248 | + '[' '!' -z '' ']'
2015-01-12 05:27:27.248 | + [[ 3 -ne 0 ]]
2015-01-12 05:27:27.248 | + echo 'Error on exit'
Devstack fails at volume create.
+1. Same issue, a full year and a half later. :/
@kbaegis I'm not actively developing fixes for this repo, but happy to merge pull requests!
hurruh new problem: