cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmad Emneina <Ahmad.Emne...@citrix.com>
Subject Re: MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy:
Date Fri, 07 Dec 2012 16:52:07 GMT
Use the DVD iso

http://centos.mirror.connexeon.net/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-DVD-1of2.iso

Ahmad

On Dec 7, 2012, at 1:58 AM, "Charles Moulliard" <ch007m@gmail.com<mailto:ch007m@gmail.com>>
wrote:

There are 8 iso files for centos 5 -->
http://centos.mirror.connexeon.net/5.8/isos/x86_64/

CentOS-5.8-x86_64-bin-1of8.iso
CentOS-5.8-x86_64-bin-2of8.iso
CentOS-5.8-x86_64-bin-3of8.iso
CentOS-5.8-x86_64-bin-4of8.iso
CentOS-5.8-x86_64-bin-5of8.iso
CentOS-5.8-x86_64-bin-6of8.iso
CentOS-5.8-x86_64-bin-7of8.iso
CentOS-5.8-x86_64-bin-8of8.iso

So I don't think that I can easily add a CentOS 5 in CloudStack


On Fri, Dec 7, 2012 at 10:04 AM, Edison Su <Edison.su@citrix.com<mailto:Edison.su@citrix.com>>
wrote:

Actually, any centos 5 iso should be ok. You can add a centos 5 iso into
cloudstack, then create a vm from it.

-----Original Message-----
From: Charles Moulliard [mailto:ch007m@gmail.com]
Sent: Friday, December 07, 2012 12:49 AM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: Re: MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy:

Does anybody has a link to download a Centos 5 qcow2 disk image file in
CloudStack ?


On Thu, Dec 6, 2012 at 7:10 PM, Anthony Xu <Xuefei.Xu@citrix.com<mailto:Xuefei.Xu@citrix.com>>
wrote:

Thanks for reminding me.

CS is talking to XAPI/XCP on ubuntu/debain, XCP doesn't support
install CentOS 6.3 into PV VM from ISO at this release.
You can upload CentOS 5.5 ISO to CS, and create a PV VM from this ISO
with "CentOS 5.5" guest OS Type.


-Anthony

-----Original Message-----
From: Charles Moulliard [mailto:ch007m@gmail.com]
Sent: Thursday, December 06, 2012 10:03 AM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: Re: MEMORY_CONSTRAINT_VIOLATIONMemory limits must
satisfy:

remark - With DevCloud2, we don't use anymore ubuntu but Debian
Wheezy
+
xen.


On Thu, Dec 6, 2012 at 6:23 PM, Anthony Xu <Xuefei.Xu@citrix.com<mailto:Xuefei.Xu@citrix.com>>
wrote:

Charles,

Ubuntu xen cannot install CentOS 6.3 into PV VM from ISO.
I suggest you upload CentOS 5.5 ISO to CS, and create a VM from
this
ISO
with "CentOS 5.5" guest OS Type.

Anthony

-----Original Message-----
From: Charles Moulliard [mailto:ch007m@gmail.com]
Sent: Wednesday, December 05, 2012 11:53 PM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: Re: MEMORY_CONSTRAINT_VIOLATIONMemory limits must
satisfy:

Edison,

I have added not a new template in management server through the
web ui
but
an iso file containing CentOS. And this from this ISO file that
I
have
tried to create new instance. When adding CentOS 6.3 I have
selected
Other
Linux (64b). If I follow you correctly, do you suggest that I
create a
new
template for CentOS 5.5 and add the url to upload this version ?

Regards,

Charles


On Wed, Dec 5, 2012 at 8:56 PM, Edison Su <Edison.su@citrix.com<mailto:Edison.su@citrix.com>>
wrote:

The issue is about how to start a PV vm on Ubuntu xen inside
devcloud.
By
default, if the template os type is "centos 6" and beyond,
cloudstack
will
start the vm as HVM VM. If template os type is "centos 5.5",
it
will
start
a PV vm, and the default centos 6 ISO support PV, so I think
you
can
change
your centos template's os type to "centos 5.5", then have a
try.

-----Original Message-----
From: Charles Moulliard [mailto:ch007m@gmail.com]
Sent: Wednesday, December 05, 2012 3:03 AM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: Re: MEMORY_CONSTRAINT_VIOLATIONMemory limits
must
satisfy:

Hmmm. That means that we have to recreate a new image for
VirtualBox like
Rohit did for Debian Wheezy to start now DevCloud using
CentOS.
That
could
be interesting if a CloudStack user could share such a image
to
avoid
that we
spend so many times when we simply would like for testing
purposes
to use
a Linux OS running qemu or KVM + nfs + config required to
communicate
with CloudStack management server.

Is there a CloudStack provider that we could use like Amazon
or
RackSpace to
make tests ?


On Wed, Dec 5, 2012 at 10:48 AM, Kirk Kosinski
<kirkkosinski@gmail.com<mailto:kirkkosinski@gmail.com>>wrote:

Hi, Charles.  That script only allows adding a non-HVM
XenServer/XCP
host (it disables the HVM check performed by CloudStack).
It
won't
let you boot HVM mode VMs since XenServer/XCP require
AMD-V /
VT-
x
to do so.
Try running a supported Linux OS in a PV mode VM as
Anthony
recommended.

Best regards,
Kirk

On 12/05/2012 01:27 AM, Charles Moulliard wrote:
So I should create a new host using web ui. Will try to
make a
test
tomorrow.


On Wed, Dec 5, 2012 at 10:02 AM, Marc Cirauqui
<mcirauqui@gmail.com<mailto:mcirauqui@gmail.com>>
wrote:

Hi,

Now when adding a host it does not check for hvm and
you
should be
able
to
boot VMs... Never tried though...


On Wed, Dec 5, 2012 at 9:53 AM, Charles Moulliard
<ch007m@gmail.com<mailto:ch007m@gmail.com>>
wrote:

Hi Marc,

I have run the MySQL script. So what should be the
next
step
now ?

Regards,

Charles




On Wed, Dec 5, 2012 at 8:50 AM, Marc Cirauqui
<mcirauqui@gmail.com<mailto:mcirauqui@gmail.com>>
wrote:

Check this out...









http://docs.cloudstack.org/Knowledge_Base/How_to_use_CloudStack_with
ou
t_Hardware_Virtualization

thx


On Tue, Dec 4, 2012 at 11:23 PM, Anthony Xu
<Xuefei.Xu@citrix.com<mailto:Xuefei.Xu@citrix.com>>
wrote:

I don't think you can run HVM on devCloud.
Since XCP&ubuntu is running on virtual box, the VCPU
ubuntu
is
running
doesn't support VTX( hardware virtualization
acceleration).
Or nested VTX is not supported.


What's guest OS you are running?
Try to run CentOS 5.6, it should work.


Anthony






-----Original Message-----
From: Charles Moulliard [mailto:ch007m@gmail.com]
Sent: Tuesday, December 04, 2012 12:45 PM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: Re:
MEMORY_CONSTRAINT_VIOLATIONMemory
limits
must satisfy:

BTW if I define different a compute offering with
the
following
config,
I
get the following error message. Is it also related
to
the
same
problem ?

--> Offering : 200MB, 200 Hz, Local Storage to
--> create
an
--> instance
of
CentOS
6.3

WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-
80:)
Unable to start i-2-13-VM due to
com.cloud.utils.exception.CloudRuntimeException:
Unable to
start
VM(i-2-13-VM) on host(9d4c9db8-32f7-25c3-0435-
eab4bf3adcea)
due
to
Task
failed! Task record:                 uuid:
56466789-c4bd-d26d-5bee-47b240316b4f
          nameLabel: Async.VM.start_on
    nameDescription:
  allowedOperations: []
  currentOperations: {}
            created: Tue Dec 04 18:52:11 CET 2012
           finished: Tue Dec 04 18:52:11 CET 2012
             status: FAILURE
         residentOn:
com.xensource.xenapi.Host@3ba61fa8
           progress: 1.0
               type: <none/>
             result:
          errorInfo: [VM_HVM_REQUIRED,
OpaqueRef:6ae4a574-e4af-7cb8-a7d7-fd30de95cc0c]
        otherConfig: {}
          subtaskOf:
com.xensource.xenapi.Task@aaf13f6f
           subtasks: []

at


com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(Cit
ri
xReso
urceBase.java:3269) at


com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Cit
ri
xReso
urceBase.java:1292) at



com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssRes
ource
.java:142)
at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReques
t(Cit
rixResourceBase.java:497) at



com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(Xc
pOssR
esource.java:136)
at





com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.
java:191)
at


java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
va
:439)
at

java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
3)
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ac
cess$301(ScheduledThreadPoolExecutor.java:98)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ru<http://sk.ru>
n(ScheduledThreadPoolExecutor.java:206)
at



java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolE
xecut
or.java:886)
at



java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
tor.j
ava:908)
at java.lang.Thread.run(Thread.java:680)
WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-
80:)
Unable to clean up VBD due to You gave an invalid
object
reference.  The object may have recently been
deleted.
The
class parameter gives the type of reference given,
and
the
handle parameter echoes the bad value given.
at
com.xensource.xenapi.Types.checkResponse(Types.java:207)
at

com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at



com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServe
rConn
ection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStart
Failu
re(CitrixResourceBase.java:1092) at


com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Cit
ri
xReso
urceBase.java:1353) at



com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssRes
ource
.java:142)
at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReques
t(Cit
rixResourceBase.java:497) at



com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(Xc
pOssR
esource.java:136)
at





com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.
java:191)
at


java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
va
:439)
at

java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
3)
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ac
cess$301(ScheduledThreadPoolExecutor.java:98)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ru<http://sk.ru>
n(ScheduledThreadPoolExecutor.java:206)
at



java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolE
xecut
or.java:886)
at



java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
tor.j
ava:908)
at java.lang.Thread.run(Thread.java:680)
WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-
80:)
Unable to clean up VBD due to You gave an invalid
object
reference.  The object may have recently been
deleted.
The
class parameter gives the type of reference given,
and
the
handle parameter echoes the bad value given.
at
com.xensource.xenapi.Types.checkResponse(Types.java:207)
at

com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at



com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServe
rConn
ection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStart
Failu
re(CitrixResourceBase.java:1092) at


com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Cit
ri
xReso
urceBase.java:1353) at



com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssRes
ource
.java:142)
at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReques
t(Cit
rixResourceBase.java:497) at



com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(Xc
pOssR
esource.java:136)
at





com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.
java:191)
at


java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
va
:439)
at

java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
3)
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ac
cess$301(ScheduledThreadPoolExecutor.java:98)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ru<http://sk.ru>
n(ScheduledThreadPoolExecutor.java:206)
at



java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolE
xecut
or.java:886)
at



java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
tor.j
ava:908)
at java.lang.Thread.run(Thread.java:680)
WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-
80:)
Unable to cleanup VIF You gave an invalid object
reference.
The object may have recently been deleted.  The
class
parameter
gives the type of reference given,
and
the
handle parameter echoes the bad value given.
at
com.xensource.xenapi.Types.checkResponse(Types.java:207)
at

com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at



com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServe
rConn
ection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VIF.unplug(VIF.java:804)
at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStart
Failu
re(CitrixResourceBase.java:1100) at


com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Cit
ri
xReso
urceBase.java:1353) at



com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssRes
ource
.java:142)
at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReques
t(Cit
rixResourceBase.java:497) at



com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(Xc
pOssR
esource.java:136)
at





com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.
java:191)
at


java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
va
:439)
at

java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30
3)
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ac
cess$301(ScheduledThreadPoolExecutor.java:98)
at



java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ru<http://sk.ru>
n(ScheduledThreadPoolExecutor.java:206)
at



java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolE
xecut
or.java:886)
at



java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
tor.j
ava:908)
at java.lang.Thread.run(Thread.java:680)
INFO  [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-7:job-19) Unable to start VM on
Host[-1-
Routing]
due to Unable to start i-2-13-VM
due
to
INFO  [xen.resource.CitrixResourceBase]
(DirectAgent-
92:)
VM
does
not
exist
on XenServer9d4c9db8-32f7-25c3-0435-eab4bf3adcea
INFO  [api.commands.DeployVMCmd]
(Job-Executor-7:job-
19)

com.cloud.exception.InsufficientServerCapacityException:
Unable
to create a deployment for
VM[User|6d31c26c-c559-4393-
b772-
d557c3143381]Scope=interface
com.cloud.dc.DataCenter;
id=1

Regards,

Charles



On Tue, Dec 4, 2012 at 9:38 PM, Charles Moulliard <
ch007m@gmail.com<mailto:ch007m@gmail.com>>
wrote:

I'm using last code build (4.1.0-SNAPSHOT) from
Git
repo
to
run
local
management server and devcloud2 (VB). What should
I
do on
DevCloud2
to
upgrade xapi ?




On Tue, Dec 4, 2012 at 6:10 PM, Anthony Xu
<Xuefei.Xu@citrix.com<mailto:Xuefei.Xu@citrix.com>

wrote:

What's Cloudstack version you are using?
Looks like your are using a very old version.
This
issue is
fixed
in new
version.

setMemoryStaticMin API is not used in new version.


Please upgrade to a newer version.


Anthony



-----Original Message-----
From: Charles Moulliard
[mailto:ch007m@gmail.com]
Sent: Tuesday, December 04, 2012 4:56 AM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject:
MEMORY_CONSTRAINT_VIOLATIONMemory
limits
must
satisfy:

Hi,

How can I figure out this exception when I try
to
create a
new
instance
using by example Centos 6.3 ISO (compute
offering = 500MHertz,
500MB,
local
storage) ?

WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-
36:)
Catch
Exception:
class
com.xensource.xenapi.Types$XenAPIException
due to
MEMORY_CONSTRAINT_VIOLATIONMemory limits
must
satisfy:
static_min
?
dynamic_min ? dynamic_max ? static_max
MEMORY_CONSTRAINT_VIOLATIONMemory limits
must
satisfy:
static_min
?
dynamic_min ? dynamic_max ? static_max at

com.xensource.xenapi.Types.checkResponse(Types.java:1732)
at

com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at




com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServe
rConn
ection.dispatch(XenServerConnectionPool.java:909
)
at
com.xensource.xenapi.VM.setMemoryStaticMin(VM.java:3450)
at




com.cloud.hypervisor.xen.resource.CitrixResourceBase.setMemory(Cit
rixRe
sourceBase.java:3116) at




com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromT
empla
te(CitrixResourceBase.java:985) at



com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Cit
ri
xReso
urceBase.java:1278) at




com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssRes
ource
.java:142)
at




com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeReques
t(Cit
rixResourceBase.java:497) at




com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(Xc
pOssR
esource.java:136) at






com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.
java:191)
at



java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja
va
:439)
at

java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:3
03)
at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
at




java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ac
cess$301(ScheduledThreadPoolExecutor.java:98)
at




java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTa
sk.ru<http://sk.ru>
n(ScheduledThreadPoolExecutor.java:206)
at




java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolE
xecut
or.java:886)
at




java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
tor.j
ava:908)
at java.lang.Thread.run(Thread.java:680)

Regards,

--
Charles Moulliard Apache Committer / Sr.
Enterprise Architect (RedHat)
Twitter
: @cmoulliard | Blog :
http://cmoulliard.blogspot.com




--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect
(RedHat)
Twitter :
@cmoulliard | Blog :
http://cmoulliard.blogspot.com





--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect
(RedHat)
Twitter :
@cmoulliard | Blog : http://cmoulliard.blogspot.com





--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter :
@cmoulliard | Blog : http://cmoulliard.blogspot.com









--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat) Twitter
:
@cmoulliard |
Blog : http://cmoulliard.blogspot.com




--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat) Twitter :
@cmoulliard | Blog : http://cmoulliard.blogspot.com




--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat) Twitter :
@cmoulliard | Blog : http://cmoulliard.blogspot.com




--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat) Twitter :
@cmoulliard |
Blog : http://cmoulliard.blogspot.com




--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message