HPE Morpheus VM Essentials
1830160 Members
4287 Online
109999 Solutions
New Discussion

HPE-VM Console, error after adding network

 
jessecain
Visitor

HPE-VM Console, error after adding network

Hello,

I am trying to set up a Proof of Concept for HPE Essentials to replace our VMware.
Installing the HPE VM Manager. It goes through the process and states that it can not start the manager. Then when it completes the VM shows up in hpe-vm and when I try to manually start it says that it can not find a "device" named mgmt. Is this virtual interface supposed to be automatically created? The instructions do not mention it. VM name is hpe-mgr01. Also, there doesn't seem to be any option to edit this VM after creation in the hpe-vm console or from the command line that I could find. If I try to manually add the virtual -ethernet device and name it mgmt then when I click add it closes the hpe-vm console and if I re-open it the interface is not created.
 
I tried adding a VLAN to the networking and was going to re-create the manager VM with a different VLAN and IP and see if that would help. Now if I go into networking or try to re-create the manager I am greated with a java error: java.lang.Integer cannot be cast to java.lang.String
I removed hpe-vm and deleted /var/morpheus directory and the associated log folder. Then re-installed with: sudo dpkg -i hpe-vm_1.0.5-1_amd64.deb
 But I am still getting the java error. 
If I try to re-create the manager VM the console locks up with this error and I have to Ctrl-C to exit.

Error:

cannot be cast to java.lang.String                       

        at com.morpheusdata.mvm.console.util.NetworkUtility.                                                                                                           

        at java.base@21.0.4/java.util.LinkedHashMap$LinkedEn                                                                                                           

        at com.morpheusdata.mvm.console.util.NetworkUtility.                                                                                                           

        at com.morpheusdata.mvm.console.util.ProcessHandler$                                                                                                           

        at com.morpheusdata.mvm.console.util.NetworkUtility.                                                                                                           

        at com.morpheusdata.mvm.console.InstallMorpheus.show(I                                                                                                         

        at com.morpheusdata.mvm.console.MainMenu.showWindow(MainMenu.java:32)                                                                                          

        at com.morpheusdata.mvm.console.MainMenu.lambda$addMenuOptions$5(MainMenu.java:43)                                                                             

        at com.googlecode.lanterna.gui2.Button.lambda$new$0(Button.java:71)                                                                                            

        at com.googlecode.lanterna.gui2.Button.triggerActions(Button.java:95)                                                                                          

        at com.googlecode.lanterna.gui2.Button.handleKeyStroke(Button.java:87)                                                                                         

        at com.googlecode.lanterna.gui2.AbstractInteractableComponent.handleInput(AbstractInteractableComponent.java:145)                                              

        at com.googlecode.lanterna.gui2.AbstractBasePane.doHandleInput(AbstractBasePane.java:167)                                                                      

        at com.googlecode.lanterna.gui2.AbstractBasePane.handleInput(AbstractBasePane.java:103)                                                                        

        at com.googlecode.lanterna.gui2.AbstractWindow.handleInput(AbstractWindow.java:135)                                                                            

        at com.morpheusdata.mvm.console.gui.AppWindow.handleInput(AppWindow.java:61)                                                                                   

        at com.googlecode.lanterna.gui2.MultiWindowTextGUI.handleInput(MultiWindowTextGUI.java:365)                                                                    

        at com.googlecode.lanterna.gui2.AbstractTextGUI.processInput(AbstractTextGUI.java:94)                                                                          

        at com.googlecode.lanterna.gui2.AbstractTextGUIThread.processEventsAndUpdate(AbstractTextGUIThread.java:77)                                                    

        at com.googlecode.lanterna.gui2.MultiWindowTextGUI.waitForWindowToClose(MultiWindowTextGUI.java:508)                                                           

        at com.googlecode.lanterna.gui2.AbstractWindow.waitUntilClosed(AbstractWindow.java:321)                                                                        

        at com.googlecode.lanterna.gui2.MultiWindowTextGUI.addWindowAndWait(MultiWindowTextGUI.java:484)                                                               

        at com.morpheusdata.mvm.console.MainMenu.show(MainMenu.java:26)                                                                                                

        at com.morpheusdata.mvm.console.App.run(App.java:53)                                                                                                           

        at com.morpheusdata.mvm.console.App.main(App.java:33)                                                                                                          

        at java.base@21.0.4/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH) 

 

 

1 REPLY 1
Arnout_Verbeken
HPE Pro

Re: HPE-VM Console, error after adding network

Hold on, you're losing me here...
First, you say you use the package hpe-vm 1.05.  This package was part of the 8.0.5 release.  We are now on v8.0.7, which comes with hpe-vm 1.0.9.
I advise to download the latest release and strat over.

Here is an (unofficial) procedure to clean up:

Restart install after cleanup:

  1. Execute the command 
/opt/hpe-vm/scripts/reset_host.sh​

  . It will clean up the  all changes.

  • Once done, check whether still vmemanger still seen in 
virsh list  -all​

, If yes, manually execute the following commands.

sudo virsh destroy < domain ID of vmemanager >
sudo virsh undefine < vme manager name >
sudo rm -rf /var/morpheus/kvm/vms/*
sudo rm -rf /var/morpheus/kvm/local/*
sudo rm -rf /var/morpheus/kvm/config/*
sudo dpkg -r hpe-vm

 

Check your netplan and make sure there is a fixed IP assigned to a single nic or a bond.  This is your management/host IP.
Now install hpe-vm 1.0.9, run it and install the manager.
Important here is that you select the same nic or bond as "management interface" as you did for your host in netplan. (assuming the manager will be on the same management vlan).
Also make sure the IP is in the same subnet and - if you choose to use a FQDN for the URL, that the FQDN is fully resolvable (forward and reverse).
If you have no FQDN, you can use the manager VM IP as URL
The URL should start with https://
SO in the installer screen:
IP --> management IP of the manager VM (in same subnet as your host IP)
Appliance URL  --> https://IP_OR_FQDN
Hostname --> hostname of the manager VM
Management interface --> the nic or bond you used for the host management
For the Image itself, you can browse and should select the qcow2.gz image.  So not the ISO

This should install the manager and give you the URL to browse to after a couple of minutes.

If it still doesn't work, please post your netplan (sudo netplan get), and a screenthos the installer screen with all fields filled in (and other relevant screenshots).



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo