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

目录
相关文章
|
C++ Windows
Visual Studio 2019 实现并行编译
使用 Visual Studio 2019 实现并行编译
1535 0
Visual Studio 2019 实现并行编译
|
11月前
|
机器学习/深度学习 弹性计算 前端开发
阿里云服务器2核4G配置价格:u1实例特价199元,u2a实例504.60元起,不同实例活动价格参考
阿里云2核4G配置云服务器价格因实例规格、带宽及优惠活动差异显著。通用算力型u1实例199元/年(续费同价),适配企业Web前端场景;经济型e实例599.93元起,满足开发测试需求;通用算力型u2a实例新用户享2.5折,2核4G配置504.60元起,适合计算密集任务;计算型c9i实例2核4G配置1742.08元起,适配机器学习推理,广州地域低至6.4折。用户可结合业务需求选择实例,并通过领取优惠券进一步降低成本,实现高效上云。
831 0
|
8月前
|
机器学习/深度学习 搜索推荐 数据处理
PAI-Rec推荐开发平台:企业级智能推荐解决方案,驱动业务全域增长
PAI-Rec是阿里云一站式推荐系统平台,集成多路召回、多目标精排(如DBMTL)、GPU加速推理与灵活迭代能力,已助力电商、直播、音视频等多行业提升点击率、转化率与ROI,实现高效、低成本、可自主演进的智能推荐。
685 16
|
11月前
|
机器学习/深度学习 安全 数据处理
【LSTM回归预测】基于卷积神经网络结合长短记忆神经网络空间注意力机制CNN-LSTM-SAM数据预测附Matlab代码
✅作者简介:热爱科研的Matlab仿真开发者,擅长数据处理、建模仿真、程序设计、完整代码获取、论文复现及科研仿真。 🍎 往期回顾关注个人主页:Matlab科研工作室 👇 关注我领取海量matlab电子书和数学建模资料 🍊个人信条:格物致知,完整Matlab代码获取及仿真咨询内容私信。 🔥 内容介绍 一、引言:告别单一模型瓶颈!混合注意力模型的精准预测之旅 1.1 为什么是 CNN-LSTM-SAM?单一模型的痛点与破局思路 在数据预测的广袤领域中,传统的预测模型各有千秋,但也存在着明显的局限性。长短期记忆网络(LSTM)作为处理时间序列数据的经典模型,凭借其独特的门控机
330 2
【LSTM回归预测】基于卷积神经网络结合长短记忆神经网络空间注意力机制CNN-LSTM-SAM数据预测附Matlab代码
|
12月前
|
Linux Docker 容器
【赵渝强老师】使用yum方式安装Docker
本文介绍如何使用yum方式在Linux系统中安装和管理Docker。通过yum可自动解决依赖问题并方便地进行软件包更新。首先测试网络连通性,然后执行yum命令安装Docker,启动并启用Docker服务,最后验证安装成功并查看版本信息。
815 4
Dataphin功能Tips系列(77)如何实现数据资产上下架的精准管控与高效流转
在企业数据治理中,Dataphin支持按资产范围灵活配置上下架审批流程。通过标签、项目等条件圈选资产,绑定自定义审批模板,实现核心资产精细管控与大规模资产高效流转的平衡,提升数据运营效率。
540 1
|
Ubuntu Linux 图形学
Linux学习之Linux桌面系统有哪些?
Cinnamon:与MATE类似,Cinnamon 拥有 GNOME 和 Unity 等其它桌面环境所没有的种种功能,是高度可定制的桌面环境,不需要任何外部插件、窗口组件和调整工具来定制桌面。
640 0
|
人工智能 Python
JoyCaption:开源的图像转提示词生成工具,支持多种风格和场景,性能与 GPT4o 相当
JoyCaption 是一款开源的图像提示词生成工具,支持多种生成模式和灵活的提示选项,适用于社交媒体、图像标注、内容创作等场景,帮助用户快速生成高质量图像描述。
2985 21
JoyCaption:开源的图像转提示词生成工具,支持多种风格和场景,性能与 GPT4o 相当
|
IDE 测试技术 开发工具
10个必备Python调试技巧:从pdb到单元测试的开发效率提升指南
在Python开发中,调试是提升效率的关键技能。本文总结了10个实用的调试方法,涵盖内置调试器pdb、breakpoint()函数、断言机制、logging模块、列表推导式优化、IPython调试、警告机制、IDE调试工具、inspect模块和单元测试框架的应用。通过这些技巧,开发者可以更高效地定位和解决问题,提高代码质量。
1565 8
10个必备Python调试技巧:从pdb到单元测试的开发效率提升指南
|
数据采集 安全 数据安全/隐私保护
代理IP的基本原理是什么?使用IP需要注意哪些事项?
代理IP通过代理服务器转发用户请求,隐藏真实IP,实现隐私保护和数据采集。使用代理IP需注意:选择有高质量、稳定服务和专业技术支持的代理服务商;避免频繁使用同一代理IP;确保代理IP的高匿名性;并遵守网络道德和法律法规。