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

[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]#
成功上传.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值