talos icon indicating copy to clipboard operation
talos copied to clipboard

talosctl disks --insecure -n <IP> returns nothing

Open ahmadidev opened this issue 2 years ago • 8 comments

Bug Report

Description

The VM has a disk attached to it but talosctl disks --insecure -n <IP> returns nothing. (By the way, I'm not sure it's a bug report but a question, but I can't access the community Slack.)

Logs

Environment

  • Talos version: Client: Tag: v1.0.0 SHA: 80167fd2 Built: Go version: go1.17.8 OS/Arch: linux/amd64 Server: error constructing client: failed to determine endpoints

  • Kubernetes version: N/A

  • Platform: VMware ESXi

ahmadidev avatar Apr 01 '22 15:04 ahmadidev

this feels like a bug, but please try talosctl disks --insecure -e <IP> -n <IP>

smira avatar Apr 01 '22 15:04 smira

but hold on, have you changed <IP> to the actual VM IP I hope?

smira avatar Apr 01 '22 15:04 smira

Yes of course. I've got the specified install disk does not exist: "/dev/sda" error. So I think the connection is fine. I also check the console logs: image

ahmadidev avatar Apr 01 '22 15:04 ahmadidev

this feels like a bug, but please try talosctl disks --insecure -e <IP> -n <IP>

Ran this command with the same order, but it returns nothing.

ahmadidev avatar Apr 01 '22 16:04 ahmadidev

ah, sorry, I saw error constructing client:, but that is from the talosctl version.

if you get nothing back, my only guess is that disks are not detected by Linux kernel.

What is the platform you're using?

smira avatar Apr 01 '22 16:04 smira

It's running on VMWare ESXi (updated post to reflect it). I successfully run Debian and Ubuntu with main and additional disks.

ahmadidev avatar Apr 01 '22 16:04 ahmadidev

I know many users run Talos successfully on VMWare, but I don't have any specific details. @rsmitty any thoughts?

smira avatar Apr 01 '22 16:04 smira

change vm virtual disk type from SCSI(S) to SATA(A) on Vmware Workstation . I successfully run talosctl -n <IP> disks --insecure it returns normal

JaeGerW2016 avatar May 26 '22 08:05 JaeGerW2016

Same problem here

ugurmendi avatar Sep 13 '23 14:09 ugurmendi

邮件已收到,我会尽快查看并回复

JaeGerW2016 avatar Sep 13 '23 14:09 JaeGerW2016

Have same issue. That is probably related to the way of presenting storage to OS by esxi. In my case it was by SCSI controller.

Changing disk from scsi to ide helped me: Open VM settings -> Hard disk -> Virtual Device Node -> IDE 0 + IDE (0:1) Hard disk 1

andreiperepiolkin avatar Nov 26 '23 12:11 andreiperepiolkin

邮件已收到,我会尽快查看并回复

JaeGerW2016 avatar Nov 26 '23 12:11 JaeGerW2016

I had the same problem, if you install talos from OVA file talosctl will show you disk even if it's with SCSI controller.

Filip7656 avatar Dec 10 '23 11:12 Filip7656