[one-users] created vm in failed state (help)

Carlos Martín Sánchez cmartin at opennebula.org
Mon Jun 24 06:30:11 PDT 2013


Hi,

Usually that error message appears if you changed the default oned port in
oned.conf. If this is the case, you need to update in also in sched.conf
Also make sure that the http_proxy environment variable is not set when you
start opennebula

Regards


--
Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Mon, Jun 24, 2013 at 3:06 PM, Mario Sickert <sickma at gmx.net> wrote:

>  Hey,
>
> 'mm_sched' is running.
>
> 'sched.log'
>
> Mon Jun 24 08:18:10 2013 [SCHED][I]: Init Scheduler Log system
> Mon Jun 24 08:18:10 2013 [SCHED][I]: Starting Scheduler Daemon
> ----------------------------------------
>      Scheduler Configuration File
> ----------------------------------------
> DEFAULT_SCHED=POLICY=1
> HYPERVISOR_MEM=0.1
> LIVE_RESCHEDS=0
> LOG=DEBUG_LEVEL=3,SYSTEM=file
> MAX_DISPATCH=30
> MAX_HOST=1
> MAX_VM=5000
> ONED_PORT=2633
> SCHED_INTERVAL=30
> ----------------------------------------
> Mon Jun 24 08:18:10 2013 [SCHED][I]: Starting scheduler loop...
> Mon Jun 24 08:18:10 2013 [SCHED][I]: Scheduler loop started.
> Mon Jun 24 08:18:39 2013 [VM][E]: Exception raised: Unable to transport
> XML to server and get XML response back.  HTTP response code is 403, not 200
> Mon Jun 24 08:18:39 2013 [POOL][E]: Could not retrieve pool info from ONE
> Mon Jun 24 08:18:39 2013 [VM][E]: Exception raised: Unable to transport
> XML to server and get XML response back.  HTTP response code is 403, not 200
> Mon Jun 24 08:18:39 2013 [POOL][E]: Could not retrieve pool info from ONE
>
> Looks like a problem...
>
> Regards,
> Mario
>
> Am 24.06.2013 14:46, schrieb Carlos Martín Sánchez:
>
> Hi,
>
>  Is the scheduler running properly? Look for the 'mm_sched' process, and
> check if it is trying to dispatch your VMs in /var/log/one/sched.log
>
>  Regards
>
>  --
> Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin,
> 24-26 September, 2013
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula>
>
>
> On Mon, Jun 24, 2013 at 11:54 AM, Mario Sickert <sickma at gmx.net> wrote:
>
>>  Hey,
>> thx for fast reply,
>>
>> onehost list
>>   ID     NAME            CLUSTER     RVM      ALLOCATED_CPU
>> ALLOCATED_MEM    STAT
>>    0     srv0050         -                   0              0 / 1600
>> (0%)            0K / 35.3G (0%)         on
>>    1     srv0051         -                   0              0 / 1600
>> (0%)            0K / 64.9G (0%)         on
>>
>> There are actually no error messages from VM.
>> VM.log is empty because of pending.
>>
>> i'm using 'ssh' drivers for TM_MAD.
>>
>> Regards,
>> M.
>>
>> Am 24.06.2013 11:28, schrieb Carlos Martín Sánchez:
>>
>> Hi,
>>
>>  On Mon, Jun 24, 2013 at 9:52 AM, Mario Sickert <sickma at gmx.net> wrote:
>>
>>>  hey,
>>>
>>> resources on hosts are fine. VM still in pending status.
>>>
>>
>>  Could you please paste the output of 'onehost list' ?
>>
>>
>>>  It seems to be still the problem for system to copy images to hosts.
>>>
>>
>>  Where do you get this error message? Are not all the VMs in pending
>> state?
>>
>>
>>>  Am i forced to create a cluster or is it enough to use my both physical
>>> hosts separatly without any clustering?
>>>
>>
>>  Clusters are completely optional, you don't need to create any.
>>
>>
>>>  Do i have to mount any directory on hosts or frontend manually even
>>> when i do not use any clusters?
>>>
>>
>>  If you use the 'shared' TM_MAD driver, then yes, the datastore
>> directories must be shared between your frontend and hosts, and mounted in
>> the same path.
>> If you prefer to copy the files via scp, use the 'ssh' drivers instead.
>>
>>  Regards
>>
>>   --
>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin,
>> 24-26 September, 2013
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - The Open-source Solution for Data Center Virtualization
>> www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org
>>  | @OpenNebula <http://twitter.com/opennebula>
>>
>>
>>
>>> Regards,
>>> M.
>>>
>>>    Hi,
>>>
>>>
>>> On Mon, Jun 17, 2013 at 9:19 AM, Mario Sickert <sickma at gmx.net> <sickma at gmx.net> wrote:
>>>
>>>
>>>   hello,
>>>
>>> i changed the datastore template of [system (ID0)] [TM_MAD] from "shared" to "ssh".
>>> No improvements. VM after creating falling in pending mode.
>>>
>>> If the VMs stay in pending you may have run out of resources in your
>>>
>>>  hosts.
>>>
>>>
>>>  onedatastore list looks like this:
>>>
>>> ID/NAME/CLUSTER/IMAGE/TYPE/DS/TM
>>> 0/system/-/0/sys/-/ssh
>>> 1/default/-/2/img/fs/shared
>>> 2/files/-/0/fil/fs/ssh
>>>
>>> I changed [default] to "ssh" too. but no improvements. So i changed back too "shared".
>>>
>>> What do you mean by no improvements? Do you have any error messages?
>>>
>>>  What about DS on ID0? its blank.
>>>
>>> The system datastore cannot be used to register new images, that's why it
>>>
>>>  doesn't have a DS_MAD.
>>>
>>>
>>>  Do i have to configure something else on hosts?
>>>
>>>
>>>
>>>  Well, if you changed the driver back to 'shared', you need to configure the
>>> shared storage (NFS  or similar).
>>>
>>> Regards
>>>
>>>
>>> --
>>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> <http://opennebulaconf.com/> in Berlin, 24-26
>>> September, 2013
>>> --
>>> Carlos Mart?n, MSc
>>> Project Engineer
>>> OpenNebula - The Open-source Solution for Data Center Virtualizationwww.OpenNebula.org <http://www.opennebula.org/> <http://www.opennebula.org/> | cmartin at opennebula.org |
>>> @OpenNebula <http://twitter.com/opennebula> <http://twitter.com/opennebula> <cmartin at opennebula.org> <cmartin at opennebula.org>
>>>
>>>   Greetings, M.
>>>
>>> ------------------------------
>>>
>>> Message: 6
>>> Date: Mon, 10 Jun 2013 19:13:00 +0200
>>> From: Carlos Mart?n S?nchez <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org>
>>>
>>>
>>>
>>>
>>> To: Mario Sickert <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net>
>>> Cc: users <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org>
>>>
>>>
>>> Subject: Re: [one-users] created vm in failed state (help)
>>> Message-ID:
>>> 	<CAEPYvFLd=Uagicd1ocKznOZsLeXT113=wU+7JfSH5HfiSMateA at mail.gmail.com> <CAEPYvFLd=Uagicd1ocKznOZsLeXT113=wU+7JfSH5HfiSMateA at mail.gmail.com> <CAEPYvFLd=Uagicd1ocKznOZsLeXT113=wU+7JfSH5HfiSMateA at mail.gmail.com> <CAEPYvFLd=Uagicd1ocKznOZsLeXT113=wU+7JfSH5HfiSMateA at mail.gmail.com>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>> Hi,
>>>
>>> If you do a onedatastore list/show, you'll see that your datastores use the
>>> shared tm driver. This driver requires the datastore paths to be shared,
>>> via nfs or other means. If you want to use the 'ssh' transfer drivers
>>> instead, do a onedatastore update and change the template.
>>>
>>> Regards
>>>
>>> --
>>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> in Berlin, 24-26
>>> September, 2013
>>> --
>>> Carlos Mart?n, MSc
>>> Project Engineer
>>> OpenNebula - The Open-source Solution for Data Center Virtualizationwww.OpenNebula.org | cmartin at opennebula.org |
>>> @OpenNebula<http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula><cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Jun 10, 2013 at 12:04 PM, Mario Sickert <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net>
>>>  wrote:
>>>
>>>
>>>   Hi again,
>>>
>>> datastore paths are correct. Oneadmin has all nessesary rights on hosts.
>>> I fund out that there is a problem with the [cp] command like to see in
>>> logs. i tried to copy the images by my own. It dos'nt work with [cp], but
>>> it works with [scp] ... spooky...
>>> Any ideas to fix this?
>>>
>>> Thx, M.
>>>
>>> Date: Mon, 3 Jun 2013 18:17:01 +0200
>>> From: Carlos Mart?n S?nchez <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org>
>>> To: Mario Sickert <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net>
>>> Cc: users <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org> <users at lists.opennebula.org>
>>> Subject: Re: [one-users] created vm in failed state (help)
>>> Message-ID:
>>> 	<CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com> <CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com> <CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com> <CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com> <CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com> <CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com> <CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com> <CAEPYvFLdxcpppy5GPPi4mDogn8D8vJcDqJgEZWV=XyWkcwBq7w at mail.gmail.com>
>>> Content-Type: text/plain; charset="windows-1252"
>>>
>>> Hi,
>>>
>>> It may be a problem with your shared storage. Please check that the
>>> datastore paths are correctly exported to the hosts, and that oneadmin has
>>>
>>>
>>> rights to use them.
>>>
>>> Cheers
>>>
>>> --
>>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> <http://opennebulaconf.com> in Berlin, 24-26
>>> September, 2013
>>> --
>>> Carlos Mart?n, MSc
>>> Project Engineer
>>> OpenNebula - The Open-source Solution for Data Center Virtualizationwww.OpenNebula.org | cmartin at opennebula.org |
>>> @OpenNebula<http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula> <http://twitter.com/opennebula><cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org> <cmartin at opennebula.org>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Jun 3, 2013 at 2:51 PM, Mario Sickert <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net> <sickma at gmx.net>
>>>  wrote:
>>>
>>>
>>>  Hey geeks,
>>>
>>> i dit an Update to 4.0.1 on Ubuntu 12.10
>>> All fine with doing it.
>>> My two host are added well. Image download over Sunstone works really
>>> great. Network and template creation going well.
>>>
>>> But when i create vm on host1 or host2 it still ends in failed status.
>>> http-proxy is off.
>>> ssh-auth works fine in both direction.
>>>
>>> vm.log:
>>>
>>> Mon Jun 3 14:07:30 2013 [DiM][I]: New VM state is ACTIVE.
>>> Mon Jun 3 14:07:30 2013 [LCM][I]: New VM state is PROLOG.
>>> Mon Jun 3 14:07:31 2013 [TM][I]: Command execution fail:
>>> ***/var/lib/one/remotes/tm/*****shared/clone frontend:***/var/lib/one/*****
>>> datastores/1/**421ee77be4d73a27f761c1646bc76c**af srv0050:/var/lib/one//**datastores/0/8/disk.0
>>> 8 1
>>> Mon Jun 3 14:07:31 2013 [TM][I]: clone: Cloning /var/lib/one/datastores/1/
>>> **421ee77be4d73a27f761c1646bc76c**af in srv0050:/var/lib/one//**
>>> datastores/0/8/disk.0
>>> Mon Jun 3 14:07:31 2013 [TM][E]: clone: Command "cd
>>> /var/lib/one/datastores/0/8; cp -r /var/lib/one/datastores/1/**
>>> 421ee77be4d73a27f761c1646bc76c**af /var/lib/one/datastores/0/8/**disk.0"
>>> failed: cp: der Aufruf von stat f?r ?/var/lib/one/datastores/1/**
>>> 421ee77be4d73a27f761c1646bc76c**af? ist nicht m?glich: Datei oder
>>> Verzeichnis nicht gefunden
>>> Mon Jun 3 14:07:31 2013 [TM][E]: Error copying frontend:***/var/lib/one/*****
>>> datastores/1/**421ee77be4d73a27f761c1646bc76c**af to
>>> srv0050:/var/lib/one//**datastores/0/8/disk.0
>>> Mon Jun 3 14:07:31 2013 [TM][I]: ExitCode: 1
>>> Mon Jun 3 14:07:31 2013 [TM][E]: Error executing image transfer script:
>>> Error copying frontend:***/var/lib/one/*****datastores/1/**
>>> 421ee77be4d73a27f761c1646bc76c**af to srv0050:/var/lib/one//**
>>> datastores/0/8/disk.0
>>> Mon Jun 3 14:07:31 2013 [DiM][I]: New VM state is FAILED
>>>
>>> thanks for help,
>>> Mario
>>> ______________________________
>>> **_________________
>>> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org&
>>> amp;
>>> gt; <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>>
>>>
>>>
>>>  -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130610/c54dc313/attachment.htm> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130610/c54dc313/attachment.htm> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130610/c54dc313/attachment.htm> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130610/c54dc313/attachment.htm>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> End of Users Digest, Vol 64, Issue 41
>>> *************************************
>>>
>>>
>>>
>>>  -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130617/7f82d311/attachment.htm> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130617/7f82d311/attachment.htm>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>>
>>   E-Mail ist virenfrei.
>> Von AVG überprüft - www.avg.de
>> Version: 2013.0.3345 / Virendatenbank: 3199/6435 - Ausgabedatum:
>> 23.06.2013
>>
>>
>>
>  E-Mail ist virenfrei.
> Von AVG überprüft - www.avg.de
> Version: 2013.0.3345 / Virendatenbank: 3199/6435 - Ausgabedatum:
> 23.06.2013
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130624/a1b1d472/attachment-0002.htm>


More information about the Users mailing list