Skip to content

BUG esxi8.0虚拟化安装的RR 25.4.0 SA6400 默认的vmtools服务类型 #8184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lm010692 opened this issue Apr 25, 2025 · 17 comments
Open

Comments

@lm010692
Copy link

lm010692 commented Apr 25, 2025

请填写以下信息.
Please fill in the following information.

Install ENV: (You can find it in the boot interface.)

  • DMI: VMware ESXi8.0
  • CPU: Xeon(R) Gold 6132
  • NIC: x710

RR version: (You can find it in the update menu.)

  • RR: 25.4.0
  • addons: vm-tools

DSM:

  • model: SA6400
  • version: 7.2.2

Issue:
默认的vmtools服务类型为默认的simple,与vmtools的启动方式不匹配会导致vm-tools服务无法正常启动,调整为forking后,正常运行,可以调整一下。

附带调整后的文件:

[Unit]
Description=RR addon vmtools daemon
IgnoreOnIsolate=true
After=multi-user.target

[Service]
Type=forking
PIDFile=/var/run/vmtools.pid
Environment="PATH=/usr/vmtools/bin:/usr/vmtools/sbin:$PATH"
Environment="LD_LIBRARY_PATH=/usr/vmtools/lib:$LD_LIBRARY_PATH"
ExecStart=/usr/vmtools/bin/vmtoolsd -c /usr/vmtools/etc/vmware-tools/tools.conf --common-path=/usr/vmtools/lib/open-vm-tools/plugins --plugi
n-path=/usr/vmtools/lib/open-vm-tools/plugins/vmsvc -b /var/run/vmtools.pid
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

仅仅添加了[Service]部分的 Type 和 PIDFile
最后感谢大大开发的RR,确实好用。

@lm010692
Copy link
Author

补充一个问题,开启自带的vm-tools会出现关机时触发shutdown失败,esxi的web页面里 手动点击虚拟机的shutdown按钮也是同样的情况,第一次点击会报错,再点击第二次就可以成功触发关机。 详情见下图。

Image

@wjz304
Copy link
Contributor

wjz304 commented Apr 28, 2025

@lm010692
Copy link
Author

测试最新版本25.4.2 关机报错提示变了,详情如下图所示:

Image

Image

@wjz304
Copy link
Contributor

wjz304 commented Apr 29, 2025

我没有 esxi 环境, 晚点用vmware 试下吧

@lm010692
Copy link
Author

我没有 esxi 环境, 晚点用vmware 试下吧

理解理解,大佬 如有需要 我们可以约个时间 我配合测试,我单独整个测试版的syno

@wjz304
Copy link
Contributor

wjz304 commented May 7, 2025

test 25.5.0

@lm010692
Copy link
Author

lm010692 commented May 8, 2025

替换25.5.2的启动盘后,无法启动 报错如图所示。

Image

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2025

替换25.5.2的启动盘后,无法启动 报错如图所示。

Image

你测试这个干什么?

@lm010692
Copy link
Author

lm010692 commented May 8, 2025

替换25.5.2的启动盘后,无法启动 报错如图所示。
Image

你测试这个干什么?

之前是直接替换升级的,这次也就直接替换升级了,没想到翻车了,刚刚测试了在线升级是可以的,关机还是会报错。
Image

发现个新问题:新建了一个虚拟机,用的25.5.2引导,发现无法在线选择型号了,只能选择解析pat,出去的网络肯定是没问题,有点奇怪。

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2025

open vm tools 全是硬编码,即使设置了 bin 和 lib 的路径 还是很多东西会找不到,😔

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2025

在 /var/log/ 下 有 4个 vmtools 的日志,你可以看看,

/var/log/{vmsvc.rr.log,vmtoolsd.rr.log,vmware-vmtoolsd-root.log,vmware-network-root.log}

关机搜索关键字 powerops

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2025

替换25.5.2的启动盘后,无法启动 报错如图所示。

Image

v25.5.4

@lm010692
Copy link
Author

lm010692 commented May 8, 2025

老哥,vcenter里面 新版的vmtools点不得了 一点整个esxi就崩了 ,如下图

Image

Image

@lm010692
Copy link
Author

lm010692 commented May 8, 2025

计划用journalctl -f 看看关机实时报错,搞了两回,一样的情况,都是直接崩了。 - -! 这个和systemd服务无法获取系统shell的变量有关系吗。。。

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2025

QQ 或者TG 吧

@lm010692
Copy link
Author

lm010692 commented May 8, 2025

QQ 或者TG 吧

阔以呀

@wjz304
Copy link
Contributor

wjz304 commented May 8, 2025

https://t.me/RR_Org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants