ovirt向ISO存储域上传ISO镜像文件故障处理

简介: [root@192-168-166-220 ~]# ovirt-iso-uploader -v --iso-domain=isoG upload /tmp/CentOS-7.0-1406-x86_64-Minimal.
[root@192-168-166-220 ~]# ovirt-iso-uploader -v --iso-domain=isoG upload /tmp/CentOS-7.0-1406-x86_64-Minimal.iso
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
DEBUG: API Vendor(ovirt.org)    API Version(4.0.0)
DEBUG: id=c973f0ac-c94c-408f-b130-649eb8083970 address=192.168.166.109 path=/iso
Uploading, please wait...
DEBUG: local NFS mount point is /tmp/tmpKawOfF
DEBUG: NFS mount command (/bin/mount -t nfs -o rw,sync,soft 192.168.166.109:/iso /tmp/tmpKawOfF)
DEBUG: /bin/mount -t nfs -o rw,sync,soft 192.168.166.109:/iso /tmp/tmpKawOfF
DEBUG: _cmds(['/bin/mount', '-t', 'nfs', '-o', 'rw,sync,soft', '192.168.166.109:/iso', '/tmp/tmpKawOfF'])
DEBUG: returncode(32)
DEBUG: STDOUT()
DEBUG: STDERR(Job for rpc-statd.service failed because the control process exited with error code. See "systemctl status rpc-statd.service" and "journalctl -xe" for details.
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
)
ERROR: Job for rpc-statd.service failed because the control process exited with error code. See "systemctl status rpc-statd.service" and "journalctl -xe" for details.
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

DEBUG: /bin/umount -t nfs -f  /tmp/tmpKawOfF
DEBUG: /bin/umount -t nfs -f  /tmp/tmpKawOfF
DEBUG: _cmds(['/bin/umount', '-t', 'nfs', '-f', '/tmp/tmpKawOfF'])
DEBUG: returncode(32)
DEBUG: STDOUT()
DEBUG: STDERR(umount: /tmp/tmpKawOfF: not mounted
)
DEBUG: umount: /tmp/tmpKawOfF: not mounted

采用直接挂载方式
[root@192-168-166-220 ~]# /bin/mount -t nfs -o rw,sync,soft 192.168.166.109:/iso /tmp/tmpKawOfF
Job for rpc-statd.service failed because the control process exited with error code. See "systemctl status rpc-statd.service" and "journalctl -xe" for details.
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

排除防火墙原因,查看rpcbind服务
[root@192-168-166-220 ~ ]# systemctl -a |grep rpcbind
  rpcbind.service                                                                                  loaded    inactive dead      RPC bind service
  rpcbind.socket                                                                                   loaded    inactive dead      RPCbind Server Activation Socket
  rpcbind.target                                                                 
服务未启动
[root@192-168-166-220 tmpzarr3J]# systemctl start rpcbind.service
[root@192-168-166-220 tmpzarr3J]# systemctl -a |grep rpcbind
  rpcbind.service                                                                                  loaded    active   running   RPC bind service
  rpcbind.socket                                                                                   loaded    active   running   RPCbind Server Activation Socket
  rpcbind.target                                       
[root@192-168-166-220 ~]# /bin/mount -t nfs -o rw,sync,soft 192.168.166.109:/iso /tmp/tmpKawOfF
nfs可以挂载成功
[root@192-168-166-220 tmp]# ovirt-iso-uploader -v --iso-domain=isoG upload /tmp/CentOS-7.0-1406-x86_64-Minimal.iso
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
DEBUG: API Vendor(ovirt.org)    API Version(4.0.0)
DEBUG: id=c973f0ac-c94c-408f-b130-649eb8083970 address=192.168.166.109 path=/iso
Uploading, please wait...
DEBUG: local NFS mount point is /tmp/tmp6gTdwg
DEBUG: NFS mount command (/bin/mount -t nfs -o rw,sync,soft 192.168.166.109:/iso /tmp/tmp6gTdwg)
DEBUG: /bin/mount -t nfs -o rw,sync,soft 192.168.166.109:/iso /tmp/tmp6gTdwg
DEBUG: _cmds(['/bin/mount', '-t', 'nfs', '-o', 'rw,sync,soft', '192.168.166.109:/iso', '/tmp/tmp6gTdwg'])
DEBUG: returncode(0)
DEBUG: STDOUT()
DEBUG: STDERR()
INFO: Start uploading /tmp/CentOS-7.0-1406-x86_64-Minimal.iso
DEBUG: Size of /tmp/CentOS-7.0-1406-x86_64-Minimal.iso: 593494016 bytes 579584.0 1K-blocks      566.0 MB
DEBUG: Available space in /tmp/tmp6gTdwg/c973f0ac-c94c-408f-b130-649eb8083970/images/11111111-1111-1111-1111-111111111111:      146041470976 bytes       142618624.0 1K-blocks   139276.0 MB
DEBUG: euid(0) egid(0)
Uploading: [########################################] 100%
DEBUG: euid(0) egid(0)
DEBUG: Renaming /tmp/tmp6gTdwg/c973f0ac-c94c-408f-b130-649eb8083970/images/11111111-1111-1111-1111-111111111111/.CentOS-7.0-1406-x86_64-Minimal.iso to /tmp/tmp6gTdwg/c973f0ac-c94c-408f-b130-649eb8083970/images/11111111-1111-1111-1111-111111111111/CentOS-7.0-1406-x86_64-Minimal.iso
INFO: /tmp/CentOS-7.0-1406-x86_64-Minimal.iso uploaded successfully
DEBUG: /bin/umount -t nfs -f  /tmp/tmp6gTdwg
DEBUG: /bin/umount -t nfs -f  /tmp/tmp6gTdwg
DEBUG: _cmds(['/bin/umount', '-t', 'nfs', '-f', '/tmp/tmp6gTdwg'])
DEBUG: returncode(0)
DEBUG: STDOUT()
DEBUG: STDERR()

[root@192-168-166-220 tmp]# ovirt-iso-uploader --iso-domain=isoG upload /tmp/CentOS-6.6-x86_64-minimal.iso
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
Uploading, please wait...
INFO: Start uploading /tmp/CentOS-6.6-x86_64-minimal.iso
Uploading: [########################################] 100%
INFO: /tmp/CentOS-6.6-x86_64-minimal.iso uploaded successfully
[root@192-168-166-220 tmp]#
成功上传.

目录
相关文章
|
存储 Linux 虚拟化
开源虚拟化平台oVirt4.3简单搭建实践(下)
开源虚拟化平台oVirt4.3简单搭建实践(下)
1492 0
开源虚拟化平台oVirt4.3简单搭建实践(下)
最近ovirt遇到一些问题整理及解决方法
最近ovirt遇到一些问题整理及解决方法
1250 0
|
Linux 开发者
Red Hat Subscription 开发者订阅与激活订阅
使用命令时会出现以提示,命令不可正常使用。 根据提示信息,我们可以知道,需要通过Red Hat Subscription,开发者订阅。 进入开发者页面 https://developers.redhat.com/products/rhel/download,下滑看到No-cost RHEL for developers subscription 面向开发人员的免费 RHEL 订阅,选择Activate your subscription 激活你的订阅;
3382 1
|
Ubuntu Shell 网络安全
安装了ubuntu虚拟机后发现shell无法连接 ubuntu开启ssh连接
【8月更文挑战第23天】安装了ubuntu虚拟机后发现shell无法连接
1156 6
|
消息中间件 存储 容灾
RabbitMQ的故障恢复与容灾策略
【8月更文第28天】RabbitMQ是一个开源的消息代理软件,它支持多种消息协议,如AMQP(Advanced Message Queuing Protocol)。在实际应用中,为了保证服务的连续性,需要实施一系列的故障恢复与容灾策略。
685 2
|
Linux 网络安全 数据安全/隐私保护
Xshell7免费版下载安装使用
Linux,SSH,Xshell
2134 6
|
存储 Kubernetes Java
在k8S中,容器内日志是怎么采集的?
在k8S中,容器内日志是怎么采集的?
|
Linux 数据库
ntp如何配置同步服务器
【5月更文挑战第24天】ntp如何配置同步服务器
1167 0
|
Kubernetes 网络协议 Perl
k8s Failed to create pod sandbox: open /run/systemd/resolve/resolv.conf: no such file or directory
k8s Failed to create pod sandbox: open /run/systemd/resolve/resolv.conf: no such file or directory
904 0
|
Kubernetes Cloud Native Java
阿里开源分布式限流框架 -Sentinel Go 0.3.0 发布,支持熔断降级能力
近期,Sentinel Go 0.3.0 正式发布,带来了熔断降级特性支持,可以针对 Go 服务中的不稳定调用进行自动熔断,避免出现级联错误/雪崩,是保障服务高可用重要的一环。
阿里开源分布式限流框架 -Sentinel Go 0.3.0 发布,支持熔断降级能力