Post

2 followers Follow
0
Avatar

LCM State HOTPLUG @ attaching raw disk to existing vm

Hi,

i created successfully a vm on a vsphere 6.5 cluster.

When i wanted to attach an additional hdd, the status changed from Running to HOTPLUG.

 

logs:

[...]

New LCM state is Running

New LVM state is HOTPLUG

 

Now no operations are anymore possible on this vm ( start/stop/terminate ). Only VNC is working, and the server itself is also fine.

The additional disk was not attached.

No Action were triggered @ vsphere as far as i can see it.

How to debug this further ?

Thank you !

Greetings

Oliver

Oliver Dzombic

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Oliver!,
it seems that somehow the attach disk action didn't finish or failed silently and therefore the VM is stucked in the HOTPLUG state. I'd try to do the following, look for the button for other actions and select Recover:

From the list of situations, you can try failure and then click OK. That should set the status of the VM to RUNNING and you would execute new actions again...

Now in order to debug what may have happened:

  1. Once you recover -> failure, the VM log may offer information about what command failed, if that is so paste it here to have a look.
  2. If no further info is displayed in the VM logs, it would be useful to have a look to /var/log/one/oned.log from the appliance CLI (ssh access as explained here) or from vOneCloud logs as it may give info about what is happening.
  3. Also from the CLI you could try to run oneimage show IMAGE_ID -x where IMAGE_ID is the ID number of the image you've tried to attach. You could paste the XML template here so we can have a look if it has something that may prevent it from being attached.

Let's see what can we obtain from the logs above...


Cheers!

Miguel Angel Alvarez Cabrerizo 0 votes
Comment actions Permalink
0
Avatar

Hi,

after recovery:

Fri May 5 15:49:56 2017 [Z0][VM][I]: New LCM state is RUNNING
Fri May 12 23:11:50 2017 [Z0][VM][I]: New LCM state is HOTPLUG
Tue May 16 17:45:22 2017 [Z0][VM][I]: New LCM state is RUNNING

 

I tried to attach the new disk in raw, not as image ( Volatile disk ).

When i repeat the step, i run into the same situation again.

So eighter this feature is not working, or there is some additional configuration neccessary, that is not documented.

How to solve that ?

Thank you !

Greetings

Oliver

Oliver Dzombic 0 votes
Comment actions Permalink