[lxc-users] Failed to mount rootfs
Robert Johnson
robert.j at bendtel.com
Mon Mar 26 20:30:07 UTC 2018
This is a new LXD host running from the snap system.
Initially, this was a working system, but as of this morning, I am
unable to start existing containers and am unable to launch new ones.
Please advise on any additional information that is needed.
robertj at vh3:~$ lxd --version
2.21
robertj at vh3:~$ lxc launch ubuntu:
Creating the container
Container name is: fluent-bluegill
Starting fluent-bluegill
error: Failed to run: /snap/lxd/current/bin/lxd forkstart
fluent-bluegill /var/snap/lxd/common/lxd/containers
/var/snap/lxd/common/lxd/logs/fluent-bluegill/lxc.conf:
Try `lxc info --show-log local:fluent-bluegill` for more info
robertj at vh3:~$ lxc info --show-log local:fluent-bluegill
Name: fluent-bluegill
Remote: unix://
Architecture: x86_64
Created: 2018/03/26 20:19 UTC
Status: Stopped
Type: persistent
Profiles: default
Log:
lxc 20180326201947.382 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.382 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.209 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.209 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.225 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.225 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.253 ERROR dir -
storage/dir.c:dir_mount:179 - Permission denied - Failed to mount
"/var/snap/lxd/common/lxd/containers/fluent-bluegill/rootfs" on
"/var/snap/lxd/common/lxc/"
lxc 20180326201947.253 ERROR lxc_conf -
conf.c:lxc_setup_rootfs:1313 - Failed to mount rootfs
"dir:/var/snap/lxd/common/lxd/containers/fluent-bluegill/rootfs" onto
"/var/snap/lxd/common/lxc/" with options "(null)".
lxc 20180326201947.253 ERROR lxc_conf -
conf.c:do_rootfs_setup:3105 - failed to setup rootfs for 'fluent-bluegill'
lxc 20180326201947.253 ERROR lxc_conf -
conf.c:lxc_setup:3146 - Error setting up rootfs mount after spawn
lxc 20180326201947.253 ERROR lxc_start -
start.c:do_start:944 - Failed to setup container "fluent-bluegill".
lxc 20180326201947.253 ERROR lxc_sync -
sync.c:__sync_wait:57 - An error occurred in another process (expected
sequence number 5)
lxc 20180326201947.308 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.308 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.308 ERROR lxc_container -
lxccontainer.c:wait_on_daemonized_start:760 - Received container state
"ABORTING" instead of "RUNNING"
lxc 20180326201947.308 ERROR lxc_start -
start.c:__lxc_start:1459 - Failed to spawn container "fluent-bluegill".
lxc 20180326201947.308 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.308 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.357 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.357 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.358 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.358 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.359 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.359 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.361 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.361 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.362 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.362 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.363 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.363 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.364 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.364 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.365 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.365 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.366 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.366 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.367 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.367 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.368 WARN lxc_conf -
conf.c:lxc_map_ids:2672 - newuidmap binary is missing
lxc 20180326201947.368 WARN lxc_conf -
conf.c:lxc_map_ids:2678 - newgidmap binary is missing
lxc 20180326201947.369 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.369 WARN lxc_monitor -
monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send
message: No such file or directory.
lxc 20180326201947.369 WARN lxc_commands -
commands.c:lxc_cmd_rsp_recv:125 - Command get_cgroup failed to receive
response: Connection reset by peer.
lxc 20180326201947.369 WARN lxc_commands -
commands.c:lxc_cmd_rsp_recv:125 - Command get_cgroup failed to receive
response: Connection reset by peer.
robertj at vh3:~$ lxc storage list
+---------+-------------+--------+--------------------------------------+---------+
| NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
+---------+-------------+--------+--------------------------------------+---------+
| default | | btrfs | 6c670edc-46fa-47ec-9715-0201a21f8167
| 17 |
+---------+-------------+--------+--------------------------------------+---------+
robertj at vh3:~$ lxc storage show default
config:
source: 6c670edc-46fa-47ec-9715-0201a21f8167
volatile.initial_source: /dev/md2
description: ""
name: default
driver: btrfs
used_by:
robertj at vh3:~$ sudo mdadm --misc --detail /dev/md2
[sudo] password for robertj:
/dev/md2:
Version : 1.2
Creation Time : Mon Mar 12 09:35:59 2018
Raid Level : raid5
Array Size : 855400448 (815.77 GiB 875.93 GB)
Used Dev Size : 427700224 (407.89 GiB 437.97 GB)
Raid Devices : 3
Total Devices : 4
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Mon Mar 26 13:28:24 2018
State : clean
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 512K
Name : vh2:2
UUID : 1e352da5:d29704f3:31848563:45ee998f
Events : 415
Number Major Minor RaidDevice State
0 8 5 0 active sync /dev/sda5
1 8 20 1 active sync /dev/sdb4
2 8 36 2 active sync /dev/sdc4
3 8 52 - spare /dev/sdd4
More information about the lxc-users
mailing list