迁移到hosted-engine后出现添加主机
ovirthost16.skyovirt.com 到集群中会报
Host ovirthost16.skyovirt.com cannot access the Storage Domain(s) hosted_storage attached to the Data Center Default. Setting Host state to Non-Operational.
Failed to connect Host ovirthost16.skyovirt.com to Storage Pool Default
造成添加的主机节点 Non-Operational.无法使用
登陆 ovirthost16.skyovirt.com查看vdsm的操作日志
[root@ ovirthost16.skyovirt.com ~]# grep ERROR /var/log/vdsm/vdsm.log
Thread-730::ERROR::2016-03-14 14:43:35,666::sdc::139::Storage.StorageDomainCache::(_findDomain) looking for unfetched domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5
Thread-730::ERROR::2016-03-14 14:43:35,666::sdc::156::Storage.StorageDomainCache::(_findUnfetchedDomain) looking for domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5
Thread-730::ERROR::2016-03-14 14:43:35,738::sdc::145::Storage.StorageDomainCache::(_findDomain) domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5 not found
Thread-730::ERROR::2016-03-14 14:43:35,738::monitor::276::Storage.Monitor::(_monitorDomain) Error monitoring domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5
d859f33c-5e1c-46a6-a030-02c6b8ad79a5 就是hosted_storage,也就是hosted-engine的安装存储域的UUID
查看当前的挂载分区,发现没有挂载hosted_strorage
[root@ovirthost16.skyovirt.com ~]# df
df: ‘/rhev/data-center/mnt/glusterSD/192.168.184.14:_Gdisk’: Transport endpoint is not connected
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 33538048 2021044 31517004 7% /
devtmpfs 24632288 0 24632288 0% /dev
tmpfs 24641624 0 24641624 0% /dev/shm
tmpfs 24641624 33504 24608120 1% /run
tmpfs 24641624 0 24641624 0% /sys/fs/cgroup
/dev/sda3 386079556 1451720 384627836 1% /opt
ovirthost14.skyovirt.com:/VM 142666624 4181504 138485120 3% /rhev/data-center/mnt/glusterSD/ovirthost14.skyovirt.com:_VM
tmpfs 4928328 0 4928328 0% /run/user/0
操作挂载,Ovirt volume卷是hosted-engine的安装卷
[root@ovirthost16.skyovirt.com ~]# mkdir -p /rhev/data-center/mnt/glusterSD/ovirthost14.skyovirt.com:_Ovirt
[root@ovirthost16.skyovirt.com ~]# mount -t glusterfs ovirthost14.skyovirt.com:Ovirt /rhev/data-center/mnt/glusterSD/ovirthost14.skyovirt.com:_Ovirt
ovirt自动监测到并更新状态信息
Host ovirthost16.skyovirt.com cannot access the Storage Domain(s) hosted_storage attached to the Data Center Default. Setting Host state to Non-Operational.
Failed to connect Host ovirthost16.skyovirt.com to Storage Pool Default
造成添加的主机节点 Non-Operational.无法使用
登陆 ovirthost16.skyovirt.com查看vdsm的操作日志
[root@ ovirthost16.skyovirt.com ~]# grep ERROR /var/log/vdsm/vdsm.log
Thread-730::ERROR::2016-03-14 14:43:35,666::sdc::139::Storage.StorageDomainCache::(_findDomain) looking for unfetched domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5
Thread-730::ERROR::2016-03-14 14:43:35,666::sdc::156::Storage.StorageDomainCache::(_findUnfetchedDomain) looking for domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5
Thread-730::ERROR::2016-03-14 14:43:35,738::sdc::145::Storage.StorageDomainCache::(_findDomain) domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5 not found
Thread-730::ERROR::2016-03-14 14:43:35,738::monitor::276::Storage.Monitor::(_monitorDomain) Error monitoring domain d859f33c-5e1c-46a6-a030-02c6b8ad79a5
d859f33c-5e1c-46a6-a030-02c6b8ad79a5 就是hosted_storage,也就是hosted-engine的安装存储域的UUID
查看当前的挂载分区,发现没有挂载hosted_strorage
[root@ovirthost16.skyovirt.com ~]# df
df: ‘/rhev/data-center/mnt/glusterSD/192.168.184.14:_Gdisk’: Transport endpoint is not connected
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 33538048 2021044 31517004 7% /
devtmpfs 24632288 0 24632288 0% /dev
tmpfs 24641624 0 24641624 0% /dev/shm
tmpfs 24641624 33504 24608120 1% /run
tmpfs 24641624 0 24641624 0% /sys/fs/cgroup
/dev/sda3 386079556 1451720 384627836 1% /opt
ovirthost14.skyovirt.com:/VM 142666624 4181504 138485120 3% /rhev/data-center/mnt/glusterSD/ovirthost14.skyovirt.com:_VM
tmpfs 4928328 0 4928328 0% /run/user/0
操作挂载,Ovirt volume卷是hosted-engine的安装卷
[root@ovirthost16.skyovirt.com ~]# mkdir -p /rhev/data-center/mnt/glusterSD/ovirthost14.skyovirt.com:_Ovirt
[root@ovirthost16.skyovirt.com ~]# mount -t glusterfs ovirthost14.skyovirt.com:Ovirt /rhev/data-center/mnt/glusterSD/ovirthost14.skyovirt.com:_Ovirt
ovirt自动监测到并更新状态信息