Re: Cores from Multiple Physical Hosts in VM

2013-11-16 Thread Rafael Weingartner
It is a hypervisor restriction not CS.

I can wonder some work around like using a distributed shared memory system
and on top of it installing a hypervisor like Xen and XCP. Then, it would
work since the DSM would simulate a single machine with the resource of all
machines on the cluster.

Of course, there is a trade of, DSM generates a pretty good overhead, but it
is interesting to try it out and check the performance.


2013/11/16 Robert Gabriel 

> On 15 November 2013 15:47, m...@kelceydamage.com 
> wrote:
>
> > The only people I have seen that have macro VMs working was some company
> > out of Boston making virtual router/networking services with special
> > interconnects that allowed process/thread striping over multiple
> > hosts/sockets.
> >
> > Sent from my HTC
> >
> > - Reply message -
> > From: "Sebastien Goasguen" 
> > To: 
> > Subject: Cores from Multiple Physical Hosts in VM
> > Date: Fri, Nov 15, 2013 2:08 AM
> >
> > On Nov 13, 2013, at 7:03 AM, Robert Gabriel  wrote:
> >
> > > Hi,
> > >
> > > Is it possible to do the below?
> > >
> > > Thank you.
> > >
> > >
> > > Answered by sgordon:
> > >
> > > It is my understanding that this is not currently possible, there was
> > some
> > > discussion at the design summit (I think in the Libvirt driver roadmap
> > > session) about making the scheduler NUMA aware which would allow such
> > > configurations on hardware that supports NUMA but this is currently
> > > unimplemented.
> > >
> > > In reply to ephemeric's question: Cores from Multiple Physical Hosts in
> > VM
> > >
> > > Tags: vcpus, aggregates, hosts, multiple, physical.
> > >
> > > Hi,
> > >
> > > Pardon my ignorance as I have never looked at cloud computing.
> > >
> > > Is it possible to create a VM and assign to it cores from multiple
> > physical
> > > hosts for high vcpu numbers?
> > >
> > > We have the following problem: Splunk running 38 concurrent searches
> on a
> > > blade that only has 16 cores.
> > >
> > > By creating a VM and combining the cores from two blades, hence 32
> vcpus
> > in
> > > total somehow?
> >
> > As far as I know this is not possible.
> >
> > That said I would be very surprise if Splunk could not use multiple
> > machines. So just run multiple instances (separate VMs) that point to the
> > same data store.
> >
> > >
> > > I'm not sure if this is possible.
> > >
> > > Thank you.
> > >
> > > To change frequency, language and content of these alerts, please visit
> > your
> > > user profile<
> > https://ask.openstack.org/en/users/2044/ephemeric/subscriptions/>.
> > >
> > >
> > > If you believe that this message was sent in an error, please email
> about
> > > it the forum administrator at communitym...@openstack.org.
> >
>
> Thank you, at least gives me a direction.
>



-- 
Rafael Weingärtner


Unable to start VM

2013-11-16 Thread m2m isb
Hello All



We have a problem about Starting VMs.

We have a ClousdStack 4.1.1 running with KVM,
 Unable to start VMs with Following error.


CloudStack management Server Log.

/var/log/cloudstack/management/management-server.log



2013-11-16 14:30:56,859 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-14:job-926) DataCenter id = '2' provided is in avoid set,
DeploymentPlanner cannot allocate the VM, returning.

2013-11-16 14:30:56,874 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-14:job-926) VM state transitted from :Starting to Stopped
with event: OperationFailedvm's original host id: null new host id: null
host id before state transition: 28

2013-11-16 14:30:56,879 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-14:job-926) Hosts's actual total CPU: 59832 and CPU after
applying overprovisioning: 119664

2013-11-16 14:30:56,879 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-14:job-926) release cpu from host: 28, old used:
21480,reserved: 4096, actual total: 59832, total with overprovisioning:
119664; new used: 17384,reserved:4096; movedfromreserved:
false,moveToReserveredfalse

2013-11-16 14:30:56,879 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-14:job-926) release mem from host: 28, old used:
22682796032,reserved: 4294967296, total: 67519684608; new used:
18387828736,reserved:4294967296; movedfromreserved:
false,moveToReserveredfalse

2013-11-16 14:30:56,895 ERROR [cloud.async.AsyncJobManagerImpl]
(Job-Executor-14:job-926) Unexpected exception while executing
org.apache.cloudstack.api.command.user.vm.StartVMCmd

com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|m2m-vdgw02]Scope=interface com.cloud.dc.DataCenter;
id=2

at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)

at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)

at
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212)

at
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)

at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3871)

at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2579)

at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)

at
org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:120)

at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)

at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:679)

2013-11-16 14:30:56,895 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-14:job-926) Complete async job-926, jobStatus: 2, resultCode:
530, result: Error Code: 530 Error text: Unable to create a deployment for
VM[User|m2m-vdgw02]





CloudStack Computing Node



013-11-16 15:36:57,148 DEBUG [kvm.resource.LibvirtComputingResource]
(agentRequest-Handler-4:null) Execution is successful.

2013-11-16 15:36:57,149 DEBUG [kvm.resource.LibvirtComputingResource]
(agentRequest-Handler-4:null) Try to stop the vm at first

2013-11-16 15:36:57,152 DEBUG [kvm.resource.LibvirtComputingResource]
(agentRequest-Handler-4:null) Failed to stop VM :i-3-110-VM :

org.libvirt.LibvirtException: ドメインは見つかりませんでした: UUID
'40a685f6-405a-3fef-8591-b73f00a4cdd3' に一致するドメインがありません

at org.libvirt.ErrorHandler.processError(Unknown Source)

at org.libvirt.Connect.processError(Unknown Source)

at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source)

at org.libvirt.Connect.domainLookupByUUID(Unknown Source)

at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.stopVM(LibvirtComputingResource.java:4021)

at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.stopVM(LibvirtComputingResource.java:3970)

at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2894)

at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1032)

at com.cloud.agent.Agent.processRequest(Agent.java:525)

at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)

at com.cloud.utils.nio.Task.run(Task.java:83)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:679)

2013-11-16 15:36:57,158 DEBUG [kvm.resource.LibvirtComputingResour

Re: Anyone have a copy of the sample SRX config...

2013-11-16 Thread Daan Hoogland
Have you found it, Eric?
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Juniper+SRX+config+information
seems to work (now)


?????? Starting Cloudstack-specific Tomcat engine cloudstack-management [fail]

2013-11-16 Thread 5??????
thank you for your suggestion :D
I made CloudStack4.2.0 started successfully, by install a 64-bit Ubuntu server 
OS rather than the old 32-bit one.
Reboot can't solve the problem,i've tried many times,and i still don't know the 
reason,maybe just don't suppport 32-bit OS ?
best wishes for you,thank u!




--  --
??: "Du Jun"; 
: 2013??11??15??(??) 3:16
??: "users"; 
: Re: Starting Cloudstack-specific Tomcat engine cloudstack-management 
[fail]



It seems that Your resources provided for cloudstack-management server is
not enough.Remember,sometimes,reboot is the best practice for solving
Tomcat engine start fail.


2013/11/15 5?? <465296...@qq.com>

> hi!
> i got a new ubuntuserver 12.04 i386 to install Cloudstack-management
> version 4.2,i followed the guide on cloudstack.org step by step, but the
> tomcat just can't run.
> i checked the log in /var/log/cloudstack/management,there is only a
> setupManagement.log and seems nothing useful.then i went through the
> /var/log/syslog,found pages of error like "ubuntuServer1 jsvc.exec[3612]:
> Error occurred during initialization of VM#012Could not reserve enough
> space for object heap".what might be the problem?
> thank you!

Hey its working !

2013-11-16 Thread Vahric Muhtaryan
Hello All , 

Only take a one hour with checking what is it, what is behind
Router installed
Vm installed (centos minimal)
Egress rule configured
Dhcp is working
Dns is working
IP Acquired
Nat is working
Vlan automatic provisioned to network

And we are going to starbucks to drink some couple of coffee , i¹m not
expecting everything will work like this :D

Take a care all
Regards
Vahric and Mehmet





Guest VMs not able to acquire DHCP IP from Virtual Router unless Guest and VR are on the same KVM host

2013-11-16 Thread Adam
Hi All,

I have a new and very strange issue that for the life of me I cannot seem
to track down and fix.

I have CS 4.2 running on 5 hosts in a simple basic zone. All is working
fine, except that my Guest VMs cannot seem to get a DHCP lease from the
Virtual Router unless I migrate the Guest VM to the same physical KVM
Host running the VR. That would seem to indicate a firewall issue, but I've
tested by turning off both the firewalls (VR KVM Host iptables & Guest VM
KVM Host iptables). It didn't help. The only way to fix it is to migrate
the Guest VM to the same KVM Host that's running the Virtual Router.

NOTE: The Console Proxy has worked flawlessly this whole time.

So, if a Guest VM starts on a different physical KVM Host, it will not get
an internal IP of 169.254.x.x. All along the Console Proxy works fine. Then
if I migrate the Guest VM to the same KVM host that's running the VR, DHCP
automatically starts working and the Guest VM receives a proper IP address
of 10.97.38.x. Then I can migrate the Guest VM back to any other physical
KVM Host and believe it or not, it continues to work flawlessly, until I
either reboot the VM or restart the network services. Then it cannot see
the VR again and instead receives an internal IP of 169.254.x.x. If I set a
static IP address & DNS everything works fine, no matter where the Guest VM
is running.

Setting static IPs is not an option
Running all the Guest VMs on the same physical KVM host is not an option

I desperately need to track down the root cause of this issue so I can
release this cloud to my entire department by Monday morning. Someone
please help!

Best Regards,



Adam Scarcella


Distributed Intrusion Detection System in Cloud Computing

2013-11-16 Thread Robert Bruce
Hi, hope all of you will be fine and doing your best for the development of
open source community.

I want your suggestions and help regarding my project. I am going to start
my master's thesis in the domain of Cloud Computing
I want to develop a Signature Based Distributed Intrusion Detection System
(DIDS) to detect distributed intrusions in Cloud environment.
Yes, I intend to deploy it in CloudStack.

I want to modify the correlation module to enhance detection capability
already being provided by Snort.
Can you please help me in selection of a good technique to improve
correlation module?

Thanks and Regards,
Robert


Re: Distributed Intrusion Detection System in Cloud Computing

2013-11-16 Thread Sebastien Goasguen
Hi Robert,

This is probably I good start:
http://www.slideshare.net/mice_xia/integration-3rd-party-security-solution

I am copying Mice Xia who might be of help

-sebastien

On Nov 16, 2013, at 2:53 PM, Robert Bruce  wrote:

> Hi, hope all of you will be fine and doing your best for the development of
> open source community.
> 
> I want your suggestions and help regarding my project. I am going to start
> my master's thesis in the domain of Cloud Computing
> I want to develop a Signature Based Distributed Intrusion Detection System
> (DIDS) to detect distributed intrusions in Cloud environment.
> Yes, I intend to deploy it in CloudStack.
> 
> I want to modify the correlation module to enhance detection capability
> already being provided by Snort.
> Can you please help me in selection of a good technique to improve
> correlation module?
> 
> Thanks and Regards,
> Robert



Re: Distributed Intrusion Detection System in Cloud Computing

2013-11-16 Thread Robert Bruce
Hi Sebastien,

Nice share. Thanks

Hi Mice, Can you please tell me about some efficient approach/ algorithm to
improve the correlation module in Snort?

Best Regards,
Robert


On Sat, Nov 16, 2013 at 12:08 PM, Sebastien Goasguen wrote:

> Hi Robert,
>
> This is probably I good start:
> http://www.slideshare.net/mice_xia/integration-3rd-party-security-solution
>
> I am copying Mice Xia who might be of help
>
> -sebastien
>
> On Nov 16, 2013, at 2:53 PM, Robert Bruce 
> wrote:
>
> > Hi, hope all of you will be fine and doing your best for the development
> of
> > open source community.
> >
> > I want your suggestions and help regarding my project. I am going to
> start
> > my master's thesis in the domain of Cloud Computing
> > I want to develop a Signature Based Distributed Intrusion Detection
> System
> > (DIDS) to detect distributed intrusions in Cloud environment.
> > Yes, I intend to deploy it in CloudStack.
> >
> > I want to modify the correlation module to enhance detection capability
> > already being provided by Snort.
> > Can you please help me in selection of a good technique to improve
> > correlation module?
> >
> > Thanks and Regards,
> > Robert
>
>


Re: Guest VMs not able to acquire DHCP IP from Virtual Router unless Guest and VR are on the same KVM host

2013-11-16 Thread Andrei Mikhailovsky


Adam, it sounds like a networking issue, check that all hosts can talk to each 
other on the same vlan that is used for guest network. I had the same issue 
with advanced networking when my vlans were not properly setup on the switches. 

Andrei 

- Original Message -

From: "Adam"  
To: users@cloudstack.apache.org 
Sent: Saturday, 16 November, 2013 7:08:50 PM 
Subject: Guest VMs not able to acquire DHCP IP from Virtual Router unless Guest 
and VR are on the same KVM host 

Hi All, 

I have a new and very strange issue that for the life of me I cannot seem 
to track down and fix. 

I have CS 4.2 running on 5 hosts in a simple basic zone. All is working 
fine, except that my Guest VMs cannot seem to get a DHCP lease from the 
Virtual Router unless I migrate the Guest VM to the same physical KVM 
Host running the VR. That would seem to indicate a firewall issue, but I've 
tested by turning off both the firewalls (VR KVM Host iptables & Guest VM 
KVM Host iptables). It didn't help. The only way to fix it is to migrate 
the Guest VM to the same KVM Host that's running the Virtual Router. 

NOTE: The Console Proxy has worked flawlessly this whole time. 

So, if a Guest VM starts on a different physical KVM Host, it will not get 
an internal IP of 169.254.x.x. All along the Console Proxy works fine. Then 
if I migrate the Guest VM to the same KVM host that's running the VR, DHCP 
automatically starts working and the Guest VM receives a proper IP address 
of 10.97.38.x. Then I can migrate the Guest VM back to any other physical 
KVM Host and believe it or not, it continues to work flawlessly, until I 
either reboot the VM or restart the network services. Then it cannot see 
the VR again and instead receives an internal IP of 169.254.x.x. If I set a 
static IP address & DNS everything works fine, no matter where the Guest VM 
is running. 

Setting static IPs is not an option 
Running all the Guest VMs on the same physical KVM host is not an option 

I desperately need to track down the root cause of this issue so I can 
release this cloud to my entire department by Monday morning. Someone 
please help! 

Best Regards, 



Adam Scarcella 



Re: ACS 4.2 Error adding S3/Ceph secondary storage

2013-11-16 Thread Andrei Mikhailovsky


Graeme, 

when you add a new secondary storage CS automatically copies data from the 
existing secondary storage across to a new one. I assume that the same 
procedure will apply with nfs > S3 migration once ACS 4.2.1 is out. 

Guys, please correct me if I am wrong. 

Andrei 

- Original Message -

From: "Graeme Lambert"  
To: users@cloudstack.apache.org 
Sent: Friday, 15 November, 2013 9:44:51 AM 
Subject: Re: ACS 4.2 Error adding S3/Ceph secondary storage 

Hi Min, 

Thanks for that. 

If I remove the NFS storage I've got now and for some reason either 
can't get S3 to work or decide I want to put the old NFS storage back 
in, is that possible? How do I migrate what is in the secondary storage 
to S3? 

Best regards 

*Graeme Lambert* 


On 14/11/13 17:39, Min Chen wrote: 
> Migrating existing NFS to S3 will be supported in 4.2.1, see 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Migration+of+NFS+Sec 
> ondary+Storage+to+Object+Store for details. At this moment, you can only 
> add a region-wide S3 when there is no NFS secondary storage existing. When 
> you add S3 into system, system vm templates will be automatically uploaded 
> to S3. 
> 
> Thanks 
> -min 
> 
> On 11/14/13 9:05 AM, "Graeme Lambert"  wrote: 
> 
>> Hi, 
>> 
>> Did anyone have an update to this thread in October? I've got exactly 
>> the same issue as Andrei. 
>> 
>> Thanks 
>> 
>> Graeme 
>> Copied from: 
>> http://mail-archives.apache.org/mod_mbox/cloudstack-users/201310.mbox/%3C2 
>> 6396290.1815.1382555479284.JavaMail.andrei@finka%3E 
>> 
>> 
>> Thanks. I just don't know hot can I add it now. I've got the existing 
>> secondary storage over 
>> nfs and if i delete it, would I not loose the data? Most likely the data 
>> will not be removed 
> >from the storage server itself, but all references will be removed i 
>> suspect. So, what is 
>> the best way to proceed I wonder? 
>> 
>> Tha nks 
>> - Original Message - 
>> 
>> From: "Sebastien Goasguen"  
>> To: users@cloudstack.apache.org, "John Burwell" , 
>> "Wido den Hollander" 
>>  
>> Sent: Wednesday, 23 October, 2013 6:19:49 PM 
>> Subject: Re: ACS 4.2 Error adding S3/Ceph secondary storage 
>> 
>> Adding John and Wido to the thread, they should know 
>> 
>> On Oct 23, 2013, at 7:25 AM, Andrei Mikhailovsky  
>> wrote: 
>> 
>>> Sanjeev, 
>>> 
>>> Thanks for the information. Does anyone know of the best way to migrate 
>> >from nfs secondary 
>> storage to S3? At the moment, my NFS storage is used for storing 
>> templates, including system 
>> vm templates. Is it safe for me to remove it and create the new S3 
>> secondary storage? Would 
>> it copy systemvm templates onto a new storage automatically or do I have 
>> to manually do that? 
>> If so, how would I copy the systemvm template onto a non-NFS storage? 
>>> Many thanks 
>>> - Original Message - 
>>> 
>>> From: "Sanjeev Neelarapu"  
>>> To: users@cloudstack.apache.org 
>>> Sent: Wednesday, 23 October, 2013 6:35:38 AM 
>>> Subject: RE: ACS 4.2 Error adding S3/Ceph secondary storage 
>>> 
>>> That means one of the zones in your setup may be having NFS as the 
>>> secondary storage 
>> provider. Make sure that none of the zones use NFS for secondary storage 
>> if you want to use 
>> S3 . 
>>> -Original Message- 
>>> From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
>>> Sent: Tuesday, October 22, 2013 7:43 PM 
>>> To: users@cloudstack.apache.org 
>>> Subject: ACS 4.2 Error adding S3/Ceph secondary storage 
>>> 
>>> Hello guys, 
>>> 
>>> I am trying to add a new secondary storage provided by Ceph's S3 
>>> radosgw, which i've 
>> configured and tested. Right after adding it via the GUI I have the 
>> following message/error: 
>> 
>>> "You can only add new image stores from the same provider NFS already 
>>> added" 
>>> 
>>> Does anyone know what this message means? I am a bit confused here as I 
>>> am not adding 
>> the NFS secondary storage, but instead adding the S3 storage. 
>>> Cheers 
>>> 
>>> Andrei 
>>> 
>> 




Re: Guest VMs not able to acquire DHCP IP from Virtual Router unless Guest and VR are on the same KVM host

2013-11-16 Thread Adam
The hosts have static IPs (10.97.38.[10-14]) and can all see and talk to
each other via IP and hostname. I'm only using a basic zone so no VLAN
tagging or anything funky like that.

Best Regards,



Adam Scarcella


On Sat, Nov 16, 2013 at 4:17 PM, Andrei Mikhailovsky wrote:

>
>
> Adam, it sounds like a networking issue, check that all hosts can talk to
> each other on the same vlan that is used for guest network. I had the same
> issue with advanced networking when my vlans were not properly setup on the
> switches.
>
> Andrei
>
> - Original Message -
>
> From: "Adam" 
> To: users@cloudstack.apache.org
> Sent: Saturday, 16 November, 2013 7:08:50 PM
> Subject: Guest VMs not able to acquire DHCP IP from Virtual Router unless
> Guest and VR are on the same KVM host
>
> Hi All,
>
> I have a new and very strange issue that for the life of me I cannot seem
> to track down and fix.
>
> I have CS 4.2 running on 5 hosts in a simple basic zone. All is working
> fine, except that my Guest VMs cannot seem to get a DHCP lease from the
> Virtual Router unless I migrate the Guest VM to the same physical KVM
> Host running the VR. That would seem to indicate a firewall issue, but I've
> tested by turning off both the firewalls (VR KVM Host iptables & Guest VM
> KVM Host iptables). It didn't help. The only way to fix it is to migrate
> the Guest VM to the same KVM Host that's running the Virtual Router.
>
> NOTE: The Console Proxy has worked flawlessly this whole time.
>
> So, if a Guest VM starts on a different physical KVM Host, it will not get
> an internal IP of 169.254.x.x. All along the Console Proxy works fine. Then
> if I migrate the Guest VM to the same KVM host that's running the VR, DHCP
> automatically starts working and the Guest VM receives a proper IP address
> of 10.97.38.x. Then I can migrate the Guest VM back to any other physical
> KVM Host and believe it or not, it continues to work flawlessly, until I
> either reboot the VM or restart the network services. Then it cannot see
> the VR again and instead receives an internal IP of 169.254.x.x. If I set a
> static IP address & DNS everything works fine, no matter where the Guest VM
> is running.
>
> Setting static IPs is not an option
> Running all the Guest VMs on the same physical KVM host is not an option
>
> I desperately need to track down the root cause of this issue so I can
> release this cloud to my entire department by Monday morning. Someone
> please help!
>
> Best Regards,
>
>
>
> Adam Scarcella
>
>


Compute offerings and Templates

2013-11-16 Thread Steve Searles
I am looking for a little guidance in tying templates to compute offerings or 
filtering them in the instance deployment wizard. For example as we step 
through the wizard we can choose Zone -> Template -> Compute Offering, in our 
case it is possible to create an undeployable situation by choosing a compute 
offering where a host tag is defined but the template selected does not support 
the hypervisor in the host tag.

For example,  I have both xenserver and vmware.  I have defined a compute 
offering with a storage tag for Fibrechannel storage that is not available on 
xenserver but you can still choose that compute offering after selecting a 
xenserver template which will make an undeployable situation.  Perhaps I am not 
using host/storage tags properly but they seem to be functioning as intended.  
I am trying to make the deployment process as simple as possible for the end 
user and not allow them to choose incompatible offerings.  I fully admit that I 
may be looking at this wrong and am looking for some guidance on setting up the 
offerings.  I have the following defined and it seems kind of a mess.


Vmware-
Storage Offering #1 - EMC VMAX (High I/O)
Storage Offering #2 - EMX VNX (Standard I/O)
Storage Offering #3 -  EMC ISOLON (NFS/Replicated)

XenServer Storage Offering #1 - EMC AX (Standard I/O)
  Storage Offering #2 -  EMC ISOLON (NFS/Replicated)



Steve Searles




Re: Guest VMs not able to acquire DHCP IP from Virtual Router unless Guest and VR are on the same KVM host

2013-11-16 Thread Carlos Reátegui
Did you also check the host firewall?  Try disabling. 

> On Nov 16, 2013, at 1:51 PM, Adam  wrote:
> 
> The hosts have static IPs (10.97.38.[10-14]) and can all see and talk to
> each other via IP and hostname. I'm only using a basic zone so no VLAN
> tagging or anything funky like that.
> 
> Best Regards,
> 
> 
> 
> Adam Scarcella
> 
> 
> On Sat, Nov 16, 2013 at 4:17 PM, Andrei Mikhailovsky wrote:
> 
>> 
>> 
>> Adam, it sounds like a networking issue, check that all hosts can talk to
>> each other on the same vlan that is used for guest network. I had the same
>> issue with advanced networking when my vlans were not properly setup on the
>> switches.
>> 
>> Andrei
>> 
>> - Original Message -
>> 
>> From: "Adam" 
>> To: users@cloudstack.apache.org
>> Sent: Saturday, 16 November, 2013 7:08:50 PM
>> Subject: Guest VMs not able to acquire DHCP IP from Virtual Router unless
>> Guest and VR are on the same KVM host
>> 
>> Hi All,
>> 
>> I have a new and very strange issue that for the life of me I cannot seem
>> to track down and fix.
>> 
>> I have CS 4.2 running on 5 hosts in a simple basic zone. All is working
>> fine, except that my Guest VMs cannot seem to get a DHCP lease from the
>> Virtual Router unless I migrate the Guest VM to the same physical KVM
>> Host running the VR. That would seem to indicate a firewall issue, but I've
>> tested by turning off both the firewalls (VR KVM Host iptables & Guest VM
>> KVM Host iptables). It didn't help. The only way to fix it is to migrate
>> the Guest VM to the same KVM Host that's running the Virtual Router.
>> 
>> NOTE: The Console Proxy has worked flawlessly this whole time.
>> 
>> So, if a Guest VM starts on a different physical KVM Host, it will not get
>> an internal IP of 169.254.x.x. All along the Console Proxy works fine. Then
>> if I migrate the Guest VM to the same KVM host that's running the VR, DHCP
>> automatically starts working and the Guest VM receives a proper IP address
>> of 10.97.38.x. Then I can migrate the Guest VM back to any other physical
>> KVM Host and believe it or not, it continues to work flawlessly, until I
>> either reboot the VM or restart the network services. Then it cannot see
>> the VR again and instead receives an internal IP of 169.254.x.x. If I set a
>> static IP address & DNS everything works fine, no matter where the Guest VM
>> is running.
>> 
>> Setting static IPs is not an option
>> Running all the Guest VMs on the same physical KVM host is not an option
>> 
>> I desperately need to track down the root cause of this issue so I can
>> release this cloud to my entire department by Monday morning. Someone
>> please help!
>> 
>> Best Regards,
>> 
>> 
>> 
>> Adam Scarcella
>> 
>> 


Re: Hey its working !

2013-11-16 Thread Chiradeep Vittal
Congratulations. Hopefully not the first and only CloudStack cloud in
Turkey

On 11/16/13 7:18 AM, "Vahric Muhtaryan"  wrote:

>Hello All , 
>
>Only take a one hour with checking what is it, what is behind
>Router installed
>Vm installed (centos minimal)
>Egress rule configured
>Dhcp is working
>Dns is working
>IP Acquired
>Nat is working
>Vlan automatic provisioned to network
>
>And we are going to starbucks to drink some couple of coffee , i¹m not
>expecting everything will work like this :D
>
>Take a care all
>Regards
>Vahric and Mehmet
>
>
>