Hello everyone,
Today I encountered a pretty weird problem trying to install an update(Storcli). esxcli wasn't working as intended as seen below:
[root@Lotos-Stambolyiski-H1:/vmfs/volumes/62e3e792-ee3a0ddc-8031-4c5262591d45] e
sxcli
Usage: esxcli [options] {namespace}+ {cmd} [cmd options]
Options:
--formatter=FORMATTER
Override the formatter to use for a given command.
Available formatter: xml, csv, keyvalue
--screen-width=SCREENWIDTH
Use the specified screen width when formatting text
--debug Enable debug or internal use options
--version Display version information for the script
-?, --help Display usage information for the script
[root@Lotos-Stambolyiski-H1:/vmfs/volumes/62e3e792-ee3a0ddc-8031-4c5262591d45]
This is an output from a server running ESXI 7.0.3 (OEM Customized for Fujitsu there are also installations which are for Dell). There are no namespaces hence I can't use esxcli for any of it's purposes. The server itself hasn't ever had updates of any kind before. The funny thing is this image that's on the server has a problem whit esxcli. While a server running on the exact same image does not have the problem:
[root@Exhibition-H2:/opt/lsi] esxcli
Usage: esxcli [options] {namespace}+ {cmd} [cmd options]
Options:
--formatter=FORMATTER
Override the formatter to use for a given command.
Available formatter: xml, csv, keyvalue
--screen-width=SCREENWIDTH
Use the specified screen width when formatting text
--debug Enable debug or internal use options
--version Display version information for the script
-?, --help Display usage information for the script
Available Namespaces:
daemon Commands for controlling daemons built with Daemon SDK
(DSDK).
device Device manager commands
elxnet elxnet esxcli functionality
esxcli Commands that operate on the esxcli system itself
allowing users to get additional information.
fcoe VMware FCOE commands.
graphics VMware graphics commands.
hardware VMKernel hardware properties and commands for
configuring hardware.
iscsi VMware iSCSI commands.
network Operations that pertain to the maintenance of networking
on an ESX host. This includes a wide variety of commands
to manipulate virtual networking components (vswitch,
portgroup, etc) as well as local host IP, DNS and
general host networking settings.
nvme VMware NVMe driver operations.
rdma Operations that pertain to remote direct memory access
(RDMA) protocol stack on an ESX host.
sched VMKernel system properties and commands for configuring
scheduling related functionality.
software Manage the ESXi software image and packages
storage VMware storage commands.
system VMKernel system properties and commands for configuring
properties of the kernel core system and related system
services.
vm A small number of operations that allow a user to
Control Virtual Machine operations.
vsan VMware vSAN commands
[root@Exhibition-H2:/opt/lsi]
The only difference is those 2 are different hardware configurations the second one is Fujitsu RX100 S8 while the first one is Fujitsu Primergy 1310 M3
Is there any fix for this issue?
Does anyone have tips I could use to resolve the issue?
Edit:
Here is an example of esxcli software:
[root@Lotos-Stambolyiski-H1:~] esxcli software
Error: Unknown command or namespace software
[root@Lotos-Stambolyiski-H1:~]
Still haven't found the solution. Current theory is one of our VM's is modifying the host.
Edit 2:
2022-08-17T14:27:03Z esxcli: ERROR [313971] Unknown command or namespace network get^@
2022-08-18T08:21:11Z esxcli: ERROR [347295] update failed: [DowngradeError] Downgrade ESXi from version 7.0.3 to 6.0.0 is not supported. Please refer to the log file for more details.^@
This appeared in the logs right after the esxcli stopped working properly. I went trough all the things I did on that server and repeated them on a fresh installation. There is no exact action cause this Bug yet. Notice I haven't tried to install any updates on the server. The most I did was change IP addresses of the Management Network
Current working solution is to use localcli