Hi,
After a successful undeployment of a VM I have clicked the resume button in sunstone web interface.
Opennebula scheduler has chosen a new host that it is not properly working. I have powered off the host (sunstone has marked the powered-off host as ERROR what it is correct).
Now, I’d like to deploy my VM on another host but i’m not able to change the host
USER TEMPLATE
ERROR=“Fri Dec 29 13:56:26 2017 : Error deploying virtual machine: Error creating directory /var/lib/one/datastores/100/27 at vdicnode03: ssh: connect to host vdicnode03 port 22: No route to host”
HYPERVISOR=“kvm”
INPUTS_ORDER=“”
LOGO=“images/logos/windows8.png”
SCHED_DS_REQUIREMENTS=“ID="100"”
USER_INPUTS=[
CPU=“O|fixed|| |1”,
MEMORY=“M|list||1024,2048,3072,4096|2048” ]VIRTUAL MACHINE TEMPLATE
AUTOMATIC_DS_REQUIREMENTS=“"CLUSTERS/ID" @> 0”
AUTOMATIC_REQUIREMENTS=“(CLUSTER_ID = 0) & !(PUBLIC_CLOUD = YES)”
CONTEXT=[
DISK_ID=“1”,
ETH0_CONTEXT_FORCE_IPV4=“”,
ETH0_DNS=“”,
ETH0_GATEWAY=“”,
ETH0_GATEWAY6=“”,
ETH0_IP=“”,
ETH0_IP6=“”,
ETH0_IP6_PREFIX_LENGTH=“”,
ETH0_IP6_ULA=“”,
ETH0_MAC=“02:00:2f:4e:9c:3e”,
ETH0_MASK=“”,
ETH0_MTU=“”,
ETH0_NETWORK=“”,
ETH0_SEARCH_DOMAIN=“”,
ETH0_VLAN_ID=“3”,
ETH0_VROUTER_IP=“”,
ETH0_VROUTER_IP6=“”,
ETH0_VROUTER_MANAGEMENT=“”,
NETWORK=“YES”,
TARGET=“hda” ]
CPU=“1”
FEATURES=[
ACPI=“yes”,
APIC=“yes”,
GUEST_AGENT=“yes”,
VIRTIO_SCSI_QUEUES=“4” ]
GRAPHICS=[
KEYMAP=“es”,
LISTEN=“0.0.0.0”,
PORT=“5927”,
TYPE=“SPICE” ]
INPUT=[
BUS=“usb”,
TYPE=“tablet” ]
MEMORY=“1024”
OS=[
ARCH=“x86_64”,
BOOT=“”,
ROOT=“hd” ]
RAW=[
DATA=“SandyBridge”,
TYPE=“kvm” ]
TEMPLATE_ID=“1”
VCPU=“2”
VMID=“27”
[root@vdicone01 100]#
All options in Sunstone are disabled but “Recover” that does not fix the problem as system always is trying to deploy the VM on a powered off host.
Is there any way to change the deployment host?
Thanks a lot in advance,
Versions of the related components and OS (frontend, hypervisors, VMs):
Opennebula 5.4
KVM
Steps to reproduce:
Explained before
Current results:
Explained before
Expected results:
Be able to change the host where deploy the VM to.