Using Cloud Plugin

Help
JonD9
2012-01-20
2013-04-13
1 2 > >> (Page 1 of 2)
  • JonD9
    JonD9
    2012-01-20

    After following the guide when I try to create a VM in the Cloud I get these errors every time. 
    cloudvm.class.php   Warning ! There is no active virtualization host type KVM Host available to bring up a new vm
    cloudvm.class.php   Notice : Trying to find a Host which can start-from-off …..

    Any ideas what is wrong with my setup or where to look I have the appliance and cloud products setup.

     
  • JonD9
    JonD9
    2012-02-15

    I still get this message when I try to use the cloud plugin with the image shelf, but every image use I get an error with no bootable device, is anybody else getting that?

     
  • junix88
    junix88
    2012-02-15

    Hi,

    Just a try. Do kindly check your Appliance and make sure you physical host set Type = KVM Host.

    Hope it helps.

     
  • JonD9
    JonD9
    2012-02-15

    Hey Junix88,

    I saw your earlier post regarding that and made sure it was set correctly set in the appliance.  Here is what the event log says:
    91 2012/02/15 14:46:01 cloud-monitor Could not create a new resource for request ID 4!
    90 2012/02/15 14:41:09 openqrm-kvm Created KVM VM blaze1.
    89 2012/02/15 14:46:01 openqrm-kvm-appliance-hook.php Handling remove event 2/blaze1/
    88 2012/02/15 14:46:01 openqrm-dhcpd-appliance-hook.php Handling remove event 2/blaze1//
    87 2012/02/15 14:40:56 kvm-cloud-hook Running /usr/share/openqrm/plugins/kvm/bin/openqrm-kvm create -n blaze1 -m 00:6E:FF:60:86:FF -r 512 -c 1 -s 1024 -m2 00:36:67:9D:6D:33
    86 2012/02/15 14:40:56 kvm-cloud-hook Creating KVM VM blaze1 on Host resource 0
    85            2012/02/15 14:40:56 openqrm-tftpd-resource-hook.php Handling add event 1/0.0.0.0/00:6E:FF:60:86:FF
    84 2012/02/15 14:40:56 openqrm-dhcpd-resource-hook.php Handling add event 1/0.0.0.0/00:6E:FF:60:86:FF
    83 2012/02/15 14:40:56 cloudvm.class.php Trying to create new vm type 3 (kvm) 00:6E:FF:60:86:FF/1/512/2000
    82 2012/02/15 14:40:56 openqrm-kvm-appliance-hook.php 2 is not from type kvm-vm, skipping .. blaze1/
    81 2012/02/15 14:40:56 openqrm-kvm-appliance-hook.php Handling add event 2/blaze1/
    80 2012/02/15 14:40:56 openqrm-dhcpd-appliance-hook.php Handling add event 2/blaze1//

    Any ideas? when I go to the console it says no bootable device, but it does attempt to create the vm
    1 blaze1 1 512 MB 172.24.9.200
    (vnc:172.24.9.2:4) 00:6E:FF:60:86:FF
    Now the one thing I do see is under the config for that vm is there is no disk listed, don't know if this helps.

     
  • junix88
    junix88
    2012-02-15

    Hi,

    Is your setup only in a single machine? openqrm Server/KVM Host in ONE?

     
  • JonD9
    JonD9
    2012-02-15

    yes for now. 

     
  • junix88
    junix88
    2012-02-15

    In your Virtualization Products you did add already your KVM VM? and in your KVM plugin did you try to select your physical host then add the VM (at the upper right corner "VM" link to add) temporarily. after which just try if its work. In your Resource Pools under Configuration did your physical host set Assigned to Default? hope u did. Is your image being created and  your lv being populated already? 

    Hope it helps otherwise pls send me your screenshot from Appliance down to KVM plugin

     
  • JonD9
    JonD9
    2012-02-15

    2012-02-15 14:12:04 PST
    In your Virtualization Products you did add already your KVM VM? (Yes)and in your KVM plugin did you try to select your physical host (Yes)then add the VM (at the upper right corner "VM" link to add) temporarily. after which just try if its work. (It doesn't work, I get the same message about no bootable device) In your Resource Pools under Configuration did your physical host set Assigned to Default?(Yes assigned to default) hope u did. Is your image being created and your lv being populated already? I am not sure if the image is being created and I am not sure what you mean by lv?  I will update with screenshots here shortly

     
  • JonD9
    JonD9
    2012-02-15

    Here are my screenshots














     
  • junix88
    junix88
    2012-02-15

    Do try to enable / start  kvm-storage plugin and create  KVM LVM Storage for your KVM-Storage host. Try also to create then an Appliance from your openqrm server as KVM-Storage Host as Type.

    Hope it helps.

     
  • JonD9
    JonD9
    2012-02-16

    Hey Junix88,

    This is the vm I created with the cloud plugin, but I can't access it and it goes into error state.
    3 lopez1 00:00:8D:50:AB:E8 172.24.9.198 KVM-Storage VM on Res. 0 0/512 1 2 0.00

    ok I was able to create the vm but it is in an error state, and when I look into the kvm storage vm manager I see this
    3 lopez1 1 512 MB 172.24.9.198
    (vnc:172.24.9.2:50) 00:00:8D:50:AB:E8
    but it is off and I can start it but it then goes into an error state.

     
  • junix88
    junix88
    2012-02-16

    Hi,

    Just remove the VM on your KVM Storage (only the VM). Try create only the VM on KVM VM Manager. Please do check also your memory resources if you still have enough for your VM otherwise as I experience  I encountered error could not create a new resource.

    regards

     
  • JonD9
    JonD9
    2012-02-16

    ok sorry, yes I can boot to an iso with no issues.

     
  • JonD9
    JonD9
    2012-02-17

    Sorry my last post might be confusing, I can make a vm using the kvm lvm storage plugin with no issues.  If I use the cloud plugin for the same process I get no bootable device.

     
  • junix88
    junix88
    2012-02-17

    Please do kindly add

    KVM - Storage VM
    

    in your Virtualization Products first before your cloud request.

    Hope it helps.

    Regards,

    Junix

     
  • JonD9
    JonD9
    2012-02-17

    its there
    22 KVM-Storage VM 1 KVM Storage VM KVM Storage VM

     
  • junix88
    junix88
    2012-02-17

    Did you select your image and set the resource type to KVM Storage VM?

     
  • JonD9
    JonD9
    2012-02-17

    yes  I did

     
  • JonD9
    JonD9
    2012-02-17

    I did just notice under images here was this weird cloud image that I didn't create that was attaching itself to my requests so I removed it and just verifying that everything else is correct.

     
  • JonD9
    JonD9
    2012-02-17

    Here is the weird image that pops up when I create a cloud vm http://dl.dropbox.com/u/5260075/weirdimage.tiff does your qrm create that as well?

     
  • junix88
    junix88
    2012-02-17

    yes, its normal. every cloud request you've made its creates an image so with a corresponding LV in your vg. Try this in your term
    #lvs
    and it shows all you LVs

     
  • JonD9
    JonD9
    2012-02-17

    ahhh ok so then any ideas why my cloud plugin doesn't work?

     
  • junix88
    junix88
    2012-02-17

    I think only Matt could resolve on it. If ever I find solution just let you know.  By the way, did you install these packages? kvm and kvm-storage and did you also activate the kernel modules  via modprobe kvm_intel (if is it an intel processor).

    Do hope anybody here in the forum who already fixed same issues of yours have a kind heart to help you out.

    Regards,

    Junix

     
1 2 > >> (Page 1 of 2)