Re: More disk space for primary storage.

2015-03-18 Thread Dan Dong
The problem is that I can not launch many VMs as the primary storage of 2TB
will be filled quickly.  Why the primary storage could not utilize local
storage on hypervisor nodes? Some other global settings?

system.vm.use.local.storage=true
And I have set to use local storage in my compute offering already.

Local storage enabledYes
On dashboard I see:
Primary Storage Allocated: 1.24 TB / 1.79 TB
Local Storage: Allocated: 630.28 GB / 21.21 TB

Cheers,
Dan



2015-03-17 16:28 GMT-05:00 Somesh Naidu somesh.na...@citrix.com:

 Local Storage is used for UserVM and SystemVM deployment based on the
 values set for system.vm.use.local.storage and Local storage enabled.
 Of course, you need compute offering using local storage as well.

 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.


 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Tuesday, March 17, 2015 3:23 PM
 To: users@cloudstack.apache.org
 Subject: Re: More disk space for primary storage.

 Hi, Somesh,
   Yes, all the local storage are listed in storage_pool table with e.g:

 used_bytes managed  6690078720
 capacity_bytes 3886517903360

 And
 Local storage enabledYes
 On dashboard I see:
 Primary Storage Allocated: 1.24 TB / 1.79 TB
 Local Storage: Allocated: 630.28 GB / 21.21 TB

 Confused what this Local Storage are used for?

 Cheers,
 Dan



 2015-03-17 13:37 GMT-05:00 Somesh Naidu somesh.na...@citrix.com:

  Dan,
 
  Are all the local storage listed in the storage_pool table? If so, what
  does the capacity_bytes column for these reflect?
 
  In addition, what do you have Local storage enabled flag set to for the
  Zone where the KVM hosts reside?
 
  Somesh
  CloudPlatform Escalations
  Citrix Systems, Inc.
 
  -Original Message-
  From: Dan Dong [mailto:dongda...@gmail.com]
  Sent: Monday, March 16, 2015 11:08 AM
  To: users@cloudstack.apache.org
  Subject: More disk space for primary storage.
 
  Hi, All,
   I found a weird situation here:
  1. My cloudstack cluster contains 1 Management Server+7KVM Hypervisor
  nodes.
  2. 1TB disk is allocated to primary storage on Management Server.
  3. Each KVM Hypervisor has 4TB disk space, no manual disk partitions on
 it.
  4. system.vm.use.local.storage=true
  5. But found only 2TB size of primary storage on dashboard.
 
  So seems the 7 KVM nodes altogether contribute only 1TB for primary
  storage. How to allocate more disk space to primary storage? Any global
  settings I did not set? Thanks.
 
  Cheers,
  Dan
 



Re: More disk space for primary storage.

2015-03-18 Thread Dan Dong
Yes, when I create VMs I specify the compute offering which use local
storage:
$list serviceofferings
name = 4_Cores_2GHz_Local
id = 0bdcefa2-94dd-4a8a-9702-16ce21ef9aa8

...
storagetype = local

Cheers,
Dan

2015-03-18 11:46 GMT-05:00 Somesh Naidu somesh.na...@citrix.com:

 Do you have any compute offering that use local storage?

 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.

 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Wednesday, March 18, 2015 10:20 AM
 To: users@cloudstack.apache.org
 Subject: Re: More disk space for primary storage.

 The problem is that I can not launch many VMs as the primary storage of 2TB
 will be filled quickly.  Why the primary storage could not utilize local
 storage on hypervisor nodes? Some other global settings?

 system.vm.use.local.storage=true
 And I have set to use local storage in my compute offering already.

 Local storage enabledYes
 On dashboard I see:
 Primary Storage Allocated: 1.24 TB / 1.79 TB
 Local Storage: Allocated: 630.28 GB / 21.21 TB

 Cheers,
 Dan



 2015-03-17 16:28 GMT-05:00 Somesh Naidu somesh.na...@citrix.com:

  Local Storage is used for UserVM and SystemVM deployment based on the
  values set for system.vm.use.local.storage and Local storage enabled.
  Of course, you need compute offering using local storage as well.
 
  Somesh
  CloudPlatform Escalations
  Citrix Systems, Inc.
 
 
  -Original Message-
  From: Dan Dong [mailto:dongda...@gmail.com]
  Sent: Tuesday, March 17, 2015 3:23 PM
  To: users@cloudstack.apache.org
  Subject: Re: More disk space for primary storage.
 
  Hi, Somesh,
Yes, all the local storage are listed in storage_pool table with e.g:
 
  used_bytes managed  6690078720
  capacity_bytes 3886517903360
 
  And
  Local storage enabledYes
  On dashboard I see:
  Primary Storage Allocated: 1.24 TB / 1.79 TB
  Local Storage: Allocated: 630.28 GB / 21.21 TB
 
  Confused what this Local Storage are used for?
 
  Cheers,
  Dan
 
 
 
  2015-03-17 13:37 GMT-05:00 Somesh Naidu somesh.na...@citrix.com:
 
   Dan,
  
   Are all the local storage listed in the storage_pool table? If so, what
   does the capacity_bytes column for these reflect?
  
   In addition, what do you have Local storage enabled flag set to for
 the
   Zone where the KVM hosts reside?
  
   Somesh
   CloudPlatform Escalations
   Citrix Systems, Inc.
  
   -Original Message-
   From: Dan Dong [mailto:dongda...@gmail.com]
   Sent: Monday, March 16, 2015 11:08 AM
   To: users@cloudstack.apache.org
   Subject: More disk space for primary storage.
  
   Hi, All,
I found a weird situation here:
   1. My cloudstack cluster contains 1 Management Server+7KVM Hypervisor
   nodes.
   2. 1TB disk is allocated to primary storage on Management Server.
   3. Each KVM Hypervisor has 4TB disk space, no manual disk partitions on
  it.
   4. system.vm.use.local.storage=true
   5. But found only 2TB size of primary storage on dashboard.
  
   So seems the 7 KVM nodes altogether contribute only 1TB for primary
   storage. How to allocate more disk space to primary storage? Any global
   settings I did not set? Thanks.
  
   Cheers,
   Dan
  
 



Re: More disk space for primary storage.

2015-03-17 Thread Dan Dong
Hi, Somesh,
  Yes, all the local storage are listed in storage_pool table with e.g:

used_bytes managed  6690078720
capacity_bytes 3886517903360

And
Local storage enabledYes
On dashboard I see:
Primary Storage Allocated: 1.24 TB / 1.79 TB
Local Storage: Allocated: 630.28 GB / 21.21 TB

Confused what this Local Storage are used for?

Cheers,
Dan



2015-03-17 13:37 GMT-05:00 Somesh Naidu somesh.na...@citrix.com:

 Dan,

 Are all the local storage listed in the storage_pool table? If so, what
 does the capacity_bytes column for these reflect?

 In addition, what do you have Local storage enabled flag set to for the
 Zone where the KVM hosts reside?

 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.

 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Monday, March 16, 2015 11:08 AM
 To: users@cloudstack.apache.org
 Subject: More disk space for primary storage.

 Hi, All,
  I found a weird situation here:
 1. My cloudstack cluster contains 1 Management Server+7KVM Hypervisor
 nodes.
 2. 1TB disk is allocated to primary storage on Management Server.
 3. Each KVM Hypervisor has 4TB disk space, no manual disk partitions on it.
 4. system.vm.use.local.storage=true
 5. But found only 2TB size of primary storage on dashboard.

 So seems the 7 KVM nodes altogether contribute only 1TB for primary
 storage. How to allocate more disk space to primary storage? Any global
 settings I did not set? Thanks.

 Cheers,
 Dan



More disk space for primary storage.

2015-03-16 Thread Dan Dong
Hi, All,
 I found a weird situation here:
1. My cloudstack cluster contains 1 Management Server+7KVM Hypervisor
nodes.
2. 1TB disk is allocated to primary storage on Management Server.
3. Each KVM Hypervisor has 4TB disk space, no manual disk partitions on it.
4. system.vm.use.local.storage=true
5. But found only 2TB size of primary storage on dashboard.

So seems the 7 KVM nodes altogether contribute only 1TB for primary
storage. How to allocate more disk space to primary storage? Any global
settings I did not set? Thanks.

Cheers,
Dan


CS 4.5, remove templates

2015-03-16 Thread dan

Hi All,
In CS 4.5.0 there is no option to remove template. Is it somewhere ?  
Or it's bug ?


Dan.



Re: CS 4.5, remove templates

2015-03-16 Thread dan


Yes, template is in ready status. I used it for VM provisioning, but  
now i don't need. Also wanted to remove old system templates  
system-4.3 and 4.4, there is no option to remove them.


what is status of template? ready yes no and it should show the  
error message on status also, were you able to upload template from  
this webserver before?


Sent from my iPhone


On Mar 16, 2015, at 2:00 PM, d...@soleks.com d...@soleks.com wrote:

Hi All,
In CS 4.5.0 there is no option to remove template. Is it somewhere  
? Or it's bug ?


Dan.







Re: CS 4.5, remove templates

2015-03-16 Thread dan


Found it !

That can be the reason for

The DomR template cannot be deleted.

trying to remove systemvm-template-4.3 ?



with this new interface, I missed that, he is right...


Thanks,

Sam Ceylani, MBA
Computer Engineer
MisterCertified Inc.

301 W. Platt St. Suite 447, Tampa, FL 33606x-apple-data-detectors://0/0
P 813tel:813.264.6460.264.6460tel:813.264.6460 M  
813tel:813.416.7867.416.7867tel:813.416.7867
F 800tel:800.553.9520.553.9520tel:800.553.9520 E  
sam.ceyl...@mistercertified.commailto:sam.ceyl...@mistercertified.com


On Mar 16, 2015, at 2:46 PM, Geoff Higginbottom  
geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com  
wrote:


You  need to go to the Zones Tab then delete it from the appropriate zone etc

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603  
0540tel:+442036030540 | M: +447968161581tel:+447968161581


geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.comhtp://www.shapeblue.com/ |  
Twitter:@cloudstackguruhttps://twitter.com/#!/cloudstackguru


ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N  
4HSx-apple-data-detectors://5



On 16 Mar 2015, at 19:20, Sam Ceylani  
s...@mistercertified.commailto:s...@mistercertified.commailto:s...@mistercertified.com  
wrote:


what is status of template? ready yes no and it should show the  
error message on status also, were you able to upload template from  
this webserver before?


Sent from my iPhone

On Mar 16, 2015, at 2:00 PM,  
d...@soleks.commailto:d...@soleks.commailto:d...@soleks.com  
d...@soleks.commailto:d...@soleks.commailto:d...@soleks.com wrote:


Hi All,
In CS 4.5.0 there is no option to remove template. Is it somewhere ?  
Or it's bug ?


Dan.

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

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software  
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure  
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training  
Courseshttp://shapeblue.com/cloudstack-training/


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: unable to start CS4.5-RC4

2015-03-14 Thread dan

Issue resolved.

After CS 4.3.2 was removed (yum erase cloudstack-*) i removed all
/usr/share/cloudstack* directories - that solve issue with CS start.  
There was symlink loop


/usr/share/cloudstack-bridge/webapps/webapps/webapps



This is common exception(I see this exception every time I restart my ms
and ms works fine)   , should not be the reason .

On 3/13/15, 9:53 PM, d...@soleks.com d...@soleks.com wrote:


Encountered IOException
java.io.IOException: Stream closed
at
java.util.zip.ZipInputStream.ensureOpen(ZipInputStream.java:66)
at
java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:115)
at
java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
at
java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
at
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getFromJARF
ile(OnwireClassRegistry.java:162)
at
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(
OnwireClassRegistry.java:119)






Re: custom size of disk offering.

2015-03-13 Thread Dan Dong
Thank you all, I think the easiest way is still to format it and mount it
to a separate dir to use this new space.
So the current schema is:
ROOT DISK: 10GB
DATA DISK: 100GB

ubuntu@node100GB:~$ df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda1   9.9G  762M  8.7G   8% /
none4.0K 0  4.0K   0% /sys/fs/cgroup
udev3.9G  4.0K  3.9G   1% /dev
tmpfs   799M  340K  799M   1% /run
none5.0M 0  5.0M   0% /run/lock
none3.9G 0  3.9G   0% /run/shm
none100M 0  100M   0% /run/user
/dev/vda 99G   60M   94G   1% /home/ubuntu/disk2


Cheers,
Dan


2015-03-13 11:15 GMT-05:00 Andrija Panic andrija.pa...@gmail.com:

 Suresh, if I'm not wrong, this is extending LVM by adding NEW disk.

 Here we need to resize partition of the existing disk (after the disk
 itself is resized by cloudstack) I guess:

 So per experience so far in this situation:
 - increase partitons (actually eather LIVE distrivution with nice GUI, or
 existing OS, by deleting partition and creating it again with SAME start
 sector and maximum ending sector).  then pvresize to resize PV.
 Automaticaly VG will be resized, and then LV need to be resized, and
 finally filesystem resize (resize2fs or similar)...

 best


 On 13 March 2015 at 17:09, Suresh Sadhu suresh.sa...@citrix.com wrote:

 
  You can manually  resize the root partition safely by extending lvm
  partition .
  /dev/sda is your  root partition  right   and what is this /dev/vda?
 
  Please refer blow link  :  I have used below link to resize my root
  partition .
 
 
 http://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk/
 
 
  -Original Message-
  From: Dan Dong [mailto:dongda...@gmail.com]
  Sent: 13 March 2015 21:25
  To: users@cloudstack.apache.org
  Subject: Re: custom size of disk offering.
 
  Hi, Andrija,
Here is the result:
  ubuntu@node100GB:~$ sudo fdisk -l
 
  Disk /dev/vda: 107.4 GB, 107374182400 bytes
  16 heads, 63 sectors/track, 208050 cylinders, total 209715200 sectors
  Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical):
 512
  bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk
  identifier: 0x
 
  Disk /dev/vda doesn't contain a valid partition table
 
  Disk /dev/sda: 10.7 GB, 10737418240 bytes
  4 heads, 32 sectors/track, 163840 cylinders, total 20971520 sectors Units
  = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512
 bytes
  / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk
  identifier: 0x000b2a28
 
 Device Boot  Start End  Blocks   Id  System
  /dev/sda1   *20482097151910484736   83  Linux
 
 
  Seems the disk space is hidden in /dev/vda, so should I format it and
  mount it in order to use that space? Thanks!
 
  Cheers,
  Dan
 
 
  2015-03-13 10:41 GMT-05:00 Andrija Panic andrija.pa...@gmail.com:
 
   I dont expect your partitions and file system will be resized here...
  
   give us fdisk -land you should see bigger disk than original.
  
   Or maybe I'm wrong - some of the developers might confirm...we had
   discussion about weather CS will also resize partition and FS - which
   is I guess not the case...
  
   On 13 March 2015 at 16:36, Dan Dong dongda...@gmail.com wrote:
  
Hi, All,
  I found when I create a new VM from a template, no matter how I
set
   disk
offering, the created new VM always has the same original size. For
Example, although I specified 100GB of hard disk, the actual disk
size remains ~20GB, which should come with the template
itself:
   
name = Large
id = a4d52dbd-abea-452f-a8e2-bc13c661f516
created = 2014-12-08T09:47:59-0600
disksize = 100
displayoffering = True
displaytext = Large Disk, 100 GB
iscustomized = False
storagetype = shared
   
cloudmonkey deploy virtualmachine ...
diskofferingid=a4d52dbd-abea-452f-a8e2-bc13c661f516 ...
   
ubuntu@node100GB:~$ df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda1   9.9G  762M  8.7G   8% /
none4.0K 0  4.0K   0% /sys/fs/cgroup
udev3.9G  4.0K  3.9G   1% /dev
tmpfs   799M  336K  799M   1% /run
none5.0M 0  5.0M   0% /run/lock
none3.9G 0  3.9G   0% /run/shm
none100M 0  100M   0% /run/user
   
 Is there a way to let the disk offering take effect?
   
Cheers,
Dan
   
  
  
  
   --
  
   Andrija Panić
  
 



 --

 Andrija Panić



custom size of disk offering.

2015-03-13 Thread Dan Dong
Hi, All,
  I found when I create a new VM from a template, no matter how I set disk
offering, the created new VM always has the same original size. For
Example, although I specified 100GB of hard disk,
the actual disk size remains ~20GB, which should come with the template
itself:

name = Large
id = a4d52dbd-abea-452f-a8e2-bc13c661f516
created = 2014-12-08T09:47:59-0600
disksize = 100
displayoffering = True
displaytext = Large Disk, 100 GB
iscustomized = False
storagetype = shared

cloudmonkey deploy virtualmachine ...
diskofferingid=a4d52dbd-abea-452f-a8e2-bc13c661f516 ...

ubuntu@node100GB:~$ df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda1   9.9G  762M  8.7G   8% /
none4.0K 0  4.0K   0% /sys/fs/cgroup
udev3.9G  4.0K  3.9G   1% /dev
tmpfs   799M  336K  799M   1% /run
none5.0M 0  5.0M   0% /run/lock
none3.9G 0  3.9G   0% /run/shm
none100M 0  100M   0% /run/user

 Is there a way to let the disk offering take effect?

Cheers,
Dan


Re: custom size of disk offering.

2015-03-13 Thread Dan Dong
Hi, Andrija,
  Here is the result:
ubuntu@node100GB:~$ sudo fdisk -l

Disk /dev/vda: 107.4 GB, 107374182400 bytes
16 heads, 63 sectors/track, 208050 cylinders, total 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vda doesn't contain a valid partition table

Disk /dev/sda: 10.7 GB, 10737418240 bytes
4 heads, 32 sectors/track, 163840 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b2a28

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *20482097151910484736   83  Linux


Seems the disk space is hidden in /dev/vda, so should I format it and mount
it in order to use that space? Thanks!

Cheers,
Dan


2015-03-13 10:41 GMT-05:00 Andrija Panic andrija.pa...@gmail.com:

 I dont expect your partitions and file system will be resized here...

 give us fdisk -land you should see bigger disk than original.

 Or maybe I'm wrong - some of the developers might confirm...we had
 discussion about weather CS will also resize partition and FS - which is I
 guess not the case...

 On 13 March 2015 at 16:36, Dan Dong dongda...@gmail.com wrote:

  Hi, All,
I found when I create a new VM from a template, no matter how I set
 disk
  offering, the created new VM always has the same original size. For
  Example, although I specified 100GB of hard disk,
  the actual disk size remains ~20GB, which should come with the template
  itself:
 
  name = Large
  id = a4d52dbd-abea-452f-a8e2-bc13c661f516
  created = 2014-12-08T09:47:59-0600
  disksize = 100
  displayoffering = True
  displaytext = Large Disk, 100 GB
  iscustomized = False
  storagetype = shared
 
  cloudmonkey deploy virtualmachine ...
  diskofferingid=a4d52dbd-abea-452f-a8e2-bc13c661f516 ...
 
  ubuntu@node100GB:~$ df -h
  Filesystem  Size  Used Avail Use% Mounted on
  /dev/sda1   9.9G  762M  8.7G   8% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  udev3.9G  4.0K  3.9G   1% /dev
  tmpfs   799M  336K  799M   1% /run
  none5.0M 0  5.0M   0% /run/lock
  none3.9G 0  3.9G   0% /run/shm
  none100M 0  100M   0% /run/user
 
   Is there a way to let the disk offering take effect?
 
  Cheers,
  Dan
 



 --

 Andrija Panić



unable to start CS4.5-RC4

2015-03-13 Thread dan

Hi All,

I've downloaded 4.5-RC4, build RPM without issues (centos 6.6).  
Database conversion went smoothly, but eventually wasn't able to start  
cloudstack-management, only one error that i found in the log, not  
sure if it's road-blocker or easy-to-fix issue, however here is some  
log:



2015-03-12 17:35:57,110 DEBUG [o.a.c.f.s.OnwireClassRegistry]  
(main:null) Encountered IOException

java.io.IOException: Stream closed
at java.util.zip.ZipInputStream.ensureOpen(ZipInputStream.java:66)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:115)
at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
at  
java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
at  
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getFromJARFile(OnwireClassRegistry.java:162)
at  
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:119)
at  
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:95)
at  
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.scan(OnwireClassRegistry.java:76)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)
at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1549)
at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)
at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at  
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at  
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at  
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at  
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at  
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
at  
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at  
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117)
at  
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79)
at  
org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
at  
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70)
at  
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:57)
at  
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:61)
at  
org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
at  
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
at  

list virtualmachines name= problem.

2015-03-04 Thread Dan Dong
Hi,
  I found when I try to list details of the VM with name vm-1 by:
list virtualmachines name=vm-1

Cloudstack will also return me with info of another VM machine of vm-10, so
I got 2 VMs info here.
How to avoid this? Thanks.

Cheers,
Dan


Re: list virtualmachines name= problem.

2015-03-04 Thread Dan Dong
Hi, Harikrishna,
  Thanks, surely UUID will work in this case, but why not let user decide
the match pattern himself? E.g:
list virtualmachines name=vm-1*
to list vm-1, vm-10, vm-11 ..

I think VM name is unique for all the VMs user created? It would be natural
if all details of a VM could be got through its name, i.e:
vm_name==vm_details

Cheers,
Dan


2015-03-04 12:00 GMT-06:00 Harikrishna Patnala 
harikrishna.patn...@citrix.com:

 Hi Dan,

 listVirtualMachine API provided with vm name gives the result of VMs where
 name like “%Provided_VM_name%”.

 As the name vm-10 is like vm-1, you are getting the result of vm-10 as
 well.

 You can try with UUID of the vm which gives you exact vm details you want,

 http://localhost:8080/client/api?command=listVirtualMachinesid=11b7032d-4c03-4fc0-a394-71d921c1e3ba


 Thanks,
 Harikrishna

 On 04-Mar-2015, at 10:01 pm, Dan Dong dongda...@gmail.com wrote:

  Hi,
   I found when I try to list details of the VM with name vm-1 by:
  list virtualmachines name=vm-1
 
  Cloudstack will also return me with info of another VM machine of vm-10,
 so
  I got 2 VMs info here.
  How to avoid this? Thanks.
 
  Cheers,
  Dan




Re: Force cleaning primary storage.

2015-02-03 Thread Dan Dong
Hi, Geoff,
  Thanks, while I think they are mostly DATA volumes as what I see on the
UI, but shouldn't they will be deleted automatically after a VM instance
has been deleted and expunged? Or one has to delete DATA volumes explicitly
by hand( if so, finding out which DATA volume belongs to which VM will be a
problem, as the VM has already gone)?

NameDATA-34
IDdf4d1b29-4c8b-4308-912e-88a7511ffdf7Zonezone1StateReadyStatus
TypeDATADISKStorage TypesharedHypervisorKVMSize 30.00 GBMin IOPS
Max IOPS
VM IDdetachedVM display name
VM state
Device ID
StorageprimaryCreated29 Jan 2015 11:02:49DomainROOTAccountadmin



Cheers,
Dan

2015-02-03 3:02 GMT-06:00 Geoff Higginbottom 
geoff.higginbot...@shapeblue.com:

 @All,

 Dan has now shared more info on his setup, anyone out there know of any
 known issues with KVM not cleaning up primary storage.

 @Dan - can you confirm we are talking about Root volumes and not Data
 Volumes

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: 02 February 2015 20:14
 To: users@cloudstack.apache.org
 Subject: Re: Force cleaning primary storage.

 Hi, Geoff,
   Thanks a  lot, here are the details:
 1. CloudStack version: 4.4.1
 2. Hypervisor:  KVM
 3. Primary storage is NFS, but system.vm.use.local.storage is set to true.
 And:
 expunge.delay
 360

 expunge.interval
 3600

 expunge.workers
 1



 Cheers,
 Dan

 2015-02-02 10:36 GMT-06:00 Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com:

  Hi Dan,
 
  Please share the following to help the community help you
 
  1. version of cloudstack
  2. Hypervisor Type
  3. Primary Storage Type e.g. NFS / iSCSI
 
  I can confirm CloudStack is supposed to delete Root Volumes from
  physical storage after the VM has been deleted, but Data volumes are
  left in CloudStack as a safeguard against accidental deletion.
  However if you then delete the Data volume from the UI, it will also
  be deleted from Primary Storage.
 
  There are some settings which control the expunge delay within
  CloudStack, these are:
 
  expunge.delay
  expunge.interval
  expunge.workers
 
  If you could also share what these settings are, that would also help
 
  Regards
 
  Geoff Higginbottom
 
  D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
  geoff.higginbot...@shapeblue.com
 
  -Original Message-
  From: Dan Dong [mailto:dongda...@gmail.com]
  Sent: 02 February 2015 16:12
  To: users@cloudstack.apache.org
  Subject: Force cleaning primary storage.
 
  Hi, All,
I found the primary storages are keep decreasing after I create and
  then destroy VMs. Although the VMs are destroyed and expunged, their
  occupation on primary storage seems never been released( even after
 weeks).
  Is there a way to force releasing the disk space after a VM has been
  destroyed?
 
  Cheers,
  Dan
  Find out more about ShapeBlue and our range of CloudStack related
  services
 
  IaaS Cloud Design  Build
  http://shapeblue.com/iaas-cloud-design-and-build//
  CSForge – rapid IaaS deployment
  frameworkhttp://shapeblue.com/csforge/
  CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
  CloudStack Software Engineering
  http://shapeblue.com/cloudstack-software-engineering/
  CloudStack Infrastructure Support
  http://shapeblue.com/cloudstack-infrastructure-support/
  CloudStack Bootcamp Training Courses
  http://shapeblue.com/cloudstack-training/
 
  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.
 
 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software Engineering
 http://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack

SSH Key pair Authentication for Ubuntu14.04 VM of CloudStack.

2015-02-02 Thread Dan Dong
Hi,
  I'm trying to configure VM login by SSH Key pair Authentication instead
of usrename/password on Ubuntu14.04. I'm following the document as:
http://cloudstack-administration.readthedocs.org/en/latest/virtual_machines.html

The main part is under Creating an Instance Template that Supports SSH
Keys, but this example is based on CentOS system, does anybody know how to
configure it on a Ubuntu machine? Thanks!

Cheers,
Dan


Force cleaning primary storage.

2015-02-02 Thread Dan Dong
Hi, All,
  I found the primary storages are keep decreasing after I create and then
destroy VMs. Although the VMs are destroyed and expunged, their occupation
on primary storage seems never been released( even after weeks).
Is there a way to force releasing the disk space after a VM has been
destroyed?

Cheers,
Dan


Re: How to specify custom disk size by cloudmonkey CLI?

2015-01-29 Thread Dan Dong
Thanks Lucian, I found I have to do it this way:
customid=id-of-cusomid size=50

instead of:
diskofferingid=id-of-cusomid rootdisksize=50

Cheers,
Dan


2015-01-29 10:20 GMT-06:00 Nux! n...@li.nux.ro:

 rootdisksize=50

 If you type deploy virtualmachine in cloudmonkey and hit the tab key
 it will list all possible options you have.

 HTH
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Dan Dong dongda...@gmail.com
  To: users@cloudstack.apache.org
  Sent: Thursday, 29 January, 2015 16:11:34
  Subject: How to specify custom disk size by cloudmonkey CLI?

  Hi,
   When I tried to deploy a new instance by cloudmonkey CLI for a
 customized
  disk size, e.g 50GB,
  how to specify the disk size?
  deploy virtualmachine ... diskofferingid=id-of-custom ...
  Error 431: This disk offering requires a custom size specified
 
  Cheers,
  Dan



How to specify custom disk size by cloudmonkey CLI?

2015-01-29 Thread Dan Dong
Hi,
  When I tried to deploy a new instance by cloudmonkey CLI for a customized
disk size, e.g 50GB,
how to specify the disk size?
 deploy virtualmachine ... diskofferingid=id-of-custom ...
Error 431: This disk offering requires a custom size specified

Cheers,
Dan


Re: Hostname and IP address of VMs created from template.

2015-01-23 Thread Dan Dong
Hi, All,
  Thanks for all the info, by recreating the template following the
document, now the newly created VMs have their IP addresses set
automatically, but the hostname still keeps the hostname of  the VM from
which template is created. For CentOS, the hostname is set in the file
/etc/sysconfig/network, apparently new VMs created did not set HOSTNAME
entry from either name or displayname of the input parameter( I set
hostname to localhost as stated in the document before creating the
template).

Cheers,
Dan


2015-01-23 6:45 GMT-06:00 Geoff Higginbottom 
geoff.higginbot...@shapeblue.com:

 Hi Bhavin,

 Firstly the VMs Hostname is always taken from the 'name' setting and not
 the 'display name' this is why the name setting cannot have spaces (as
 Hostnames are not allowed to have spaces) but the display name can.

 Regarding
 https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/append-displayname-vms.html
 - This setting changes how the MVs are listed on vCenter, and does not
 influence the VMs Hostname

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: chinu shah [mailto:chinu2...@gmail.com]
 Sent: 23 January 2015 02:50
 To: users@cloudstack.apache.org
 Cc: vijayendra.bhamidip...@citrix.com; suresh.ramamur...@nuagenetworks.net
 Subject: Re: Hostname and IP address of VMs created from template.

 Thank you Geoff for the response, could you give insights how will it set
 automatically on guest VMs. According to the Documentation (

 https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/append-displayname-vms.html
 ),
 when we create a VM with Display name we still do not see the hostname set
 as display name. We are using centos CentOS 5.3(64-bit) no GUI (vSphere)
 provided by cloudstack. Hypervisor type is VMWare. Does the default
 template miss any scritps to set the hostname as display name. We have set
 the hostname to localhost and manually stopped and rebooted but still the
 hostname was not set to display name.

 Regards,
 Bhavin Shah
 Nuage Networks
 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software Engineering
 http://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 http://shapeblue.com/cloudstack-training/

 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.



cloudmonkey installation problem.

2015-01-22 Thread Dan Dong
Hi,
  When I tried to install cloudmonkey following:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool

I found this error when running the command:
# cloudmonkey
Import error in cloudmonkey.cloudmonkey : No module named packages

Looks like a python envs problem, but no clue yet. Any hints? Thanks!

Cheers,
Dan


Hostname and IP address of VMs created from template.

2015-01-22 Thread Dan Dong
Hi,
  I found that when I create new instances from template of my own( a
centos OS), the IP address
and hostname are not set to the VM automatically, you have to login to the
VM from the UI and set them manually, then a restart will get them take
effect. Does anybody else observe the same issue?

Cheers,
Dan


Re: cloudmonkey installation problem.

2015-01-22 Thread Dan Dong
Exactly, thanks Erik!

Cheers,
Dan


2015-01-22 12:46 GMT-06:00 Erik Weber terbol...@gmail.com:

 If I recall correctly you'll solve that by upgrading the 'requests' python
 package.

 Erik

 Den torsdag 22. januar 2015 skrev Dan Dong dongda...@gmail.com følgende:

  Hi,
When I tried to install cloudmonkey following:
 
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI#CloudStackcloudmonkeyCLI-Usingasacommandlinetool
 
  I found this error when running the command:
  # cloudmonkey
  Import error in cloudmonkey.cloudmonkey : No module named packages
 
  Looks like a python envs problem, but no clue yet. Any hints? Thanks!
 
  Cheers,
  Dan
 



Re: Number of VMs can be created on a KVM host.

2014-12-02 Thread Dan Dong
Thanks Andrija, it works without affinity groups, not sure what wrong with
it, but I could not see the details about the group, only type of host
anti-affinity.

Cheers,
Dan


2014-12-02 1:24 GMT-06:00 Andrija Panic andrija.pa...@gmail.com:

 Hi Dan, could you please try to create VMs without using afinity groups,
 and provide MS log output...

 On 2 December 2014 at 00:45, Dan Dong dongda...@gmail.com wrote:

  Hi, All,
When I tried to create more than 2 VMs on my 2 KVM hosts, it failed
  by Unable
  to create a deployment for VM[User|i-2-17-VM], Please check the affinity
  groups provided, there may not be sufficient capacity to follow them.
 But
  each KVM host has 24 cores, 48GB RAM and 8TB of disk, the instance I
 tried
  to create is a anapshot of a VM which is 100GB size. Seems each KVM host
  could only create one VM here. So not clear what's the problem? Any
  parameters to tune? Thanks.
 
  Cheers,
  Dan
 



 --

 Andrija Panić



VMs could not ping each other.

2014-12-02 Thread Dan Dong
Hi, All,
  After create a few VMs on my KVM hosts, I found they could not see each
other although they are in the same subnet of 192.168.0.*. The route on
each of the VM  is the same as:
Destination Gateway Genmask Flags Metric RefUse
Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG0  00 eth0
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth0

where 192.168.0.1 is the real gateway of the cluster. Each VM can access
the gateway and the internet without problem. Is it a problem of Network
Offering setting( I selected DefaultSharedNetworkOfferingWithSGService
when configuring my Basic Zone Configuration in the UI)? Any hints?

Cheers,
Dan


Number of VMs can be created on a KVM host.

2014-12-01 Thread Dan Dong
Hi, All,
  When I tried to create more than 2 VMs on my 2 KVM hosts, it failed
by Unable
to create a deployment for VM[User|i-2-17-VM], Please check the affinity
groups provided, there may not be sufficient capacity to follow them. But
each KVM host has 24 cores, 48GB RAM and 8TB of disk, the instance I tried
to create is a anapshot of a VM which is 100GB size. Seems each KVM host
could only create one VM here. So not clear what's the problem? Any
parameters to tune? Thanks.

Cheers,
Dan


Re: To let SSVM reach outside network.

2014-11-25 Thread Dan Dong
Hi, Vadim,
  Thanks a lot and that's a bit clear now, but still confused about how to
partition the network, the four NICs of SSVM are generated automatically by
cloudstack, so how do you know which subnet is matched to which NIC?
According to what principle should the partition be made( 4 subnet
altogether?)? There's only one NIC used on the KVM host with IP addreess
192.168.0.101, do you mean to create eth0:0, eth0:1 etc and assign
different IPs to them? The setup of my cloudstack is quite simple, I'm not
testing any advanced or complicated experiment on it, so I'd just like to
find a direct and simple way to make cloudstack up and running.

root@s-1-VM:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
0.0.0.0 192.168.0.1000.0.0.0 UG0  00
eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth1
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth2
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth3


Cheers,
Dan

2014-11-25 2:01 GMT-06:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 Dan,

 Cloudstack guides are not perfect indeed and general rule of thumb
 - not to blind copy instructions. They are not wrong, but there are
 sometimes assumptions hided behind the scene.  One of them -- you can't use
 plain network for everything. You must partition it.

 If you wish to stick to nearly the same configuration try to split
 you 192.168.0.0/24 network into smaller pieces like /27 or /28 subnets.
 Which size and how - decide by yourself. Your final routing table at SSVM
 should contain different interfaces connected to different net-s based on
 network mask.  Of course you should enable inter-net connections, but since
 they are children of the same super-CIDR it should work automatically.
 Re-partition your network and copy-paste new routing table if you still
 have difficulties with it.

 Regards,

 Vadim.


 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Tuesday, November 25, 2014 12:00 AM
 To: users@cloudstack.apache.org
 Subject: Re: To let SSVM reach outside network.

 Hi, Vadim,
   Thanks for the hints. Yes, the route table looks weird, but this comes
 from the official guide of network set up of cloudstack:

 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html

 So I confused if the network pattern from the official guide is misleading
 or one should create VLANs one by one manually and set different IP address
 for each of them explicitly(eth0.100,eth0.200 and eth0.300)? Note that my
 network is nothing special, just put the Management Server, the KVM
 hypervisor and guest VMs all in the 192.168.0.* network. Could you suggest
 an simple example of how the file /etc/network/interfaces on KVM host
 looks like? The official pattern is as below but certainly does not work:
 ===

 auto lo
 iface lo inet loopback
 # The primary network interface
 auto eth0.100
 iface eth0.100 inet static
 address 192.168.42.11
 netmask 255.255.255.240
 gateway 192.168.42.1
 dns-nameservers 8.8.8.8 8.8.4.4
 dns-domain lab.example.org
 # Public network
 auto cloudbr0
 iface cloudbr0 inet manual
 bridge_ports eth0.200
 bridge_fd 5
 bridge_stp off
 bridge_maxwait 1
 # Private network
 auto cloudbr1
 iface cloudbr1 inet manual
 bridge_ports eth0.300
 bridge_fd 5
 bridge_stp off
 bridge_maxwait 1

 

 Cheers,
 Dan





 2014-11-23 7:51 GMT-06:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

  Hello Dan,
 
   Sorry for the late reply, have to be out from internet
  sometimes
  :)
   You have problem with routing. According to arp table default
  interface -- eth2 it is not connected to you 192.168.0.* network and
  can't see gateway (192.168.0.100) what is not ture.  Arp table looks
  ugly -- you have 3 interfaces connected to the same network with same
  Metric.  How do you think VM will choose the correct one??  I suppose
  it will take the first one in line -- eth1 and that is why you see
  eth1 with complete MAC for 192.168.0.100. It always uses eth1 to reach
  other networks, but default gw is eth2.
   For me, network layout looks awkward. It is better to
  re-partition and re-think it.  If you don't want to -- try to fix
  routing table manually. Put metrics to your routes and eth2 should be
  the highest (i.e. have lowest number).  This will temporarty solve the
  problem, but you still have a chance to loose your changes after
  reboot, because routing table is created dynamically.
 
 Fix you network and I believe everything will work out-of-the box.
 
  Regards,
 
  Vadim.
 
  
  From: Dan Dong [dongda...@gmail.com]
  Sent

Re: To let SSVM reach outside network.

2014-11-24 Thread Dan Dong
Hi, Vadim,
  Thanks for the hints. Yes, the route table looks weird, but this comes
from the official guide of network set up of cloudstack:
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html

So I confused if the network pattern from the official guide is misleading
or one should create VLANs one by one manually and set different IP address
for each of them explicitly(eth0.100,eth0.200 and eth0.300)? Note that my
network is nothing special, just put the Management Server, the KVM
hypervisor and guest VMs all in the 192.168.0.* network. Could you suggest
an simple example of how the file /etc/network/interfaces on KVM host
looks like? The official pattern is as below but certainly does not work:
===

auto lo
iface lo inet loopback
# The primary network interface
auto eth0.100
iface eth0.100 inet static
address 192.168.42.11
netmask 255.255.255.240
gateway 192.168.42.1
dns-nameservers 8.8.8.8 8.8.4.4
dns-domain lab.example.org
# Public network
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports eth0.200
bridge_fd 5
bridge_stp off
bridge_maxwait 1
# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports eth0.300
bridge_fd 5
bridge_stp off
bridge_maxwait 1



Cheers,
Dan





2014-11-23 7:51 GMT-06:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 Hello Dan,

  Sorry for the late reply, have to be out from internet sometimes
 :)
  You have problem with routing. According to arp table default
 interface -- eth2 it is not connected to you 192.168.0.* network and can't
 see gateway (192.168.0.100) what is not ture.  Arp table looks ugly -- you
 have 3 interfaces connected to the same network with same Metric.  How do
 you think VM will choose the correct one??  I suppose it will take the
 first one in line -- eth1 and that is why you see eth1 with complete MAC
 for 192.168.0.100. It always uses eth1 to reach other networks, but default
 gw is eth2.
  For me, network layout looks awkward. It is better to
 re-partition and re-think it.  If you don't want to -- try to fix routing
 table manually. Put metrics to your routes and eth2 should be the highest
 (i.e. have lowest number).  This will temporarty solve the problem, but you
 still have a chance to loose your changes after reboot, because routing
 table is created dynamically.

Fix you network and I believe everything will work out-of-the box.

 Regards,

 Vadim.

 
 From: Dan Dong [dongda...@gmail.com]
 Sent: Wednesday, November 19, 2014 17:45
 To: users@cloudstack.apache.org
 Subject: Re: To let SSVM reach outside network.

 Hi, Vadim,
   1. route -n
 root@s-1-VM:~# route -n
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 0.0.0.0 192.168.0.1000.0.0.0 UG0  00
 eth2
 169.254.0.0 0.0.0.0 255.255.0.0 U 0  00
 eth0
 192.168.0.0 0.0.0.0 255.255.255.0   U 0  00
 eth1
 192.168.0.0 0.0.0.0 255.255.255.0   U 0  00
 eth2
 192.168.0.0 0.0.0.0 255.255.255.0   U 0  00
 eth3

 Noted that to the same 192.168.0.0 network, eth1 is searched before eth2,
 while eth2 is supposed to be the public NIC. Should one change the order?

 2. root@s-1-VM:~# arp -n
 cloud (192.168.0.100) at 84:2b:2b:01:c3:d0 [ether] on eth1
 cloud (192.168.0.100) at incomplete on eth2
 ? (169.254.0.1) at fe:00:a9:fe:01:7a [ether] on eth0

 Noted that MAC is incomplete on eth2, while MAC detected on eth1 is the
 correct address of the internal NIC of the Management Server(the gateway
 for 192.168.0.0 subnet).

 3. The network layout is quite simple here( basic network):
 Management Server external NIC:10.*
 Management Server internal NIC: 192.168.0.100

 KVM host NIC: 192.168.0.101
 SSVM and guest VMs are all in 192.168.0.*/24 network.

 4. NAT is configured on the Management Server so 192.168.0.0/24 subnet
 could reach the internet(download packages from internet etc., e.g, from
 KVM host itself)

 Cheers,
 Dan


 2014-11-19 1:23 GMT-06:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

  Dan,
 
  I would suggest you to use external proxy/GW to hide you network. Not the
  same host that contains management server. Because if you would like to
  scale it up - how do you do it?? Management server should be rather
 simple
  component of infrastructure and to put more functions on it is a bad
 idea.
 
  Anyway
  1. what does route -n says on your SSVM ??
  2. If you use KVM your bridges tag the traffic. Are you sure that it is
  properly handled on your switch?? Run arp -a at your SSVM and see if VM
  knowns MAC of the gateway.
 
  I do expect you put the output of route and arp here otherwise we will
  continue guessing.
 
  It would be even better if you describe your network layout

Re: To let SSVM reach outside network.

2014-11-19 Thread Dan Dong
Hi, Vadim,
  1. route -n
root@s-1-VM:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
0.0.0.0 192.168.0.1000.0.0.0 UG0  00
eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth1
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth2
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth3

Noted that to the same 192.168.0.0 network, eth1 is searched before eth2,
while eth2 is supposed to be the public NIC. Should one change the order?

2. root@s-1-VM:~# arp -n
cloud (192.168.0.100) at 84:2b:2b:01:c3:d0 [ether] on eth1
cloud (192.168.0.100) at incomplete on eth2
? (169.254.0.1) at fe:00:a9:fe:01:7a [ether] on eth0

Noted that MAC is incomplete on eth2, while MAC detected on eth1 is the
correct address of the internal NIC of the Management Server(the gateway
for 192.168.0.0 subnet).

3. The network layout is quite simple here( basic network):
Management Server external NIC:10.*
Management Server internal NIC: 192.168.0.100

KVM host NIC: 192.168.0.101
SSVM and guest VMs are all in 192.168.0.*/24 network.

4. NAT is configured on the Management Server so 192.168.0.0/24 subnet
could reach the internet(download packages from internet etc., e.g, from
KVM host itself)

Cheers,
Dan


2014-11-19 1:23 GMT-06:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 Dan,

 I would suggest you to use external proxy/GW to hide you network. Not the
 same host that contains management server. Because if you would like to
 scale it up - how do you do it?? Management server should be rather simple
 component of infrastructure and to put more functions on it is a bad idea.

 Anyway
 1. what does route -n says on your SSVM ??
 2. If you use KVM your bridges tag the traffic. Are you sure that it is
 properly handled on your switch?? Run arp -a at your SSVM and see if VM
 knowns MAC of the gateway.

 I do expect you put the output of route and arp here otherwise we will
 continue guessing.

 It would be even better if you describe your network layout like on the
 first picture here:
 http://cloudstack-administration.readthedocs.org/en/latest/networking_and_traffic.html

 Vadim.

 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Tuesday, November 18, 2014 5:23 PM
 To: users@cloudstack.apache.org
 Subject: Re: To let SSVM reach outside network.

 Hi, Vadim,
   We have to use 2 NICs on the management server as we want to hide the
 cloudstack cluster behind the 10.* network, so all KVM hosts and guest VMs
 are in the 192.168.0.* subnet, and they connect to the management server's
 internal NIC(192.168.0.100). Is it a rule that the management server can
 only use one NIC? And the KVM hypersior host can reach the internet and
 download packages, but SSVM running on it could not see the internet.

 Cheers,
 Dan


 2014-11-18 3:20 GMT-06:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

  Hello Dan,
 
  It seems there is something wrong with your network setup and
  here are some places to search:
  1. Why your management server has 2 NICs?  It should not work as NAT,
  proxy or any kind of switch - keep this in mind.
  2. SSVM normally has to have 3 interfaces (at least). One -- with
  public IP, one -- management network IP and one -- link local IP. If
  you have separate storage network -- it may have one more, but this is
  not your case. Check routing table for your SSVM with route -n
  command. Find your default gateway. It should be public interface.
  3. Did you set up KVM hypervisor network correctly? Does it have 2
  interfaces like in the setup guide? Does your hypervisor have access
  to internet to be able to download template?
 
  Vadim.
 
  -Original Message-
  From: Dan Dong [mailto:dongda...@gmail.com]
  Sent: Monday, November 17, 2014 7:02 PM
  To: users@cloudstack.apache.org
  Subject: To let SSVM reach outside network.
 
  Hi, All,
I found I could not register my ISO image to the cloudstack( through
  URL of
 http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso).
  The SSVM is running and health check show no problems on it. But it
  just could not see the outside network, although SSVM is on the same
  network as KVM host, i.e. 192.168.0.*. My setup is as following:
 
  Management Server external NIC:10.*
  Management Server internal NIC: 192.168.0.100
 
  KVM host NIC: 192.168.0.101
  guest VMs are all in 192.168.0.*/24 network.
 
  From SSVM I can ping the internal IP of the Management Server at
  192.168.0.100, but could not ping the external IP of it at 10.*.
 
  From KVM host itself I can reach the outside internet as NAT is
  configured on the Management Server to let the 192.168.0.0 traffic
  through. Any hints how to let SSVM to reach the internet?
 
 
  Cheers,
  Dan
 



Re: To let SSVM reach outside network.

2014-11-18 Thread Dan Dong
Hi, Vadim,
  We have to use 2 NICs on the management server as we want to hide the
cloudstack cluster behind the 10.* network, so all KVM hosts and guest VMs
are in the 192.168.0.* subnet, and they connect to the management server's
internal NIC(192.168.0.100). Is it a rule that the management server can
only use one NIC? And the KVM hypersior host can reach the internet and
download packages, but SSVM running on it could not see the internet.

Cheers,
Dan


2014-11-18 3:20 GMT-06:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 Hello Dan,

 It seems there is something wrong with your network setup and here
 are some places to search:
 1. Why your management server has 2 NICs?  It should not work as NAT,
 proxy or any kind of switch - keep this in mind.
 2. SSVM normally has to have 3 interfaces (at least). One -- with public
 IP, one -- management network IP and one -- link local IP. If you have
 separate storage network -- it may have one more, but this is not your
 case. Check routing table for your SSVM with route -n command. Find your
 default gateway. It should be public interface.
 3. Did you set up KVM hypervisor network correctly? Does it have 2
 interfaces like in the setup guide? Does your hypervisor have access to
 internet to be able to download template?

 Vadim.

 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Monday, November 17, 2014 7:02 PM
 To: users@cloudstack.apache.org
 Subject: To let SSVM reach outside network.

 Hi, All,
   I found I could not register my ISO image to the cloudstack( through URL
 of http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso).
 The SSVM is running and health check show no problems on it. But it just
 could not see the outside network, although SSVM is on the same network as
 KVM host, i.e. 192.168.0.*. My setup is as following:

 Management Server external NIC:10.*
 Management Server internal NIC: 192.168.0.100

 KVM host NIC: 192.168.0.101
 guest VMs are all in 192.168.0.*/24 network.

 From SSVM I can ping the internal IP of the Management Server at
 192.168.0.100, but could not ping the external IP of it at 10.*.

 From KVM host itself I can reach the outside internet as NAT is configured
 on the Management Server to let the 192.168.0.0 traffic through. Any hints
 how to let SSVM to reach the internet?


 Cheers,
 Dan



To let SSVM reach outside network.

2014-11-17 Thread Dan Dong
Hi, All,
  I found I could not register my ISO image to the cloudstack( through URL
of http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso). The
SSVM is running and health check show no problems on it. But it just could
not see the outside network, although SSVM is on the same network as KVM
host, i.e. 192.168.0.*. My setup is as following:

Management Server external NIC:10.*
Management Server internal NIC: 192.168.0.100

KVM host NIC: 192.168.0.101
guest VMs are all in 192.168.0.*/24 network.

From SSVM I can ping the internal IP of the Management Server at
192.168.0.100, but could not ping the external IP of it at 10.*.

From KVM host itself I can reach the outside internet as NAT is configured
on the Management Server to let the 192.168.0.0 traffic through. Any hints
how to let SSVM to reach the internet?


Cheers,
Dan


Re: Should one create NAT on KVM host?

2014-11-14 Thread Dan Dong
Thank you all for the hints, I'm confusing about the
/etc/network/interfaces configuration on my ubuntu KVM Hypervisor. If I
follow the official guide, the machine just lost network connection and
could not be logged in anymore. While if I add entry for eth0 itself(

auto eth0
iface eth0  inet manual

), SSVM could be created and get logged in, but it could not contact the
Management Server, so still useless. Could anyone provide an example of the
interface settings on Ubuntu KVM? Could entry of eth0.100 and eth0 coexist?
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html

auto lo
iface lo inet loopback
# The primary network interface
auto eth0.100
iface eth0.100 inet static
address 192.168.42.11
netmask 255.255.255.240
gateway 192.168.42.1
dns-nameservers 8.8.8.8 8.8.4.4
dns-domain lab.example.org
# Public network
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports eth0.200
bridge_fd 5
bridge_stp off
bridge_maxwait 1
# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports eth0.300
bridge_fd 5
bridge_stp off
bridge_maxwait 1

Cheers,
Dan


2014-11-14 4:19 GMT-06:00 Nux! n...@li.nux.ro:

 Hello Dan,

 You don't need NAT for IPs in the same subnet to reach each other, but you
 will need it if you want SSVM to reach the internet (and download templates
 etc).

 Also by the sound of it you are running a Basic network with security
 groups, so make sure your security groups will allow VMs to get in touch,
 if that's what you wish.

 HTH
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Dan Dong dongda...@gmail.com
  To: users@cloudstack.apache.org
  Sent: Thursday, 13 November, 2014 21:12:55
  Subject: Should one create NAT on KVM host?

  Hi, All,
   I have a question on basic network configuration of cloudstack:
  1. The Management Server--192.168.0.100
  2. One KVM host-- 192.168.0.101
  3. System VMs-- 192.168.0.110-192.168.0.120
  3. The guest VMs--192.168.0.150-192.168.0.250
 
  That is, they are all in the same network of 192.168.0.0/24, should I
 make
  NAT on the KVM host to let SSVM running on it to contact the Management
  Server( and the outside world)?
 
  (SSVM-KVM Host-Management Server)
 
  Cheers,
  Dan



Should one create NAT on KVM host?

2014-11-13 Thread Dan Dong
Hi, All,
  I have a question on basic network configuration of cloudstack:
1. The Management Server--192.168.0.100
2. One KVM host-- 192.168.0.101
3. System VMs-- 192.168.0.110-192.168.0.120
3. The guest VMs--192.168.0.150-192.168.0.250

That is, they are all in the same network of 192.168.0.0/24, should I make
NAT on the KVM host to let SSVM running on it to contact the Management
Server( and the outside world)?

(SSVM-KVM Host-Management Server)

Cheers,
Dan


Re: SSVM could not access Management Server.

2014-11-11 Thread Dan Dong
Thanks Rajani, I checked that the agent is running on SSVM:
root@s-1-VM:~# service cloud status
CloudStack cloud service (type=secstorage) is running: process id: 3887

When I run




















*SSVM health check, it outputs:First DNS server is  192.168.0.100PING
192.168.0.100 (192.168.0.100): 56 data bytes64 bytes from 192.168.0.22
http://192.168.0.22: Destination Host UnreachableVr HL TOS  Len   ID Flg
off TTL Pro  cks  Src  Dst Data 4  5  00 5400 4859   0 0040  40  01
f05f 192.168.0.22  192.168.0.100 64 bytes from 192.168.0.22
http://192.168.0.22: Destination Host UnreachableVr HL TOS  Len   ID Flg
off TTL Pro  cks  Src  Dst Data 4  5  00 5400 4959   0 0040  40  01
ef5f 192.168.0.22  192.168.0.100 --- 192.168.0.100 ping statistics ---2
packets transmitted, 0 packets received, 100% packet lossWARNING: cannot
ping DNS serverroute followsKernel IP routing tableDestination
Gateway Genmask Flags Metric RefUse
Iface169.254.0.0 0.0.0.0 255.255.0.0 U 0  0
0 eth0192.168.0.0 0.0.0.0 255.255.255.0   U 0  0
0 eth1192.168.0.0 0.0.0.0 255.255.255.0   U 0  0
0 eth2192.168.0.0 0.0.0.0 255.255.255.0   U 0  0
0 eth3*
*Actually although DNS server is set to *
*192.168.0.100( as it is the internal NIC of the Management Server), there
are nothing on it. Just /etc/hosts mappings of hostnames and IPs.*


*Could this DNS IP settings a problem? Or I should set it to 8.8.8.8, but
this VMs are just private and not visible to the outside, confused here.*


*cheers,Dan*

2014-11-10 22:14 GMT-06:00 Rajani Karuturi raj...@apache.org:

 Did you check if the agent is running on SSVM?
 This wiki might help.

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

 ~Rajani

 On Tue, Nov 11, 2014 at 5:04 AM, Dan Dong dongda...@gmail.com wrote:

  Some more info, on SSVM I can see the following routes, there is route
  there, so why SSVM(eth2: 192.168.0.134) could not contact Management
  Server(192.168.0.100)? Can someone help here? Thanks
  root@s-1-VM:~# ip route
  default via 192.168.0.100 dev eth2
  169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.1.47
  172.20.10.0/24 via 192.168.0.100 dev eth1
  172.20.10.30 via 192.168.0.100 dev eth1
  192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.22
  192.168.0.0/24 dev eth2  proto kernel  scope link  src 192.168.0.134
  192.168.0.0/24 dev eth3  proto kernel  scope link  src 192.168.0.25
 
 
  2014-11-10 15:12 GMT-06:00 Dan Dong dongda...@gmail.com:
 
   Hi, All,
 When debugging why my ISOs could not be registered, I found when I
   logged into SSVM, I could not even ping the Management Server, although
   they are both in the 192.168.0.0/24 network, so of course could not
 ping
   outside world. Here are my simple network settings of my
  cloud(1Management
   Server + 1 KVM hypervisor):
  
   1. Management server have 2 NICs:
  em2 pointing outside with 10.0.0.100/24
  em1 pointing inside with 192.168.0.100/24 (also serves as
 DNS
   and Gateway of the cloud)
   2. One KVM hypervisor which has 1 NIC: em1 with 192.168.0.101/24
   3. VMs created on KVM hypervisor will sit on the same network of
   192.168.0.0/24
  
   The weird thing is that I can access the internet from the KVM
 hypervisor
   as NAT is enabled on the Management Server, but for the SSVM(IP of
 eth2:
   192.168.0.89) running on it, it could not even see the Management
   Server(192.168.0.100 on em1). Should one manually re-configure routing
   tables on the SSVM to solve this problem or it is caused by the initial
   network design of the cloud? Thanks!
  
   Cheers,
   Dan
  
  
 



Confusable default routing table on SSVM.

2014-11-11 Thread Dan Dong
Hi, All,
  When debugging why my SSVM could not access outside, I see the following
route table on SSVM:
  root@s-1-VM:~# ip route show
169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.1.47
192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.22
192.168.0.0/24 dev eth2  proto kernel  scope link  src 192.168.0.134
192.168.0.0/24 dev eth3  proto kernel  scope link  src 192.168.0.25

There are 3 rules to reach the same subnet of 192.168.0.0/24 through
different NICs.
The problem is that SSVM could not ping both the KVM host(192.168.0.101) on
which the SSVM is running and the Management Server(192.168.0.100, it is
also set to be the gateway of the 192.168.0.0/24 network), although they
are all on the same subnet. I suspect it is the bridge setings of the KVM,
but no clues yet. Any hints?

root@comp11:/etc# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto em1
iface em1 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.100
dns-nameservers 192.168.0.100

#=CloudStack Network Bridges
# Public network
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports em1.200
bridge_fd 5
bridge_stp off
bridge_maxwait 1

# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports em1.300
bridge_fd 5
bridge_stp off
bridge_maxwait 1


Cheers,
Dan


Re: Confusable default routing table on SSVM.

2014-11-11 Thread Dan Dong
Hi, All,
  Can experts examine the settings above if they are problematic? Could
Management Server, KVM host and VMs all sit in the same 192.168.0.0/24
network? I checked a lot but have no idea, all firewalls have been turned
off but still the SSVM could not contact Management server and the outside.
Thanks a lot!

  Cheers,
  Dan

2014-11-11 10:29 GMT-06:00 Dan Dong dongda...@gmail.com:

 Hi, All,
   When debugging why my SSVM could not access outside, I see the following
 route table on SSVM:
   root@s-1-VM:~# ip route show
 169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.1.47
 192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.22
 192.168.0.0/24 dev eth2  proto kernel  scope link  src 192.168.0.134
 192.168.0.0/24 dev eth3  proto kernel  scope link  src 192.168.0.25

 There are 3 rules to reach the same subnet of 192.168.0.0/24 through
 different NICs.
 The problem is that SSVM could not ping both the KVM host(192.168.0.101)
 on which the SSVM is running and the Management Server(192.168.0.100, it is
 also set to be the gateway of the 192.168.0.0/24 network), although they
 are all on the same subnet. I suspect it is the bridge setings of the KVM,
 but no clues yet. Any hints?

 root@comp11:/etc# cat /etc/network/interfaces
 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 auto em1
 iface em1 inet static
 address 192.168.0.101
 netmask 255.255.255.0
 network 192.168.0.0
 broadcast 192.168.0.255
 gateway 192.168.0.100
 dns-nameservers 192.168.0.100

 #=CloudStack Network Bridges
 # Public network
 auto cloudbr0
 iface cloudbr0 inet manual
 bridge_ports em1.200
 bridge_fd 5
 bridge_stp off
 bridge_maxwait 1

 # Private network
 auto cloudbr1
 iface cloudbr1 inet manual
 bridge_ports em1.300
 bridge_fd 5
 bridge_stp off
 bridge_maxwait 1


 Cheers,
 Dan



Re: Network setup questions.

2014-11-10 Thread Dan Dong
Hi, Sanjeev,
  Thanks, I do not have a web server locally, I want the ISOs to be
downloaded and registered by pointing to a URL of official Ubuntu iso(e.g
http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso). I have
a question about the Gateway setting of the cloudstack, in the above
schema, I set it to 192.169.0.100, which will also be the Gateway for the
VMs created, but I found in the SSVM console, it could not access the
internet, so it could not download any ISOs from the internet. Is the
Gateway setting to the internal NIC of the Management Server wrong(NAT is
enabled and KVM hosts could access the internet without problem)? Thanks!

Cheers,
Dan

2014-11-07 23:30 GMT-06:00 Sanjeev Neelarapu sanjeev.neelar...@citrix.com:

 Option 2 should work fine. For ISOs to register you may need to set the
 global setting parameter allowed.internal.sites to your web server cidr.

 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Saturday, November 08, 2014 2:32 AM
 To: users@cloudstack.apache.org
 Subject: Network setup questions.

 Hi, all,
   I have a simple network setup in my cloud as:
 1. Management server have 2 NICs:
em2 pointing outside with 10.0.0.100/24
em1 pointing inside with 192.168.0.100/24 (also serves as DNS
 and Gateway of the cloud) 2. One KVM hypervisor which has 1 NIC: em1 with
 192.168.0.101/24 3. VMs created on KVM hypervisor will sit on the same
 network of
 192.168.0.0/24

 My question is when I configuring em1 on the KVM hypervisor, if I
 configure it according to the
 guide:

 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html
 The network simply get down and the host could not be accessible through
 ssh. The settings is as following, for option2, network works but could not
 register my ISOs to the zone, so which option to take?(NAT already
 configured on Management server so KVM hypervisor could access the internet)

 KVM# cat /etc/network/interfaces

 auto lo
 iface lo inet loopback

 ==option 1

 auto em1.100
 iface em1.100 inet static
 address 192.168.0.101
 netmask 255.255.255.0
 gateway 192.168.0.100
 dns-nameservers 192.168.0.100

 ===option 2===

 auto em1
 iface em1  inet static
 address 192.168.0.101
 netmask 255.255.255.0
 gateway 192.168.0.100
 dns-nameservers 192.168.0.100


 auto cloudbr0
 ...
 auto cloudbr1
 ...

 Cheers,
 Dan



SSVM could not access Management Server.

2014-11-10 Thread Dan Dong
Hi, All,
  When debugging why my ISOs could not be registered, I found when I logged
into SSVM, I could not even ping the Management Server, although they are
both in the 192.168.0.0/24 network, so of course could not ping outside
world. Here are my simple network settings of my cloud(1Management Server +
1 KVM hypervisor):

1. Management server have 2 NICs:
   em2 pointing outside with 10.0.0.100/24
   em1 pointing inside with 192.168.0.100/24 (also serves as DNS
and Gateway of the cloud)
2. One KVM hypervisor which has 1 NIC: em1 with 192.168.0.101/24
3. VMs created on KVM hypervisor will sit on the same network of
192.168.0.0/24

The weird thing is that I can access the internet from the KVM hypervisor
as NAT is enabled on the Management Server, but for the SSVM(IP of eth2:
192.168.0.89) running on it, it could not even see the Management
Server(192.168.0.100 on em1). Should one manually re-configure routing
tables on the SSVM to solve this problem or it is caused by the initial
network design of the cloud? Thanks!

Cheers,
Dan


Re: SSVM could not access Management Server.

2014-11-10 Thread Dan Dong
Some more info, on SSVM I can see the following routes, there is route
there, so why SSVM(eth2: 192.168.0.134) could not contact Management
Server(192.168.0.100)? Can someone help here? Thanks
root@s-1-VM:~# ip route
default via 192.168.0.100 dev eth2
169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.1.47
172.20.10.0/24 via 192.168.0.100 dev eth1
172.20.10.30 via 192.168.0.100 dev eth1
192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.22
192.168.0.0/24 dev eth2  proto kernel  scope link  src 192.168.0.134
192.168.0.0/24 dev eth3  proto kernel  scope link  src 192.168.0.25


2014-11-10 15:12 GMT-06:00 Dan Dong dongda...@gmail.com:

 Hi, All,
   When debugging why my ISOs could not be registered, I found when I
 logged into SSVM, I could not even ping the Management Server, although
 they are both in the 192.168.0.0/24 network, so of course could not ping
 outside world. Here are my simple network settings of my cloud(1Management
 Server + 1 KVM hypervisor):

 1. Management server have 2 NICs:
em2 pointing outside with 10.0.0.100/24
em1 pointing inside with 192.168.0.100/24 (also serves as DNS
 and Gateway of the cloud)
 2. One KVM hypervisor which has 1 NIC: em1 with 192.168.0.101/24
 3. VMs created on KVM hypervisor will sit on the same network of
 192.168.0.0/24

 The weird thing is that I can access the internet from the KVM hypervisor
 as NAT is enabled on the Management Server, but for the SSVM(IP of eth2:
 192.168.0.89) running on it, it could not even see the Management
 Server(192.168.0.100 on em1). Should one manually re-configure routing
 tables on the SSVM to solve this problem or it is caused by the initial
 network design of the cloud? Thanks!

 Cheers,
 Dan




Network setup questions.

2014-11-07 Thread Dan Dong
Hi, all,
  I have a simple network setup in my cloud as:
1. Management server have 2 NICs:
   em2 pointing outside with 10.0.0.100/24
   em1 pointing inside with 192.168.0.100/24 (also serves as DNS
and Gateway of the cloud)
2. One KVM hypervisor which has 1 NIC: em1 with 192.168.0.101/24
3. VMs created on KVM hypervisor will sit on the same network of
192.168.0.0/24

My question is when I configuring em1 on the KVM hypervisor, if I configure
it according to the
guide:
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html
The network simply get down and the host could not be accessible through
ssh. The settings is as following, for option2, network works but could not
register my ISOs to the zone, so which option to take?(NAT already
configured on Management server so KVM hypervisor could access the internet)

KVM# cat /etc/network/interfaces

auto lo
iface lo inet loopback

==option 1

auto em1.100
iface em1.100 inet static
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.100
dns-nameservers 192.168.0.100

===option 2===

auto em1
iface em1  inet static
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.100
dns-nameservers 192.168.0.100


auto cloudbr0
...
auto cloudbr1
...

Cheers,
Dan


Re: Could not open Management UI after global setting change.

2014-11-06 Thread Dan Dong
Hi, Jessica,
  Thanks, turns out to be a firewall problem.
Dan


2014-11-05 18:00 GMT-06:00 Jessica Wang jessica.w...@citrix.com:

 Dan,

  but still could not open the UI

 What error did you see in browser window?

 (If you are using firefox, you can see error in firebug)

 Jessica


 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Wednesday, November 05, 2014 3:16 PM
 To: users@cloudstack.apache.org
 Subject: Re: Could not open Management UI after global setting change.

 Hi, Jessica,
   Yes, I used the single quote and get the value updated, but still could
 not open the UI even after I reboot the server. I remember after I modified
 this value though the UI this morning, the UI got stuck there and then I
 could not open it anymore, really strange. Any hints?

 +--+--+---+---++---+---+-+---++
 | category | instance | component |
 name  | value  |
 description
 | default_value | updated | scope | is_dynamic |

 +--+--+---+---++---+---+-+---++
 | Advanced | DEFAULT  | management-server |
 secstorage.allowed.internal.sites | 192.168.1.0/24 | Comma separated list
 of cidrs internal to the datacenter that can host template download
 servers, please note 0.0.0.0 is not a valid site | NULL  | NULL
 | NULL  |  0 |

 +--+--+---+---++---+---+-+---++


 Dan


 2014-11-05 16:49 GMT-06:00 Jessica Wang jessica.w...@citrix.com:

  Dan,
 
  You should use single quote instead of double quote like this:
 
 
  update configuration set value='192.168.1.0/24' where
  name='secstorage.allowed.internal.sites';
 
 
 
  Jessica
 
  -Original Message-
  From: Dan Dong [mailto:dongda...@gmail.com]
  Sent: Wednesday, November 05, 2014 2:41 PM
  To: users@cloudstack.apache.org
  Subject: Re: Could not open Management UI after global setting change.
 
  Thanks Erik, I found it, but when I tried to update it, I got error:
  mysql update configuration set secstorage.allowed.internal.sites=
  192.168.1.0/24;
  ERROR 1064 (42000): You have an error in your SQL syntax; check the
 manual
  that corresponds to your MySQL server version for the right syntax to use
  near 'secstorage.allowed.internal.sites=192.168.0.0/24' at line 1
 
 
 
  2014-11-05 16:28 GMT-06:00 Erik Weber terbol...@gmail.com:
 
   On Wed, Nov 5, 2014 at 10:26 PM, Dan Dong dongda...@gmail.com wrote:
  
Hi, Experts,
  When I modified the global settings for
secstorage.allowed.internal.sites
to a different network parameter, I found I could not open the
http://localhost:8080/client UI page anymore, so I could not change
  back
to
the original setting again. How to solve this? Where can I find the
configuration file path on the Management Ububtu server so I can
 modify
   it
back by hand? Thanks!
   
   
   The setting should be in your cloud database in the table
 'configuration'
  
  
   --
   Erik
  
 



Could not open Management UI after global setting change.

2014-11-05 Thread Dan Dong
Hi, Experts,
  When I modified the global settings for secstorage.allowed.internal.sites
to a different network parameter, I found I could not open the
http://localhost:8080/client UI page anymore, so I could not change back to
the original setting again. How to solve this? Where can I find the
configuration file path on the Management Ububtu server so I can modify it
back by hand? Thanks!

Cheers,
Dan


Re: Could not open Management UI after global setting change.

2014-11-05 Thread Dan Dong
Thanks Erik, I found it, but when I tried to update it, I got error:
mysql update configuration set secstorage.allowed.internal.sites=
192.168.1.0/24;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near 'secstorage.allowed.internal.sites=192.168.0.0/24' at line 1



2014-11-05 16:28 GMT-06:00 Erik Weber terbol...@gmail.com:

 On Wed, Nov 5, 2014 at 10:26 PM, Dan Dong dongda...@gmail.com wrote:

  Hi, Experts,
When I modified the global settings for
  secstorage.allowed.internal.sites
  to a different network parameter, I found I could not open the
  http://localhost:8080/client UI page anymore, so I could not change back
  to
  the original setting again. How to solve this? Where can I find the
  configuration file path on the Management Ububtu server so I can modify
 it
  back by hand? Thanks!
 
 
 The setting should be in your cloud database in the table 'configuration'


 --
 Erik



Re: Could not open Management UI after global setting change.

2014-11-05 Thread Dan Dong
Thanks, the value is updated and restarted cloudstack-management, but still
could not open the UI, don't know the reason...

2014-11-05 16:39 GMT-06:00 Jessica Wang jessica.w...@citrix.com:

 Erik,

 You can change the value in database:


 update configuration set value='xxx' where
 name='secstorage.allowed.internal.sites'


 Jessica


 -Original Message-
 From: Erik Weber [mailto:terbol...@gmail.com]
 Sent: Wednesday, November 05, 2014 2:28 PM
 To: users@cloudstack.apache.org
 Subject: Re: Could not open Management UI after global setting change.

 On Wed, Nov 5, 2014 at 10:26 PM, Dan Dong dongda...@gmail.com wrote:

  Hi, Experts,
When I modified the global settings for
  secstorage.allowed.internal.sites
  to a different network parameter, I found I could not open the
  http://localhost:8080/client UI page anymore, so I could not change back
  to
  the original setting again. How to solve this? Where can I find the
  configuration file path on the Management Ububtu server so I can modify
 it
  back by hand? Thanks!
 
 
 The setting should be in your cloud database in the table 'configuration'


 --
 Erik



Re: Could not open Management UI after global setting change.

2014-11-05 Thread Dan Dong
Hi, Jessica,
  Yes, I used the single quote and get the value updated, but still could
not open the UI even after I reboot the server. I remember after I modified
this value though the UI this morning, the UI got stuck there and then I
could not open it anymore, really strange. Any hints?
+--+--+---+---++---+---+-+---++
| category | instance | component |
name  | value  |
description
| default_value | updated | scope | is_dynamic |
+--+--+---+---++---+---+-+---++
| Advanced | DEFAULT  | management-server |
secstorage.allowed.internal.sites | 192.168.1.0/24 | Comma separated list
of cidrs internal to the datacenter that can host template download
servers, please note 0.0.0.0 is not a valid site | NULL  | NULL
| NULL  |  0 |
+--+--+---+---++---+---+-+---++


Dan


2014-11-05 16:49 GMT-06:00 Jessica Wang jessica.w...@citrix.com:

 Dan,

 You should use single quote instead of double quote like this:


 update configuration set value='192.168.1.0/24' where
 name='secstorage.allowed.internal.sites';



 Jessica

 -Original Message-
 From: Dan Dong [mailto:dongda...@gmail.com]
 Sent: Wednesday, November 05, 2014 2:41 PM
 To: users@cloudstack.apache.org
 Subject: Re: Could not open Management UI after global setting change.

 Thanks Erik, I found it, but when I tried to update it, I got error:
 mysql update configuration set secstorage.allowed.internal.sites=
 192.168.1.0/24;
 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
 that corresponds to your MySQL server version for the right syntax to use
 near 'secstorage.allowed.internal.sites=192.168.0.0/24' at line 1



 2014-11-05 16:28 GMT-06:00 Erik Weber terbol...@gmail.com:

  On Wed, Nov 5, 2014 at 10:26 PM, Dan Dong dongda...@gmail.com wrote:
 
   Hi, Experts,
 When I modified the global settings for
   secstorage.allowed.internal.sites
   to a different network parameter, I found I could not open the
   http://localhost:8080/client UI page anymore, so I could not change
 back
   to
   the original setting again. How to solve this? Where can I find the
   configuration file path on the Management Ububtu server so I can modify
  it
   back by hand? Thanks!
  
  
  The setting should be in your cloud database in the table 'configuration'
 
 
  --
  Erik
 



Could not delete Zone(Cloudstack 4.4)

2014-11-04 Thread Dan Dong
Hi,
  When I tried to delete a Zone in the UI, it returns an error as:
The zone is not deletable because there are physical networks in this zone.
What does this mean and how to delete the Zone?

  Cheers,
  Dan


Re: Could not delete Zone(Cloudstack 4.4)

2014-11-04 Thread Dan Dong
No, I will try to delete it. Thanks Motty.


2014-11-04 10:20 GMT-06:00 motty cruz motty.c...@gmail.com:

 Dan,
 have you deleted any networks you created?

 On Tue, Nov 4, 2014 at 7:58 AM, Dan Dong dongda...@gmail.com wrote:

  Hi,
When I tried to delete a Zone in the UI, it returns an error as:
  The zone is not deletable because there are physical networks in this
  zone.
  What does this mean and how to delete the Zone?
 
Cheers,
Dan
 



 --
 Thanks for your support,
 Motty



Could not find My ISOs(openstack 4.4)

2014-11-04 Thread Dan Dong
Hi, All,
  On my ubuntu openstack 4.4, after I registered my iso,  the Ready
status is No, and when I tried to create an instance from this iso, I
just could not see it in the My ISOs tab, do you know what's the possible
problem? Thanks a lot!

  Cheers,
  Dan

​


Re: Could not find My ISOs(openstack 4.4)

2014-11-04 Thread Dan Dong
Forgot to mention that the iso image was downloaded manually and put under
secondary storage path on the Management Server(192.168.0.5) as:
/mnt/secondary/iso/ubuntu-14.04.1-server-amd64.iso.
While in the Add ISO screen, for the URL field, I  put 
http://192.168.0.5/mnt/secondary/iso/ubuntu-14.04.1-server-amd64.iso;.



2014-11-04 15:07 GMT-06:00 Dan Dong dongda...@gmail.com:

 Hi, All,
   On my ubuntu openstack 4.4, after I registered my iso,  the Ready
 status is No, and when I tried to create an instance from this iso, I
 just could not see it in the My ISOs tab, do you know what's the possible
 problem? Thanks a lot!

   Cheers,
   Dan

 ​



Could not find System VM on the UI.

2014-11-03 Thread Dan Dong
Hi, Experts,
  After I installed cloudstack and openned the UI, why I could not see any
System VMs(0) under the Infrastructure tab? I could add
Zone-Pod-Cluster-Hosts. And the system VM has already been downloaded:
ll /mnt/secondary/template/tmpl/1/3/
total 296048
drwxr-xr-x 2 root root  4096 Nov  3 17:08 ./
drwxr-xr-x 3 root root  4096 Nov  3 17:02 ../
-rw-r--r-- 1 root root 303139840 Nov  3 17:08
a2c5d738-e8ee-4143-a16d-ca8a550df236.qcow2
-rw-r--r-- 1 root root   295 Nov  3 17:08 template.properties


  What's the problem? How to add System VM to the cluster? Thanks!

  Cheers,
  Dan

​


Re: Could not find System VM on the UI.

2014-11-03 Thread Dan Dong
Yes, the zone is enabled. How to add a system VM?


2014-11-03 17:29 GMT-06:00 abhisek basu abhisekb...@msn.com:

 Is the zone enabled? CS should create system vms once zone is enabled.

 Sent from my iPhone

  On 4 Nov 2014, at 4:56 am, Dan Dong dongda...@gmail.com wrote:
 
  Hi, Experts,
After I installed cloudstack and openned the UI, why I could not see
 any System VMs(0) under the Infrastructure tab? I could add
 Zone-Pod-Cluster-Hosts. And the system VM has already been downloaded:
  ll /mnt/secondary/template/tmpl/1/3/
  total 296048
  drwxr-xr-x 2 root root  4096 Nov  3 17:08 ./
  drwxr-xr-x 3 root root  4096 Nov  3 17:02 ../
  -rw-r--r-- 1 root root 303139840 Nov  3 17:08
 a2c5d738-e8ee-4143-a16d-ca8a550df236.qcow2
  -rw-r--r-- 1 root root   295 Nov  3 17:08 template.properties
 
 
What's the problem? How to add System VM to the cluster? Thanks!
 
Cheers,
Dan
 
  ​



Re: Could not find System VM on the UI.

2014-11-03 Thread Dan Dong
Ok, I will check fir it. By the way, does anybody know how to bring back
the initial login page that let one select betwen I have used *CloudStack*
before , skip this guide and *Continue with Basic installation* . [Guided
tour]? Currently when I login in, this selection page does not appear any
more. I would like to try the guided steps to see what happen because the
initial try of the guide was interrupted by some reasons. Thanks!

Dan


2014-11-04 7:40 GMT+08:00 Sam Ceylani s...@mistercertified.com:

 on the cs man. server log does it mention anything like zone x ready to
 launch secondary vm (or console vm) probably it thinks it can not launch
 thrm for some reason (you can destroy an ssvm but you cant launch it
 yourself), cs management server log may have the clue about the problem...

 Sent from my iPhone

  On Nov 3, 2014, at 6:36 PM, Dan Dong dongda...@gmail.com wrote:
 
  Yes, the zone is enabled. How to add a system VM?
 
 
  2014-11-03 17:29 GMT-06:00 abhisek basu abhisekb...@msn.com:
 
  Is the zone enabled? CS should create system vms once zone is enabled.
 
  Sent from my iPhone
 
  On 4 Nov 2014, at 4:56 am, Dan Dong dongda...@gmail.com wrote:
 
  Hi, Experts,
   After I installed cloudstack and openned the UI, why I could not see
  any System VMs(0) under the Infrastructure tab? I could add
  Zone-Pod-Cluster-Hosts. And the system VM has already been downloaded:
  ll /mnt/secondary/template/tmpl/1/3/
  total 296048
  drwxr-xr-x 2 root root  4096 Nov  3 17:08 ./
  drwxr-xr-x 3 root root  4096 Nov  3 17:02 ../
  -rw-r--r-- 1 root root 303139840 Nov  3 17:08
  a2c5d738-e8ee-4143-a16d-ca8a550df236.qcow2
  -rw-r--r-- 1 root root   295 Nov  3 17:08 template.properties
 
 
   What's the problem? How to add System VM to the cluster? Thanks!
 
   Cheers,
   Dan
 



RE: VPN for VPC feature in 4.3

2014-07-17 Thread Dan Morrison
I've also encountered the exact same issue. Couldn't Remote Access VPN to
the VPC VR, and thanks to this thread discovered I have no public IP on the
VR (see ifconfig below)


I am also running an upgraded 4.2.1 - 4.3 setup, on KVM hosts. The only
non-standard aspect of my setup is I am using the patched JAR to get around
issue #6464:


https://issues.apache.org/jira/browse/CLOUDSTACK-6464?focusedCommentId=14008807page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14008807


Andrei are you also using the patched JAR? I suspect this might be the root
cause of the issue, either that or the upgrade bug itself.


---


root@r-115-VM:~# ifconfig eth0 Link encap:Ethernet HWaddr 0e:00:a9:fe:00:1d
inet addr:169.254.0.29 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr:
fe80::c00:a9ff:fefe:1d/64 Scope:Link UP BROADCAST RUNNING MULTICAST
MTU:1500 Metric:1 RX packets:219 errors:0 dropped:0 overruns:0 frame:0 TX
packets:220 errors:0 dropped:0 overruns:0 carrier:0 collisions:0
txqueuelen:1000 RX bytes:33934 (33.1 KiB) TX bytes:38836 (37.9 KiB) lo Link
encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128
Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0
dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0
carrier:0 collisions:0 txqueuelen:0 RX bytes:214 (214.0 B) TX bytes:214
(214.0 B)

root@r-115-VM:~#


 Hi Praveen,

I was wondering if you've solved this problem that you were having with VPC
not
getting the IP on the public interface?

I've upgraded ACS from 4.2.1 to 4.3.0 and noticed that all my VPCs do not
have
the public IP address assigned to them on eth1. I've followed the upgrade
instructions and I've downloaded the new system vm as well as restarted all
system vms.

My VPCs worked perfectly well on 4.2.1, but they are not working now as VPC
vr
doesn't have a public IP. I've got plenty of free public IPs and I am also
using
kvm.

Thanks for any help

- Original Message -


From: Praveen Buravilli prav...@citrix.com To: use...@
cloudstack.apache.org Sent: Wednesday, 2 April, 2014 12:19:43 PM Subject:
RE: VPN for VPC feature in 4.3

Yes Benoit, I have 40% of free public IPs available. So, that should not be
an
issue.

I don’t see any errors in log file too. Have you noticed any exceptions in
log
files by any chance when you encountered this issue?

Thanks, Praveen Kumar

-Original Message- From: benoit lair [mailto:kuru...@gmail.com]
Sent: 02 April 2014 17:30 To: use...@cloudstack.apache.org Subject: Re: VPN
for VPC feature in 4.3

Hi Praveen,

I already have this issue with vpc vr : Have you checked if you have some
public ip adresses available on your zone ?

Regards, Benoit.

2014-04-02 12:24 GMT+02:00 Praveen Buravilli prav...@citrix.com:

Thanks Geoff. Actually, eth1 for VPC router is missing.

When I looked at log file, surprisingly a request has been sent to create
router VM with two NICs(one link local and other public) whereas, the
router was created with only one NIC.

Any thoughts? fyi, I'm running CloudStack 4.3 with KVM nodes.

Here attached is log file snippet containing both request and response info
on router start command:

(Highlighted NIC entries in the log with red and green texts).

==


2014-04-02 06:00:47,968 DEBUG [c.c.a.t.Request]
(Job-Executor-35:ctx-544b3513 ctx-5d9c4b47) Seq 6-1545667825: Sending { Cmd
, MgmtId: 52237010300, via: 6(localhost.localdomain), Ver: v1, Flags:
100111,
[{com.cloud.agent.api.StartCommand:{vm:{id:43,name:r-43-VM,
type:DomainRouter,cpus:1,minSpeed:500,maxSpeed:500,minRam:1
34217728,maxRam:134217728,arch:x86_64,os:Debian GNU/Linux
7(64-bit),bootArgs: vpccidr=10.201.0.0/16domain=cs7cloud.internal
dns1=8.8.8.8 template=domP name=r-43-VM eth0ip=169.254.1.131
eth0mask=255.255.0.0 type=vpcrouter
disable_rp_filter=true,rebootOnCrash:false,enableHA:true,limitCp
uUse:false,enableDynamicallyScaleVm:false,vncPassword:21a870dc77
23830,params:{},uuid:05b714cf-a511-42d9-b24a-6d077342865f,disk
s:[{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid
:b61da4e1-121e-4e02-b345-35719deec994,volumeType:ROOT,dataStore
:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:90ff
a1df-e8bd-3e46-893d-bb9b63e0b180,id:2,poolType:NetworkFilesystem
,host:172.20.105.2,path:/export/praveen/csprimary,port:2049
,url:NetworkFilesystem://
172.20.105.2//export/praveen/csprimary/?ROLE=PrimarySTOREUUID=90ffa1d
f-e8bd-3e46-893d-bb9b63e0b180

Using IBM powerVM

2014-07-07 Thread Dan Crowe
Hi

Has anybody worked with PowerVM in ACS environment?

Thanks

Dan Crowe
ShapeBlue SA

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

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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 is a registered trademark.


Re: Using IBM powerVM

2014-07-07 Thread Dan Crowe
Thanks Ilya

Yes, that is the case re old mammoth!  Changing direction and asking
questions though.


Dan







On 2014/07/08, 5:53 AM, ilya musayev ilya.mailing.li...@gmail.com
wrote:

I assume this implies AIX. There were number of threads (including mine)
asking about AIX support on CloudStack. As it stands, other than IBM -
no other cloud solution has support for it (AFAIK).

Regards,
ilya

PS: AIX is usually run by mammoth shops that started at least 30 years
ago - is it the case for you as well?



On 7/7/14, 2:21 PM, Dan Crowe wrote:
 Hi

 Has anybody worked with PowerVM in ACS environment?

 Thanks

 Dan Crowe
 ShapeBlue SA

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

 IaaS Cloud Design 
Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
 CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Infrastructure
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training
Courseshttp://shapeblue.com/cloudstack-training/

 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 is a registered trademark.



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

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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 is a registered trademark.


Importing VMDKs

2014-02-07 Thread Dan Belkie
Hey all!
Brand new to the list, and looking for a private cloud solution for onsite.

In my current office environment I have a pretty large VMware Virtual
Centre deployment, and I am looking to DR it to a private cloud that I will
be building. Yes I could just duplicate my VMware environment in the second
location and use SRM or something like that, but the private cloud solution
will have 3 main purposes:

1) DR for my existing VMware environment.
2) Test and Dev for users in the office where the DR site will be hosted.
(so brand new... now VMware involved).
3) I would like to save money on my VMware licensing.

Now that I have set the stage... I am looking to determine how and what the
process is for taking a VMDK from my VMware environment, and importing it
to a private cloud. I have been searching if this is possible with
cloudstack, and I cant find too much. I would prefer to not have to go
through a long import process if at all possible.

If this is possible can someone point me to some whitepapers or
documentation on how this is done?

Thanks!
Dan


Re: Cloudstack on VMs

2013-12-19 Thread dan


 Hi Jitendra, 

Im running cloudstack management servers and cloudstack database servers as 
VMs. 2 VM for management and 2 VMs for database. Database VM(s) are HA mysql 
cluster. Management VM - just behind loadbalancer. Of cause that VMs are not 
controlled by cloudstack, in my case they are just VMs running under XEN.
 Hi All,

 In the last month I had successfully deployed cloudstack 4.0.2 on 2
 physical machines (one was VT enabled ubuntu host and other was ubuntu
 management server ).

 Can anyone please tell me, whether it possible to deploy cloudstack on 2
 virtual machines?

 Thanks,
 Jitendra




This message was sent using IMP, the Internet Messaging Program.


cloudstack usage for non-root domains

2013-12-01 Thread dan


Hi All,  

is there special configuration to enable usage for non root domains ? i don't 
see any usage statistc other then for root domain. Did the following query: 

mysql select distinct(domain_id) from cloud_usage; 

+---+ 

| domain_id |

+---+ 

| 1 |

+---+ 

1 row in set (0.00 sec)

database cloud_usage. Missed to configured something ? 

Dan


This message was sent using IMP, the Internet Messaging Program.


CPU overprovisioning.

2013-11-27 Thread dan


Hi all,  

I configured CPU over provisioning factor 2.0 but cloudstack (4.2) shows no 
changes on the dashboard. computational nodes are XenServer 6.2, 2x4cores. Any 
hints are more then welcome. 

Dan.


This message was sent using IMP, the Internet Messaging Program.


Re: Scheduled snapshots doesn't work as expected

2013-11-27 Thread dan
 Nope, it didn't help. 
 Can you please try running the update resource count action for the
 account and see if that helps ?

 On 27/11/13 12:24 PM, d...@soleks.com d...@soleks.com wrote:



 Hi All,

 For last couple days i was fighting with scheduled snapshot issue. I
 configured snapshot limit for one of the account as 64. Settings for
 hourly, daily, weekly and monthly also pretty high (but in sum not more
 then 64). Account has 2 volumes i scheduled snapshots for. Cloudstack
 created 8 snapshots (6 hourly and 2 daily) and started to complain that
 limit for 'snapshot' resources reached. I increased maximum allowed
 snapshots up to 128, CS said that 'secondary-storage' limit reached (it's
 configured as 512G). I removed all snapshots for that account, it was
 reflected on the dashboard, sec storage utilization changed, but still
 wasn't able to create snapshots for that account. Then i configured
 'snapshot' settings for account as -1 and snapshot scheduler started to
 create snapshots. Does anybody has such problem or i miss-configured
 something.

 Dan.

 
 This message was sent using IMP, the Internet Messaging Program.





This message was sent using IMP, the Internet Messaging Program.


Re: CPU overprovisioning.

2013-11-27 Thread dan
 That is what i didn't know about. Is it possible to update that settings for 
existing cluster ? 
 Did you change the global setting or the cluster setting ?
 In 4.2 changing global setting only affects the newly created clusters
 factor not the existing ones.

 On 27/11/13 12:26 PM, d...@soleks.com d...@soleks.com wrote:



 Hi all,

 I configured CPU over provisioning factor 2.0 but cloudstack (4.2) shows
 no changes on the dashboard. computational nodes are XenServer 6.2,
 2x4cores. Any hints are more then welcome.

 Dan.

 
 This message was sent using IMP, the Internet Messaging Program.





This message was sent using IMP, the Internet Messaging Program.


Re: CPU overprovisioning.

2013-11-27 Thread dan
 Super !!! Fixed. Thanks for heads-up. 
  That is what i didn't know about. Is it possible to update that 
 settings for existing cluster ?
 Did you change the global setting or the cluster setting ?
 In 4.2 changing global setting only affects the newly created clusters
 factor not the existing ones.

 On 27/11/13 12:26 PM, d...@soleks.com d...@soleks.com wrote:



 Hi all,

 I configured CPU over provisioning factor 2.0 but cloudstack (4.2) shows
 no changes on the dashboard. computational nodes are XenServer 6.2,
 2x4cores. Any hints are more then welcome.

 Dan.

 
 This message was sent using IMP, the Internet Messaging Program.




 
 This message was sent using IMP, the Internet Messaging Program.




This message was sent using IMP, the Internet Messaging Program.


Re: RE: Changing compute offering needs a restarting to take effect.

2013-07-02 Thread Dan Griffith
Dan Griffith
Critical Systems Consulting
980-202-CRIT (980.202.2748)
d...@critsyscon.com
Twitter https://twitter.com/#!/critsyscon |
Google+https://plus.google.com/u/0/110824920679253529613/posts/p/pub|
LinkedIn http://www.linkedin.com/in/critsyscon




On Tue, Jul 2, 2013 at 10:18 AM, WXR 1485739...@qq.com wrote:

 cloudstack4.1,use kvm as hypervisor.

 -- Original --
 From:  Geoff Higginbottomgeoff.higginbot...@shapeblue.com;
 Date:  Tue, Jul 2, 2013 09:57 PM
 To:  users@cloudstack.apache.orgusers@cloudstack.apache.org;

 Subject:  RE: Changing compute offering needs a restarting to take effect.



 What version of CloudStack, and also what HyperVisor are you using

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com


 -Original Message-
 From: WXR [mailto:1485739...@qq.com]
 Sent: 02 July 2013 14:49
 To: users
 Subject: Changing compute offering needs a restarting to take effect.

 When I stop a instance and change its compute offering from one to
 another(e.g. 1 cpu to 2 cpus),the vm's compute offering will not change to
 the new one after the first starting.And if I restart the vm again,it will
 apply the new computer offering. Why?
 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
 operated under license from Shape Blue Ltd. ShapeBlue is a registered
 trademark.