Re: Could use a little help

2014-08-08 Thread Bharat Kumar
I am thinking  you are using advanced networking, can you check the vlan id 
provided while adding the public ip range.

Regards,
Bharat.

On 09-Aug-2014, at 9:32 am, Carlos Reátegui  wrote:

> Usually the log entries just before the exception provide some hints as to 
> what may have happened
> 
> 
> 
> On Aug 8, 2014, at 7:40 PM, Xerex Bueno  wrote:
> 
>> We have just installed ACS 4.4 on Vmware running Nexus 1000v.  It creates 
>> the zone but has issues starting the system Vms.  Can someone take a look at 
>> the log below and give me your best guess as to what is going wrong please.
>> 
>> java.lang.NumberFormatException: null
>> at java.lang.Integer.parseInt(Integer.java:454)
>> at java.lang.Integer.parseInt(Integer.java:527)
>> at 
>> com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwork(HypervisorHostHelper.java:484)
>> at 
>> com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:2351)
>> at 
>> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1607)
>> at 
>> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:449)
>> at 
>> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
>> at 
>> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>> at 
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>> at 
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>> at 
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>> at 
>> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at 
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> at 
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>> 2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
>> (DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Cancelling because 
>> one of the answers is false and it is stop on error.
>> 2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
>> (DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Response Received: 
>> 2014-08-08 21:20:45,000 DEBUG [c.c.a.t.Request] 
>> (DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Processing:  { Ans: 
>> , MgmtId: 345052286326, via: 1, Ver: v1, Flags: 10, 
>> [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":6,"name":"v-6-VM","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"hostName":"v-6-VM","arch":"x86_64","os":"Debian
>>  GNU/Linux 5.0 (64-bit)","platformEmulator":"debian5Guest","bootArgs":" 
>> template=domP type=consoleproxy host=10.10.1.12 port=8250 name=v-6-VM zone=1 
>> pod=1 guid=Proxy.6 proxy_vm=6 disable_rp_filter=true eth2ip=96.38.39.84 
>> eth2mask=255.255.255.0 gateway=96.38.39.81 eth0ip=0.0.0.0 eth0mask=0.0.0.0 
>> eth1ip=10.100.1.171 eth1mask=255.255.255.0 mgmtcidr=10.10.1.0/24 
>> localgw=10.100.1.1 internaldns1=10.10.1.10 dns1=8.8.8.8 
>> dns2=4.2.2.2","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"df11bf739d02f384","params":{"nicAdapter":"E1000","vmware.reserve.cpu":"false","vmware.reserve.mem":"false"},"uuid":"42f0c842-ccdd-47bd-a6e3-9edb35ddd0ea","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"6b0fce07-bff8-4523-aec4-4fdcf2186f5e","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"62160fe2-b9e5-4357-b4ef-987626f26a56","id":1,"poolType":"LVM","host":"10.100.1.12","path":"datastore-16","port":0,"url":"LVM://10.100.1.12/datastore-16/?ROLE=Primary&STOREUUID=62160fe2-b9e5-4357-b4ef-987626f26a56"}},"name":"ROOT-6","size":0,"path":"ROOT-6-01","volumeId":6,"vmName":"v-6-VM","accountId":1,"format":"OVA","id":6,"deviceId":0,"hypervisorType":"VMware"}},"diskSeq":0,"path":"ROOT-6-01","type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"10.100.1.12","volumeSize":"0"}}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"a9c80c9c-bac3-4357-b0dd-34db97f4f0e4","ip":"96.38.39.84","netmask":"255.255.255.0","gateway":"96.38.39.81","mac":"06:79:04:00:00:65","dns1":"8.8.8.8","dns2":"4.2.2.2","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://999","isolationUri":"vlan://999","is

Re: Could use a little help

2014-08-08 Thread Carlos Reátegui
Usually the log entries just before the exception provide some hints as to what 
may have happened



On Aug 8, 2014, at 7:40 PM, Xerex Bueno  wrote:

> We have just installed ACS 4.4 on Vmware running Nexus 1000v.  It creates the 
> zone but has issues starting the system Vms.  Can someone take a look at the 
> log below and give me your best guess as to what is going wrong please.
> 
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:454)
> at java.lang.Integer.parseInt(Integer.java:527)
> at 
> com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwork(HypervisorHostHelper.java:484)
> at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:2351)
> at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1607)
> at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:449)
> at 
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> 2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Cancelling because 
> one of the answers is false and it is stop on error.
> 2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Response Received: 
> 2014-08-08 21:20:45,000 DEBUG [c.c.a.t.Request] (DirectAgent-11:ctx-da7b943b) 
> Seq 1-6699385920690323610: Processing:  { Ans: , MgmtId: 345052286326, via: 
> 1, Ver: v1, Flags: 10, 
> [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":6,"name":"v-6-VM","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"hostName":"v-6-VM","arch":"x86_64","os":"Debian
>  GNU/Linux 5.0 (64-bit)","platformEmulator":"debian5Guest","bootArgs":" 
> template=domP type=consoleproxy host=10.10.1.12 port=8250 name=v-6-VM zone=1 
> pod=1 guid=Proxy.6 proxy_vm=6 disable_rp_filter=true eth2ip=96.38.39.84 
> eth2mask=255.255.255.0 gateway=96.38.39.81 eth0ip=0.0.0.0 eth0mask=0.0.0.0 
> eth1ip=10.100.1.171 eth1mask=255.255.255.0 mgmtcidr=10.10.1.0/24 
> localgw=10.100.1.1 internaldns1=10.10.1.10 dns1=8.8.8.8 
> dns2=4.2.2.2","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"df11bf739d02f384","params":{"nicAdapter":"E1000","vmware.reserve.cpu":"false","vmware.reserve.mem":"false"},"uuid":"42f0c842-ccdd-47bd-a6e3-9edb35ddd0ea","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"6b0fce07-bff8-4523-aec4-4fdcf2186f5e","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"62160fe2-b9e5-4357-b4ef-987626f26a56","id":1,"poolType":"LVM","host":"10.100.1.12","path":"datastore-16","port":0,"url":"LVM://10.100.1.12/datastore-16/?ROLE=Primary&STOREUUID=62160fe2-b9e5-4357-b4ef-987626f26a56"}},"name":"ROOT-6","size":0,"path":"ROOT-6-01","volumeId":6,"vmName":"v-6-VM","accountId":1,"format":"OVA","id":6,"deviceId":0,"hypervisorType":"VMware"}},"diskSeq":0,"path":"ROOT-6-01","type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"10.100.1.12","volumeSize":"0"}}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"a9c80c9c-bac3-4357-b0dd-34db97f4f0e4","ip":"96.38.39.84","netmask":"255.255.255.0","gateway":"96.38.39.81","mac":"06:79:04:00:00:65","dns1":"8.8.8.8","dns2":"4.2.2.2","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://999","isolationUri":"vlan://999","isSecurityGroupEnabled":false,"name":"n1kv-eth-2,,nexusdvs"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"4612129e-c57f-4ebb-9b34-d1bb882cbea5","mac":"02:00:33:39:00:06","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false

Could use a little help

2014-08-08 Thread Xerex Bueno
We have just installed ACS 4.4 on Vmware running Nexus 1000v.  It creates the 
zone but has issues starting the system Vms.  Can someone take a look at the 
log below and give me your best guess as to what is going wrong please.


java.lang.NumberFormatException: null

at java.lang.Integer.parseInt(Integer.java:454)

at java.lang.Integer.parseInt(Integer.java:527)

at 
com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwork(HypervisorHostHelper.java:484)

at 
com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:2351)

at 
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1607)

at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:449)

at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)

at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)

at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)

at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)

at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)

at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)

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

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

at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

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

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

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

2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Cancelling because one 
of the answers is false and it is stop on error.

2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Response Received:

2014-08-08 21:20:45,000 DEBUG [c.c.a.t.Request] (DirectAgent-11:ctx-da7b943b) 
Seq 1-6699385920690323610: Processing:  { Ans: , MgmtId: 345052286326, via: 1, 
Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":6,"name":"v-6-VM","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"hostName":"v-6-VM","arch":"x86_64","os":"Debian
 GNU/Linux 5.0 (64-bit)","platformEmulator":"debian5Guest","bootArgs":" 
template=domP type=consoleproxy host=10.10.1.12 port=8250 name=v-6-VM zone=1 
pod=1 guid=Proxy.6 proxy_vm=6 disable_rp_filter=true eth2ip=96.38.39.84 
eth2mask=255.255.255.0 gateway=96.38.39.81 eth0ip=0.0.0.0 eth0mask=0.0.0.0 
eth1ip=10.100.1.171 eth1mask=255.255.255.0 mgmtcidr=10.10.1.0/24 
localgw=10.100.1.1 internaldns1=10.10.1.10 dns1=8.8.8.8 
dns2=4.2.2.2","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"df11bf739d02f384","params":{"nicAdapter":"E1000","vmware.reserve.cpu":"false","vmware.reserve.mem":"false"},"uuid":"42f0c842-ccdd-47bd-a6e3-9edb35ddd0ea","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"6b0fce07-bff8-4523-aec4-4fdcf2186f5e","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"62160fe2-b9e5-4357-b4ef-987626f26a56","id":1,"poolType":"LVM","host":"10.100.1.12","path":"datastore-16","port":0,"url":"LVM://10.100.1.12/datastore-16/?ROLE=Primary&STOREUUID=62160fe2-b9e5-4357-b4ef-987626f26a56"}},"name":"ROOT-6","size":0,"path":"ROOT-6-01","volumeId":6,"vmName":"v-6-VM","accountId":1,"format":"OVA","id":6,"deviceId":0,"hypervisorType":"VMware"}},"diskSeq":0,"path":"ROOT-6-01","type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"10.100.1.12","volumeSize":"0"}}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"a9c80c9c-bac3-4357-b0dd-34db97f4f0e4","ip":"96.38.39.84","netmask":"255.255.255.0","gateway":"96.38.39.81","mac":"06:79:04:00:00:65","dns1":"8.8.8.8","dns2":"4.2.2.2","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://999","isolationUri":"vlan://999","isSecurityGroupEnabled":false,"name":"n1kv-eth-2,,nexusdvs"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"4612129e-c57f-4ebb-9b34-d1bb882cbea5","mac":"02:00:33:39:00:06","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false,"name":"vSwitch0,100"},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"de39047a-8826-4ab4-8cf7-5ae3f7697b37","ip":"10.100.1.171","netmask":"255.255.255.0","gateway":"10.100.1.1","mac":"06:1d:26:00:00:47","broadcastType":"N

unable to create VM in ACS 4.4 hypervisor XenServer

2014-08-08 Thread motty cruz
Hello All,
I am having the issue "Job failed due to exception Unable to create a
deployment for VM[User]i-2-18-VM]" it was able to create router but not VM.
Systems VMs are up,

any suggestions?

Thanks,


Re: FreeBSD

2014-08-08 Thread Carlos Reátegui

On Aug 8, 2014, at 12:40 PM, Shanker Balan  wrote:

> Hi Mo,
> 
> comments inline.
> 
> On 09-Aug-2014, at 12:04 am, mo mailto:m...@daoenix.com>> 
> wrote:
> 
> Shanker,
> 
> The issue I encountered, was of course user error. I did not realize, I only 
> had to utilize the boot-only FreeBSD ISO. After reviewing your update, I 
> replicated it & was able to easily boot into FreeBSD 64-bit, so this issue is 
> resolved.
> 
> Glad to hear its fixed. Please remember to rebuild kernel with XENHVM for 
> better performance.
> 
> 
> Thanks to everyone who assisted with this, I do have a question; how easily 
> is it to remove system template of CentOS 5.5. As I would not at all utilize 
> this, but is this a change in the database? Or?
> 
> I think you would need to do it via the DB. But I suggest you leave it there 
> as its a known good template
> to test when you run into issues.
> 

Just edit the template from the UI and uncheck the public box and it won’t show 
up for your users.  On the the admin.

> 
> 
> - Mo
> 
> 
> On August 8, 2014 at 7:45:08 AM, Shanker Balan 
> (shanker.ba...@shapeblue.com) wrote:
> 
> Hi Mo,
> 
> Comments inline...
> 
> On 07-Aug-2014, at 9:27 pm, mo 
> mailto:m...@daoenix.com>> wrote:
> 
> I am using Cloudstack 4.4 | FreeBSD 9.3, however, choosing other 64-bit and 
> installing the 64-bit of FreeBSD 10 or 9.3 hangs at boot.
> 
> FreeBSD 9 32bit ad 64bit are also working locally for me. See 
> http://imgur.com/OSvXVpX,RcHuF26#0 and
> http://imgur.com/OSvXVpX,RcHuF26#1.
> 
> Environment: ACS 4.3
> XenServer 6.2
> OS Type: Other 32bit and Other 64bit
> ISO Used: FreeBSD-9.3-RELEASE-amd64-bootonly.iso and 
> FreeBSD-9.3-RELEASE-i386-bootonly.iso
> 
> For optimum performance, you could use XENHVM also.
> 
> http://svnweb.freebsd.org/base/stable/9/sys/amd64/conf/XENHVM?view=markup
> http://svnweb.freebsd.org/base/stable/9/sys/i386/conf/XENHVM?view=markup
> 
> --
> @shankerbalan
> 
> M: +91 98860 60539 | O: +91 (80) 67935867
> shanker.ba...@shapeblue.com
>  | 
> www.shapeblue.com>
>  | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
> Bangalore - 560 055
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge - rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure 
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> This email and any attachments to it may be confidential and are intended 
> solely for the use of the individual to whom it is addressed. Any views or 
> opinions expressed are solely those of the author and do not necessarily 
> represent those of Shape Blue Ltd or related companies. If you are not the 
> intended recipient of this email, you must neither take any action based upon 
> its contents, nor copy or show it to anyone. Please contact the sender if you 
> believe you have received this email in error. Shape Blue Ltd is a company 
> incorporated in England & Wales. ShapeBlue Services India LLP is a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
> operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
> registered by The Republic of South Africa and is traded under license from 
> Shape Blue Ltd. ShapeBlue is a registered trademark.
> 
> --
> @shankerbalan
> 
> M: +91 98860 60539 | O: +91 (80) 67935867
> shanker.ba...@shapeblue.com | 
> www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
> Bangalore - 560 055
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge - rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure 
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> This email and any attachments to it may be confidential and are intended 
> solely for the use of the individual to whom it is addressed. Any views or 
> opinions expressed are solely those of the author and do not necessarily 
> represent those of Shape Blue Ltd or related companies. If you are not the 
> intended recipient of this em

Re: FreeBSD

2014-08-08 Thread Shanker Balan
Hi Mo,

comments inline.

On 09-Aug-2014, at 12:04 am, mo mailto:m...@daoenix.com>> 
wrote:

Shanker,

The issue I encountered, was of course user error. I did not realize, I only 
had to utilize the boot-only FreeBSD ISO. After reviewing your update, I 
replicated it & was able to easily boot into FreeBSD 64-bit, so this issue is 
resolved.

Glad to hear its fixed. Please remember to rebuild kernel with XENHVM for 
better performance.


Thanks to everyone who assisted with this, I do have a question; how easily is 
it to remove system template of CentOS 5.5. As I would not at all utilize this, 
but is this a change in the database? Or?

I think you would need to do it via the DB. But I suggest you leave it there as 
its a known good template
to test when you run into issues.



- Mo


On August 8, 2014 at 7:45:08 AM, Shanker Balan 
(shanker.ba...@shapeblue.com) wrote:

Hi Mo,

Comments inline...

On 07-Aug-2014, at 9:27 pm, mo 
mailto:m...@daoenix.com>> wrote:

I am using Cloudstack 4.4 | FreeBSD 9.3, however, choosing other 64-bit and 
installing the 64-bit of FreeBSD 10 or 9.3 hangs at boot.

FreeBSD 9 32bit ad 64bit are also working locally for me. See 
http://imgur.com/OSvXVpX,RcHuF26#0 and
http://imgur.com/OSvXVpX,RcHuF26#1.

Environment: ACS 4.3
XenServer 6.2
OS Type: Other 32bit and Other 64bit
ISO Used: FreeBSD-9.3-RELEASE-amd64-bootonly.iso and 
FreeBSD-9.3-RELEASE-i386-bootonly.iso

For optimum performance, you could use XENHVM also.

http://svnweb.freebsd.org/base/stable/9/sys/amd64/conf/XENHVM?view=markup
http://svnweb.freebsd.org/base/stable/9/sys/i386/conf/XENHVM?view=markup

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com
 | 
www.shapeblue.com>
 | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge - rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge - rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorpora

Re: FreeBSD

2014-08-08 Thread mo
Shanker,

The issue I encountered, was of course user error. I did not realize, I only 
had to utilize the boot-only FreeBSD ISO. After reviewing your update, I 
replicated it & was able to easily boot into FreeBSD 64-bit, so this issue is 
resolved. 

Thanks to everyone who assisted with this, I do have a question; how easily is 
it to remove system template of CentOS 5.5. As I would not at all utilize this, 
but is this a change in the database? Or?

- Mo

On August 8, 2014 at 7:45:08 AM, Shanker Balan (shanker.ba...@shapeblue.com) 
wrote:

Hi Mo,  

Comments inline...  

On 07-Aug-2014, at 9:27 pm, mo mailto:m...@daoenix.com>> 
wrote:  

I am using Cloudstack 4.4 | FreeBSD 9.3, however, choosing other 64-bit and 
installing the 64-bit of FreeBSD 10 or 9.3 hangs at boot.  

FreeBSD 9 32bit ad 64bit are also working locally for me. See 
http://imgur.com/OSvXVpX,RcHuF26#0 and  
http://imgur.com/OSvXVpX,RcHuF26#1.  

Environment: ACS 4.3  
XenServer 6.2  
OS Type: Other 32bit and Other 64bit  
ISO Used: FreeBSD-9.3-RELEASE-amd64-bootonly.iso and 
FreeBSD-9.3-RELEASE-i386-bootonly.iso  

For optimum performance, you could use XENHVM also.  

http://svnweb.freebsd.org/base/stable/9/sys/amd64/conf/XENHVM?view=markup  
http://svnweb.freebsd.org/base/stable/9/sys/i386/conf/XENHVM?view=markup  

--  
@shankerbalan  

M: +91 98860 60539 | O: +91 (80) 67935867  
shanker.ba...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue  
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055  

Find out more about ShapeBlue and our range of CloudStack related services  

IaaS Cloud Design & Build  
CSForge - rapid IaaS deployment framework  
CloudStack Consulting  
CloudStack Infrastructure 
Support  
CloudStack Bootcamp Training Courses 
 

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.  


help Adding Host - private ip of the server not compatible with the CIDR

2014-08-08 Thread Hollman Enciso R.
hello all.

I'm trying to add new host to my CS management Server but i obtain an error.
Searching on the log form some idea i obtaind that:

The private ip address of the server (10.0.9.64) is not compatible with the
CIDR of pod: Rack02 and zone: Cloud01

Cloud01 it's my zone and has the CIDR 10.1.1.0/24

The host had 10.0.6.3/255.255.0.0

The POD had 172.17.0.0/24

the complete log:
http://paste.algolibre.com/117

Any idea or recomendation ?

thanks.

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Network without Virtual Router (2)

2014-08-08 Thread Todd Pigram
1. Create a new network offering with only 'Source NAT' using virtual
router.  - Has to have this or you won't be able to select from list when
selecting router on Isolated network creation.
2. Create a new domain(test)
3. Dedicate the VLAN to that domain (so if your guest network is 200-210)
dedicate 200-200 to test
4. create an isolated test-network with the default gateway as x.x.x.2 (as
you have router/firewall as .1 elsewhere on the network)
5. spin you VMs via UI. ACS/CCP will try and assign IP, but without w/o
DHCP/DNS, it will just show on Instance, Nics tab the IP it thinks it
assigned.
6. either have DHCP elsewhere or hardcode the IP but with what shows on
Nics tab, but with the .1 gateway.

I have done this with both PfSense and Meraki firewalls.

Hope this helps.


On Fri, Aug 8, 2014 at 9:38 AM, Kai Storbeck  wrote:

> Hello,
>
> I'm looking for some technical advice regarding Advanced Networking and
> Network offerings.
>
> Our Cloudstack setup will need to provision VM's in different existing
> VLANs together with existing physical hardware. These existing servers
> on those VLAN's only have public IPspace and are connected to public
> routers.
>
> Turning to Google, I found Remi Bergsma's blog entry about a Network
> offering without a virtual router:
>   http://blog.remibergsma.com/2012/03/10/howto-create-a-network
>
> In this setup, we would be assigning real ipspace for assignment to
> Guests. In our setup, guests really only need their public IP.
>
> Quoting Geoff Higginbottom:
> >
> > You just need to create a new network offering with no services, and
> probably with the specify
> > VLAN option selected.
> >
> > The thing to be aware of is that even without DHCP enabled, CloudStack
> will still 'assign'
> > an IP address which will appear in the UI, but the VM will obviously
> need the IP to be assigned
> > manually, or via an external DHCP server etc
>
>
> I Have tried this in a test setup, but since I'm not "up to my sleeves"
> in this project I have a few questions:
>
> - Will such a thing be supported in future versions of Cloudstack? (i.e.
> no services at all)
>
> - The (existing) physical hardware in the VLAN's are configured
> staticly. What happens in a "DHCP only" networking offering? Will
> Cloudstack spin up a routing vm for every guest network for the DHCP
> service? Can I influence which IPs are in use by other hardware?
>
> - Remi stated back then (2012) that one couldn't use the GUI for
> creating VM's. Is that still the case in 4.4 anno 2014?
>
> - Any other disadvantages or reasons why one shouldn't want this
> configuration in the long run? Or are there other solutions for this
> challenge?
>
>
> Thanks for your input
>
> Kind regards,
> Kai Storbeck
>
> --
> Systeembeheer XS4ALL Internet bv
> Internet: www.xs4all.nl
> Contact: www.xs4all.nl/contact
>
>


-- 


Todd Pigram
http://about.me/ToddPigram
www.linkedin.com/in/toddpigram/
@pigram86 on twitter
https://plus.google.com/+ToddPigram86
Mobile - 216-224-5769


Network without Virtual Router (2)

2014-08-08 Thread Kai Storbeck
Hello,

I'm looking for some technical advice regarding Advanced Networking and
Network offerings.

Our Cloudstack setup will need to provision VM's in different existing
VLANs together with existing physical hardware. These existing servers
on those VLAN's only have public IPspace and are connected to public
routers.

Turning to Google, I found Remi Bergsma's blog entry about a Network
offering without a virtual router:
  http://blog.remibergsma.com/2012/03/10/howto-create-a-network

In this setup, we would be assigning real ipspace for assignment to
Guests. In our setup, guests really only need their public IP.

Quoting Geoff Higginbottom:
> 
> You just need to create a new network offering with no services, and probably 
> with the specify
> VLAN option selected.
> 
> The thing to be aware of is that even without DHCP enabled, CloudStack will 
> still 'assign'
> an IP address which will appear in the UI, but the VM will obviously need the 
> IP to be assigned
> manually, or via an external DHCP server etc


I Have tried this in a test setup, but since I'm not "up to my sleeves"
in this project I have a few questions:

- Will such a thing be supported in future versions of Cloudstack? (i.e.
no services at all)

- The (existing) physical hardware in the VLAN's are configured
staticly. What happens in a "DHCP only" networking offering? Will
Cloudstack spin up a routing vm for every guest network for the DHCP
service? Can I influence which IPs are in use by other hardware?

- Remi stated back then (2012) that one couldn't use the GUI for
creating VM's. Is that still the case in 4.4 anno 2014?

- Any other disadvantages or reasons why one shouldn't want this
configuration in the long run? Or are there other solutions for this
challenge?


Thanks for your input

Kind regards,
Kai Storbeck

-- 
Systeembeheer XS4ALL Internet bv
Internet: www.xs4all.nl
Contact: www.xs4all.nl/contact



signature.asc
Description: OpenPGP digital signature


Re: System VM templates for ACS 4.4

2014-08-08 Thread motty cruz
Thank you Pierre-Luc,

that worked!

Thanks,
Motty


On Thu, Aug 7, 2014 at 5:01 PM, Pierre-Luc Dion  wrote:

> Hi motty,
> the installation guide is accurate if you install 4.4.0 :
>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#prepare-the-system-vm-template
>
> system vm file version must be 4.4.0-6.
>
>
> Pierre-Luc
>
>
>
> On Thu, Aug 7, 2014 at 6:23 PM, motty cruz  wrote:
>
> > Hello, I am trying to fresh install ACS 4.4 can someone provide a link to
> > download System VM templates for Cloudstack 4.4?
> >
> > Thanks in advance
> >
>


Re: FreeBSD

2014-08-08 Thread Shanker Balan
Hi Mo,

Comments inline...

On 07-Aug-2014, at 9:27 pm, mo mailto:m...@daoenix.com>> 
wrote:

I am using Cloudstack 4.4 | FreeBSD 9.3, however, choosing other 64-bit and 
installing the 64-bit of FreeBSD 10 or 9.3 hangs at boot.

FreeBSD 9 32bit ad 64bit are also working locally for me. See 
http://imgur.com/OSvXVpX,RcHuF26#0 and
http://imgur.com/OSvXVpX,RcHuF26#1.

Environment: ACS 4.3
XenServer 6.2
OS Type: Other 32bit and Other 64bit
ISO Used:  FreeBSD-9.3-RELEASE-amd64-bootonly.iso and 
FreeBSD-9.3-RELEASE-i386-bootonly.iso

For optimum performance, you could use XENHVM also.

http://svnweb.freebsd.org/base/stable/9/sys/amd64/conf/XENHVM?view=markup
http://svnweb.freebsd.org/base/stable/9/sys/i386/conf/XENHVM?view=markup

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge - rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: question about security group

2014-08-08 Thread Shanker Balan
Hi Clement,

Comments inline.

On 08-Aug-2014, at 12:18 am, clement mutz  wrote:

> Thanks you for your reply. I already trying to configure the firewall Rules 
> (ex : http://i.imgur.com/oiGMMle.png).
> not access at my instances.

>From the VM instance, are you able to ICMP ping the virtual router? If you 
>cant,
then please check your network VLAN assignments and traffic label configurations


> I haven't access system vm (console, secondary storage).

If you are not able to access the system VMs, then I would first
make sure my Zone network configuration and the hypervisor
network traffic types are configured correctly.


> My network is ok because when I configure my zone with security groups I have 
> access
> system vm and at my instances.

Basic network and Advanced Networks work very differently. Advanced network 
uses VLANs
which if configured incorrectly can lead to issues like the one you are facing.

> What's wrong with my configuration ? I forgot something ?

Start by running tcpdump along the network path and try to isolate
the faulty network configuration.


> Sorry my bad english. I learning ;)
>
> Thanks you very much.
>

No problems.




> Clément
>
>
>
>
> Comments inline.
>
> On 07-Aug-2014, at 6:24 pm, clement mutz  wrote:
>
>> Hi Shanker,
>>
>>> Look under Network -> Select View -> Security Groups.
>>
>> Thanks you, but the problem appear when I choose a advanced zone without 
>> security group. So I can't see  Security 
>> Groups(http://i.imgur.com/WR18PPl.png) ;)
>>
>
> Advanced zones you dont have security groups by default. Only EGRESS and 
> INGRESS rules.
>
>> How I can to configure the different access without security group ?
>
> Looking at your screenshot, go to Network -> Isolated Network (vl400) -> 
> Egress Rules and
> Network -> Isolated Network (vl400) -> Source NAT -> Configuration -> 
> Firewall Rules.
>
>>
>>> The ML strips out attachment. You can use http://imgur.com to share images.
>>
>> Thanks for your information :)
>>
>> I can't choose Security group, when I created a zone with public network (I 
>> mean with nic public)  (http://i.imgur.com/52bjasU.png and 
>> http://i.imgur.com/UN9RXR2.png)...
>> I don't understand why.
>> When I created a zone with security group no problem, I can use ACC Ingress 
>> and Egress rules but I haven't public interface 
>> (http://i.imgur.com/EhBAbvC.png and http://i.imgur.com/GjhFOZD.png).
>>
>>
>>
>>
>>
>> - Mail original -
>> De: "Shanker Balan" 
>> À: "CloudStack-Users" 
>> Envoyé: Jeudi 7 Août 2014 13:49:40
>> Objet: Re: question about security group
>>
>> Comments inline.
>>
>> On 07-Aug-2014, at 3:44 pm, clement mutz  wrote:
>>
>>> Hi Tejas,
>>>
>>> I cannot see the security group in network tab.
>>
>> Look under Network -> Select View -> Security Groups.
>>
>>>
>>> I can't choose Security group, when I created a zone with public network (I 
>>> mean with nic public)  (picture 1 and 2)... I don't understand why.
>>> When I created a zone with security group no problem, I can use ACC Ingress 
>>> and Egress rules but I haven't public interface (picture 3 and 4).
>>>
>>
>> The ML strips out attachment. You can use http://imgur.com to share images.
>>
>> --
>> @shankerbalan
>>
>> M: +91 98860 60539 | O: +91 (80) 67935867
>> shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
>> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
>> Bangalore - 560 055
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Infrastructure 
>> Support
>> CloudStack Bootcamp Training 
>> Courses
>>
>> This email and any attachments to it may be confidential and are intended 
>> solely for the use of the individual to whom it is addressed. Any views or 
>> opinions expressed are solely those of the author and do not necessarily 
>> represent those of Shape Blue Ltd or related companies. If you are not the 
>> intended recipient of this email, you must neither take any action based 
>> upon its contents, nor copy or show it to anyone. Please contact the sender 
>> if you believe you have received this email in error. Shape Blue Ltd is a 
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a 
>> company incorporated in India and is operated under license from Shape Blue 
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a 
>> company registered by The Republic of South Africa and is traded under 
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
> --
> @shankerbalan
>
> M: +91 98860 60539

Cloud Stack 4.4 template pauses and does not establish VPC site 2 site connection

2014-08-08 Thread Amin Samir
Hello,

 
We have just upgraded our pilot environment from 4.3 to 4.4, system VM's pauses 
has to be deleted and change the state in the DB, VPC site 2 site does not 
establish yet 4.3 template site 2 site did establish.

 

New template used 
http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-6-xen.vhd.bz2

 
 
Anyone did upgrade or even install new 4.4 version and had VPC site 2 site 
working. Thanks for sharing your experience.

 
Kind Regards

Amin



Re: Reset password configuration

2014-08-08 Thread Harikrishna Patnala
Try this
http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/CloudInstanceManager.msi/download

This link is on the same page under linux os installation. We need to update 
the page.

Thanks,
Harikrishna

On 07-Aug-2014, at 10:47 pm, Siddharth  wrote:

> This link in the documentation you gave is broken.
> 
> Download page 
> 
> Thanks,
> Siddharth
> 
> 
> On Thu, Aug 7, 2014 at 2:59 AM, Suresh Sadhu 
> wrote:
> 
>> Your template should have the password reset script.i.e you have to built
>> your template with this script.
>> 
>> Please refer below link:
>> 
>> https://people.apache.org/~ke4qqq/docs2/en-US/Apache_CloudStack/4.0/html/Admin_Guide/add-password-management-to-templates.html
>> 
>> regards
>> sadhu
>> 
>> 
>> -Original Message-
>> From: tejas.sh...@frontier.in [mailto:tejas.sh...@frontier.in]
>> Sent: 07 August 2014 15:11
>> To: users
>> Subject: Reset password configuration
>> 
>> Hi All,
>> 
>>   I have created a windows template with xentools installation. While
>> creating template i have checked Password reset option. but when i deploy
>> VM from template and when i select "reset password" icon It shows new
>> password but password is not being reset.
>> 
>>  Am i missing some configuration changes?
>> 
>> Thanks and regards,
>> Tejas
>>