[Doc] Multiple IP Address per NIC for Review

2013-08-02 Thread Radhika Puthiyetath
Hi,

Multiple IP Address per NIC documentation is ready for review. The doc is 
attached at https://issues.apache.org/jira/browse/CLOUDSTACK-809.

Please see 15.9. Configuring Multiple IP Addresses on a Single NIC  (134), and 
provide your feedback.

Regards
-Radhika




Re: How to limit network's throughput?

2013-08-02 Thread Tao Lin
Hmmm,what a pity.Anyway, thanks a lot, Swamy.


Best regards.


2013/8/2 Venkata SwamyBabu Budumuru 

> AFAIK,
>
> Network throttling feature is currently not supported by CS on KVM
> hypervisor.
>
> Thanks,
> SWAMY
>
> On 02/08/13 10:46 AM, "Tao Lin"  wrote:
>
> >Hey, Venkata SwamyBabu:
> >Thanks for your reply, I'm using KVM as the hypervisor. I have no idea
> >where are the domain-xml-files of VMs created by cloudstack.
> >
> >
> >Best regards.
> >
> >
> >2013/8/2 Venkata SwamyBabu Budumuru  >
> >
> >> What is the hypervisor you are using? Do you see that the hypervisor has
> >> set the right value for the Guest NIC?
> >>
> >> Thanks,
> >> SWAMY
> >>
> >> On 02/08/13 9:49 AM, "Tao Lin"  wrote:
> >>
> >> >Hi,all:
> >> >  I tried to limit VMs' network throughput but failed to do so.I first
> >>set
> >> >the global setting of vm.network.throttling.rate to 8 (it means 8 Mb/s,
> >> >1MB/s )and restarted management-server,  then created an service
> >>offering
> >> >in which the Network-Rate option was limited to 1MB.Finally I started a
> >> >new
> >> >VM.However, the settings seemed not work because the VM's network
> >> >throughput was able to  reach to 11MB/s which is the maximum value of
> >>my
> >> >switch.
> >> >I'm working with CS4.1,CentOS6.4, and using KVM as the hypervisor.All
> >>the
> >> >machines including VMs are located on a single subnet of
> >>192.168.1.0/24.
> >>
> >>
>
>


[Doc] Egress Firewall Rules for Review

2013-08-02 Thread Radhika Puthiyetath
Hi,

Egress Firewall Rules documentation is ready for review. The doc is attached at 
https://issues.apache.org/jira/browse/CLOUDSTACK-2685

Please see 15.22.2. Egress Firewall Rules in Advanced Zone(165), and provide 
your feedback.

Regards
-Radhika




[Doc] IP Address Reservation is Ready for Review

2013-08-02 Thread Radhika Puthiyetath
Hi,

IP Reservation documentation is ready for review. The doc is attached at 
https://issues.apache.org/jira/browse/CLOUDSTACK-850.

Please see 15.7. IP Reservation in Isolated Guest Networks, and provide your 
feedback.

Regards
-Radhika




[Doc] PVLAN Doc is Ready for Review

2013-08-02 Thread Radhika Puthiyetath
Hi,

PVLAN  documentation is ready for review. The doc is attached at 
https://issues.apache.org/jira/browse/CLOUDSTACK-850.

Please see 15.14. Isolation in Advanced Zone Using Private VLAN (141), and 
provide your feedback.

Regards
-Radhika




Problem when installing Cloudstack in Ububtu 12.04

2013-08-02 Thread Tonmoy Paul
Dear All:

trying installation of cloudstack in Ubuntu 12.04 64bit using 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.html
 link

mvn3 clean install -P developer,systemvm

when I use the above command, the process lasts for some minutes and then it 
stops with the below error:



BUILD FAILURE
[INFO] 
[INFO] Total time: 3:24.154s
[INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
[INFO] Final Memory: 40M/224M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(package) on project cloud-marvin: Command execution failed. Process exited 
with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :cloud-marvin


I have tried but since I am very new in this world... I could not solved the 
problem

Re: Problem when installing Cloudstack in Ububtu 12.04

2013-08-02 Thread Dean Kamali
12.4.1 or 12.4.2? Keep in mind only 4.2.1 is supported according to
documentations
On Aug 2, 2013 9:41 AM, "Tonmoy Paul"  wrote:

> Dear All:
>
> trying installation of cloudstack in Ubuntu 12.04 64bit using
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.htmllink
>
> mvn3 clean install -P developer,systemvm
>
> when I use the above command, the process lasts for some minutes and then
> it stops with the below error:
>
>
>
> BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 3:24.154s
> [INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
> [INFO] Final Memory: 40M/224M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project
> cloud-marvin: Command execution failed. Process exited with an error: 1
> (Exit value: 1) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :cloud-marvin
>
>
> I have tried but since I am very new in this world... I could not solved
> the problem


NFS share

2013-08-02 Thread Chitra Manjunath
Hi

In the cloustack installation guide  for 4.0.2 version
section 4.5.5.2.
# mount -t nfs :/export/secondary /secondarymount
# umount /secondarymount

I didn't understand these commands, whether I need to mount the secondary or 
not.




 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


Re: Problem when installing Cloudstack in Ububtu 12.04

2013-08-02 Thread Karthik Kothuri
Hey Tonmoy,

If you are using Ubuntu 12.04 (precise), you don't have to compile again
using Maven since the package repo for Precise is already available.You can
skip this step

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/configure-package-repository.html#configure-package-repository-deb

You can directly add
deb http://cloudstack.apt-get.eu/ubuntu precise 4.0

/etc/apt/sources.list.d/cloudstack.list

Compiling using Maven is needed for other version of Ubuntu, since the
package repo is
not yet available .

Hope this helps.

Thank you.


On Fri, Aug 2, 2013 at 7:09 PM, Tonmoy Paul  wrote:

> Dear All:
>
> trying installation of cloudstack in Ubuntu 12.04 64bit using
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.htmllink
>
> mvn3 clean install -P developer,systemvm
>
> when I use the above command, the process lasts for some minutes and then
> it stops with the below error:
>
>
>
> BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 3:24.154s
> [INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
> [INFO] Final Memory: 40M/224M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project
> cloud-marvin: Command execution failed. Process exited with an error: 1
> (Exit value: 1) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :cloud-marvin
>
>
> I have tried but since I am very new in this world... I could not solved
> the problem


Re: Problem when installing Cloudstack in Ububtu 12.04

2013-08-02 Thread Péter Láng
The solution for this exact problem is most likely:
apt-get install python-setuptools

But I'll post here my other experiences too, "as a warning". :)

So I've been trying to get CS working on Ubuntu 12.04.2 in the past few
days, and I must say the situation is not quite good. The guide is outdated
and has some typos too.

For example the line mentioned above,
deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
is outdated too, it will only get you to CS 4.0, naturally. To get 4.1 you
have to change the version at the end of the line. The next issue you will
face with that is that there's no longer a "cloud-client" in the repo. You
have to apt-get the cloudstack-management package instead.

BUT actually I would NOT recommend 4.1 if you plan to use KVM, because it
most likely won't work with Ubuntu LTS! (see
https://issues.apache.org/jira/browse/CLOUDSTACK-2872)

So I ended up building 4.1.1 (
http://www.apache.org/dyn/closer.cgi/cloudstack/releases/4.1.1/apache-cloudstack-4.1.1-src.tar.bz2)
from source. To avoid the problem of the first message, you need to get
python-setuptools for this version too. Then you have to set up your local
repo based on the guide, and apt-get from there. (You need a webserver to
do it ofc, apt-get install apache2 pretty much does the work. You will also
face some other issues along the way, the guide copies the file to a wrong
path, so first you'll get a 404, but the solution to those are trivial.
Also disregard the maven3 blurb of the guide, Ubuntu LTS now does have mvn
3+ in the repo, so you can use the default maven package.)

Just to save you from some headache. Also, prepare for more trouble down
the road, this is just the tip of the iceberg. My system is still not
functional. Ubuntu support needs some work.

P


2013/8/2 Karthik Kothuri 

> Hey Tonmoy,
>
> If you are using Ubuntu 12.04 (precise), you don't have to compile again
> using Maven since the package repo for Precise is already available.You can
> skip this step
>
>
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/configure-package-repository.html#configure-package-repository-deb
>
> You can directly add
> deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
>
> /etc/apt/sources.list.d/cloudstack.list
>
> Compiling using Maven is needed for other version of Ubuntu, since the
> package repo is
> not yet available .
>
> Hope this helps.
>
> Thank you.
>
>
> On Fri, Aug 2, 2013 at 7:09 PM, Tonmoy Paul  wrote:
>
> > Dear All:
> >
> > trying installation of cloudstack in Ubuntu 12.04 64bit using
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.htmllink
> >
> > mvn3 clean install -P developer,systemvm
> >
> > when I use the above command, the process lasts for some minutes and then
> > it stops with the below error:
> >
> >
> >
> > BUILD FAILURE
> > [INFO]
> > 
> > [INFO] Total time: 3:24.154s
> > [INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
> > [INFO] Final Memory: 40M/224M
> > [INFO]
> > 
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project
> > cloud-marvin: Command execution failed. Process exited with an error: 1
> > (Exit value: 1) -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> > -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn  -rf :cloud-marvin
> >
> >
> > I have tried but since I am very new in this world... I could not solved
> > the problem
>


Re: Cloudstack 4.1 Maven install issue - POM

2013-08-02 Thread David Nalley
Cloud-client is the pre-4.1 name.
cloudstack-management is the 4.1 name for this package.

--David
On Jul 22, 2013 2:32 AM, "Karthik Kothuri" 
wrote:

> Thanks Indra.
>
> I did proceed by adding the deb in the cloudstack.list
>
> Now when I am installing cloudstack-client I see the following error
>
> reading package list ... Done
> Building dependency tree
> reading state information.. Done
> Package cloud-client is not available, but is referred to by another
> package
> this may mean that the package is missing, has been obsolete, or is only
> available from another source.
>
> N: Ignoring file 'release.asc' in directory '/etc/apt/sources.list.d' as it
> has been invalid filename extension
> E: Package 'cloud-client' has no installation candidate
>
> The sources.list.d folder has cloudstack.list*,
> natercarlson-maven3-precise.list, natercarlson-maven3-precise.list.save and
> release.asc*
>
> I did include the following URL in  cloudstack.list
>
> deb http://cloudstack.apt-get.eu/ubuntu precise 4.1
>
>
> I feel I went wrong somewhere.Please help.
>
>
> On Sat, Jul 20, 2013 at 7:52 AM, Indra Pramana  wrote:
>
> > Hi,
> >
> > If you are using Ubuntu 12.04 (precise), you don't have to compile again
> > using Maven since the package repo for Precise is already available.
> >
> >
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/configure-package-repository.html#configure-package-repository-deb
> >
> > There's just a typo error there, it should be 4.1 instead of 4.0.
> > /etc/apt/sources.list.d/cloudstack.list should contain:
> >
> > deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
> >
> > Compiling using Maven is needed for Ubuntu 13.04, since the package repo
> is
> > not yet available for raring.
> >
> > Hope this helps.
> >
> > Thank you.
> >
> >
> > On Sat, Jul 20, 2013 at 7:35 AM, Karthik Kothuri <
> > karthik.koth...@eis.ernet.in> wrote:
> >
> > > HI,
> > >
> > > I am trying to install cloudstack 4.1 on Ubuntu 12.04. When running the
> > > following command as per the installation document I see an error.
> > >
> > >
> > > mvn clean install -P developer,systemvm
> > >
> > >
> > > Following is the error,
> > >
> > >
> > > Non-resolvable parent POM: Could not transfer artifact artifact
> > > org.apache:apache:pom:11 from/to central (
> > > http://repo/maven.apache.org/maven2): repo.maven.apache.org and
> > > 'parent.relativePath' points at wrong local POM @ line 23, cloumn
> > > 11:unknown host
> > >
> > >
> > > It appears that the repo is does not exist. Any solution ?
> > >
> > >
> > > Thanks,
> > > Karthik.
> > >
> >
>
>
>
> --
> Thanks and Regards,
> Karthik Kothuri
>


Re: 答复: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread Cindy Jiang
Yes, I did before, but no luck. I think it is because there is no static
IP or dynamic DHCP information in the configuration file.

I am wondering if Cloudstack pass these information, where is it stored?

Thanks,
Cindy





On 8/1/13 8:07 PM, "Yan Ke"  wrote:

>Have you tried to bring-up eht0 and restart the network service?
>
>Just try:
>ifconfig eth0 up;
>service network restart;
>
>On 2013年08月02日 09:51, Jerry Jiang wrote:
>> Hi Cindy,
>>
>> I faced the same issue days ago, and asked in this mail thread.
>>
>> It seems there is CS bug in basic network. You could try with advanced
>> network to see the bug is there or not.
>>
>> Thanks
>> -Jerry
>>
>> -邮件原件-
>> 发件人: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
>> 发送时间: 2013年8月2日 星期五 5:51
>> 收件人: users@cloudstack.apache.org; Soheil Eizadi
>> 主题: Re: IP Address assigned by CS is not passed to new instance VM
>>
>> You cannot attach anything or use HTML on Apache mailing lists.
>> Can you try and bring up the interface up manually ifconfig eth0 up
>>dhclient
>> eth0
>>
>> Does the "built-in" template work?
>>
>> On 8/1/13 2:45 PM, "Cindy Jiang"  wrote:
>>
>>> Somehow I can't attach screenshots. So I copy the outputs of this
>>> CentOS instance here. As you can see, the ethernet0 interface
>>> configuration doesn't contain any ip address or default gateway
>>> information, even though Cloudstack assigns these information
>>>correctly.
>>> [root@localhost network-scripts]# ifconfig
>>> loLink 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:0 errors:0 dropped:0 overruns:0 frame:0
>>>  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>  collisions:0 txqueuelen:0
>>>  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>>
>>> [root@localhost network-scripts]# hostname Localhost.localdomain
>>> [root@localhost network-scripts]# cat ifcfg-eth0 DEVICE="eth0"
>>> HWADDR="06:57:6E:00:00:2A"
>>> NM_CONTROLLED="yes"
>>> ONBOOT="no"
>>>
>>> From: Cindy Jiang mailto:cji...@infoblox.com>>
>>> Reply-To: 
>>> "users@cloudstack.apache.org"
>>> mailto:users@cloudstack.apache.org>>
>>> Date: Thursday, August 1, 2013 2:34 PM
>>> To: "users@cloudstack.apache.org"
>>> mailto:users@cloudstack.apache.org>>,
>>> Soheil Eizadi mailto:seiz...@infoblox.com>>
>>> Subject: Re: IP Address assigned by CS is not passed to new instance VM
>>>
>>> Attach the screenshots
>>>
>>> [cid:CFDFC580-184D-4F0E-AF41-5AF18794D413][cid:7E1641EF-DEBC-4A25-90B3-
>>> 3B1
>>> 32C1A66B0]
>>>
>>> [cid:DA5AC137-FC18-4A63-9367-7583EB1A6940]
>>>
>>> From: Cindy Jiang mailto:cji...@infoblox.com>>
>>> Reply-To: 
>>> "users@cloudstack.apache.org"
>>> mailto:users@cloudstack.apache.org>>
>>> Date: Thursday, August 1, 2013 2:24 PM
>>> To: "users@cloudstack.apache.org"
>>> mailto:users@cloudstack.apache.org>>,
>>> Soheil Eizadi mailto:seiz...@infoblox.com>>
>>> Subject: IP Address assigned by CS is not passed to new instance VM
>>>
>>> Hello,
>>>
>>> We are trying to create a new instance with basic networking setup
>>> using CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my
>> case:
>>> 10.60.176.110) to this new centOS instance, but once you log into this
>>> VM, check "ifconfig" and "/etc/sysconfig/network-scripts/ifcfg-eth0",
>>> the IP Address and default gateway information are not passed through
>>> correctly. The same issue with hostname  instead of "centos-107", it
>>> shows as "localhost.localdomain". Please see attached screenshots. Has
>>> anyone experienced the similar issue?
>>>
>>> Our environment:
>>>
>>>  1.  CS 4.2
>>>  2.  XenServer 6.0.2
>>>  3.  CentOS 6.0 ISO
>>>
>>> Thanks,
>>> Cindy
>>
>
>



Re: 答复: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread Cindy Jiang
Hi Jerry,

Thanks for this information. Is it related to CS 4.2 or early releases?
We will look into it.

-Cindy



On 8/1/13 6:51 PM, "Jerry Jiang"  wrote:

>Hi Cindy,
>
>I faced the same issue days ago, and asked in this mail thread.
>
>It seems there is CS bug in basic network. You could try with advanced
>network to see the bug is there or not.
>
>Thanks
>-Jerry
>
>-邮件原件-
>发件人: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
>发送时间: 2013年8月2日 星期五 5:51
>收件人: users@cloudstack.apache.org; Soheil Eizadi
>主题: Re: IP Address assigned by CS is not passed to new instance VM
>
>You cannot attach anything or use HTML on Apache mailing lists.
>Can you try and bring up the interface up manually ifconfig eth0 up
>dhclient
>eth0
>
>Does the "built-in" template work?
>
>On 8/1/13 2:45 PM, "Cindy Jiang"  wrote:
>
>>Somehow I can't attach screenshots. So I copy the outputs of this
>>CentOS instance here. As you can see, the ethernet0 interface
>>configuration doesn't contain any ip address or default gateway
>>information, even though Cloudstack assigns these information correctly.
>>[root@localhost network-scripts]# ifconfig
>>loLink 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:0 errors:0 dropped:0 overruns:0 frame:0
>>  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>  collisions:0 txqueuelen:0
>>  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>
>>[root@localhost network-scripts]# hostname Localhost.localdomain
>>[root@localhost network-scripts]# cat ifcfg-eth0 DEVICE="eth0"
>>HWADDR="06:57:6E:00:00:2A"
>>NM_CONTROLLED="yes"
>>ONBOOT="no"
>>
>>From: Cindy Jiang mailto:cji...@infoblox.com>>
>>Reply-To: 
>>"users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>
>>Date: Thursday, August 1, 2013 2:34 PM
>>To: "users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>,
>>Soheil Eizadi mailto:seiz...@infoblox.com>>
>>Subject: Re: IP Address assigned by CS is not passed to new instance VM
>>
>>Attach the screenshots
>>
>>[cid:CFDFC580-184D-4F0E-AF41-5AF18794D413][cid:7E1641EF-DEBC-4A25-90B3-
>>3B1
>>32C1A66B0]
>>
>>[cid:DA5AC137-FC18-4A63-9367-7583EB1A6940]
>>
>>From: Cindy Jiang mailto:cji...@infoblox.com>>
>>Reply-To: 
>>"users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>
>>Date: Thursday, August 1, 2013 2:24 PM
>>To: "users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>,
>>Soheil Eizadi mailto:seiz...@infoblox.com>>
>>Subject: IP Address assigned by CS is not passed to new instance VM
>>
>>Hello,
>>
>>We are trying to create a new instance with basic networking setup
>>using CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my
>case:
>>10.60.176.110) to this new centOS instance, but once you log into this
>>VM, check "ifconfig" and "/etc/sysconfig/network-scripts/ifcfg-eth0",
>>the IP Address and default gateway information are not passed through
>>correctly. The same issue with hostname  instead of "centos-107", it
>>shows as "localhost.localdomain". Please see attached screenshots. Has
>>anyone experienced the similar issue?
>>
>>Our environment:
>>
>>  1.  CS 4.2
>>  2.  XenServer 6.0.2
>>  3.  CentOS 6.0 ISO
>>
>>Thanks,
>>Cindy
>



Re: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread Cindy Jiang
Hi Chiradeep,

Thanks. "Dhclient eth0" would assign a IP address to my VM, but it is a
different IP instead of the IP Address assigned by CS.

Moreover, what we are trying to do is to automate the VM provisioning
process, similar to what sriharsha said in his email, and the manual
enablement with DHCP is not desired…

Thanks,
Cindy



On 8/1/13 2:50 PM, "Chiradeep Vittal"  wrote:

>You cannot attach anything or use HTML on Apache mailing lists.
>Can you try and bring up the interface up manually
>ifconfig eth0 up
>dhclient eth0
>
>Does the "built-in" template work?
>
>On 8/1/13 2:45 PM, "Cindy Jiang"  wrote:
>
>>Somehow I can't attach screenshots. So I copy the outputs of this CentOS
>>instance here. As you can see, the ethernet0 interface configuration
>>doesn't contain any ip address or default gateway information, even
>>though Cloudstack assigns these information correctly.
>>[root@localhost network-scripts]# ifconfig
>>loLink 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:0 errors:0 dropped:0 overruns:0 frame:0
>>  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>  collisions:0 txqueuelen:0
>>  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>
>>[root@localhost network-scripts]# hostname
>>Localhost.localdomain
>>[root@localhost network-scripts]# cat ifcfg-eth0
>>DEVICE="eth0"
>>HWADDR="06:57:6E:00:00:2A"
>>NM_CONTROLLED="yes"
>>ONBOOT="no"
>>
>>From: Cindy Jiang mailto:cji...@infoblox.com>>
>>Reply-To: 
>>"users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>
>>Date: Thursday, August 1, 2013 2:34 PM
>>To: "users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>, Soheil
>>Eizadi mailto:seiz...@infoblox.com>>
>>Subject: Re: IP Address assigned by CS is not passed to new instance VM
>>
>>Attach the screenshots
>>
>>[cid:CFDFC580-184D-4F0E-AF41-5AF18794D413][cid:7E1641EF-DEBC-4A25-90B3-3B
>>1
>>32C1A66B0]
>>
>>[cid:DA5AC137-FC18-4A63-9367-7583EB1A6940]
>>
>>From: Cindy Jiang mailto:cji...@infoblox.com>>
>>Reply-To: 
>>"users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>
>>Date: Thursday, August 1, 2013 2:24 PM
>>To: "users@cloudstack.apache.org"
>>mailto:users@cloudstack.apache.org>>, Soheil
>>Eizadi mailto:seiz...@infoblox.com>>
>>Subject: IP Address assigned by CS is not passed to new instance VM
>>
>>Hello,
>>
>>We are trying to create a new instance with basic networking setup using
>>CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my case:
>>10.60.176.110) to this new centOS instance, but once you log into this
>>VM, check "ifconfig" and "/etc/sysconfig/network-scripts/ifcfg-eth0", the
>>IP Address and default gateway information are not passed through
>>correctly. The same issue with hostname ­ instead of "centos-107", it
>>shows as "localhost.localdomain". Please see attached screenshots. Has
>>anyone experienced the similar issue?
>>
>>Our environment:
>>
>>  1.  CS 4.2
>>  2.  XenServer 6.0.2
>>  3.  CentOS 6.0 ISO
>>
>>Thanks,
>>Cindy
>



Re: 答复: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread Cindy Jiang
Hi Swamy,

Thanks. I checked the below configuration on router VM.
1. The VM's MAC and IP indeed being recorded in /etc/dhcphosts.txt file
correctly;
2. The DHCP range configuration in /etc/dnsmasq.conf is below (seems to me
it is not correctly configured):
Dhcp-range=10.60.176.1, static

In my case, "10.60.176.1" is my default gateway IP, and my router VM IP
address is "10.60.176.103". I am confused. Should it be
"dhcp-range-10.60.176.103, static" ? Or, CS has the dhcp range for default
network as "10.60.176.100 - 150" for example, my logic would be that, CS
pass these information to router VM, correct? So would this dnsmasq.conf
file be something like below ? :
Dhcp-range=10.60.176.100,10.60.176.150,24h

On my guest VM, if I do "dhclient eth0", it gets the new IP address from
my external DHCP server, but not the one assigned by CS.

Thanks,
Cindy



On 8/1/13 9:28 PM, "Venkata SwamyBabu Budumuru"
 wrote:

>Hi Sriharsha,
>
>Can you check the following on your router?
>
>1. When you start the VM. Do you see the VM's MAC, IP info being recorded
>in /etc/dhcphosts.txt file on your router VM?
>2. Also please make sure that /etc/dnsmasq.conf on your router contains
>the following lines
>
>Dhcp-range=,static
>
>
>Few other checks might help you here:
>
>On your Guest VM,
>
>(I) Are you sure that eth0 is what your current interface active? Please
>check "ifconfig -a or dmesg" to see what eth interfaces are created by
>system.
>(II) If it is something else other than eth0, can you try "dhclient ethX"
>and see whether that works or not?
>
>
>Thanks,
>SWAMY
>
>
>On 02/08/13 9:10 AM, "sriharsha work"  wrote:
>
>>Hi,
>>
>>Even I have the same issue. Doing as suggested below only helps
>>sometimes. But this method doesn't help while automating VM creation
>>and running scripts after the VM is launched.
>>
>>Thanks
>>Sriharsha
>>
>>Sent from my iPhone
>>
>>> On Aug 1, 2013, at 20:08, Yan Ke  wrote:
>>>
>>> Have you tried to bring-up eht0 and restart the network service?
>>>
>>> Just try:
>>> ifconfig eth0 up;
>>> service network restart;
>>>
 On 2013年08月02日 09:51, Jerry Jiang wrote:
 Hi Cindy,

 I faced the same issue days ago, and asked in this mail thread.

 It seems there is CS bug in basic network. You could try with advanced
 network to see the bug is there or not.

 Thanks
 -Jerry

 -邮件原件-
 发件人: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
 发送时间: 2013年8月2日 星期五 5:51
 收件人: users@cloudstack.apache.org; Soheil Eizadi
 主题: Re: IP Address assigned by CS is not passed to new instance VM

 You cannot attach anything or use HTML on Apache mailing lists.
 Can you try and bring up the interface up manually ifconfig eth0 up
dhclient
 eth0

 Does the "built-in" template work?

> On 8/1/13 2:45 PM, "Cindy Jiang"  wrote:
>
> Somehow I can't attach screenshots. So I copy the outputs of this
> CentOS instance here. As you can see, the ethernet0 interface
> configuration doesn't contain any ip address or default gateway
> information, even though Cloudstack assigns these information
>correctly.
> [root@localhost network-scripts]# ifconfig
> loLink 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:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> [root@localhost network-scripts]# hostname Localhost.localdomain
> [root@localhost network-scripts]# cat ifcfg-eth0 DEVICE="eth0"
> HWADDR="06:57:6E:00:00:2A"
> NM_CONTROLLED="yes"
> ONBOOT="no"
>
> From: Cindy Jiang mailto:cji...@infoblox.com>>
> Reply-To:
> "users@cloudstack.apache.org"
> mailto:users@cloudstack.apache.org>>
> Date: Thursday, August 1, 2013 2:34 PM
> To: "users@cloudstack.apache.org"
> mailto:users@cloudstack.apache.org>>,
> Soheil Eizadi mailto:seiz...@infoblox.com>>
> Subject: Re: IP Address assigned by CS is not passed to new instance
>VM
>
> Attach the screenshots
>
> 
>[cid:CFDFC580-184D-4F0E-AF41-5AF18794D413][cid:7E1641EF-DEBC-4A25-90B3
>-
> 3B1
> 32C1A66B0]
>
> [cid:DA5AC137-FC18-4A63-9367-7583EB1A6940]
>
> From: Cindy Jiang mailto:cji...@infoblox.com>>
> Reply-To:
> "users@cloudstack.apache.org"
> mailto:users@cloudstack.apache.org>>
> Date: Thursday, August 1, 2013 2:24 PM
> To: "users@cloudstack.apache.org"
> mailto:users@cloudstack.apache.org>>,
> Soheil Eizadi mailto:seiz...@infoblox.com>>
> Subject: IP Address assigned by 

Re: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread Chiradeep Vittal
You shouldn't have any other DHCP servers in the network.
Besides that it seems to be an issue specific to the CentOS template. Did
the "builtin" Centos 5.3 template work?

On 8/2/13 9:32 AM, "Cindy Jiang"  wrote:

>Hi Chiradeep,
>
>Thanks. "Dhclient eth0" would assign a IP address to my VM, but it is a
>different IP instead of the IP Address assigned by CS.
>
>Moreover, what we are trying to do is to automate the VM provisioning
>process, similar to what sriharsha said in his email, and the manual
>enablement with DHCP is not desired…
>
>Thanks,
>Cindy
>
>
>
>On 8/1/13 2:50 PM, "Chiradeep Vittal"  wrote:
>
>>You cannot attach anything or use HTML on Apache mailing lists.
>>Can you try and bring up the interface up manually
>>ifconfig eth0 up
>>dhclient eth0
>>
>>Does the "built-in" template work?
>>
>>On 8/1/13 2:45 PM, "Cindy Jiang"  wrote:
>>
>>>Somehow I can't attach screenshots. So I copy the outputs of this CentOS
>>>instance here. As you can see, the ethernet0 interface configuration
>>>doesn't contain any ip address or default gateway information, even
>>>though Cloudstack assigns these information correctly.
>>>[root@localhost network-scripts]# ifconfig
>>>loLink 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:0 errors:0 dropped:0 overruns:0 frame:0
>>>  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>  collisions:0 txqueuelen:0
>>>  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>>
>>>[root@localhost network-scripts]# hostname
>>>Localhost.localdomain
>>>[root@localhost network-scripts]# cat ifcfg-eth0
>>>DEVICE="eth0"
>>>HWADDR="06:57:6E:00:00:2A"
>>>NM_CONTROLLED="yes"
>>>ONBOOT="no"
>>>
>>>From: Cindy Jiang mailto:cji...@infoblox.com>>
>>>Reply-To: 
>>>"users@cloudstack.apache.org"
>>>mailto:users@cloudstack.apache.org>>
>>>Date: Thursday, August 1, 2013 2:34 PM
>>>To: "users@cloudstack.apache.org"
>>>mailto:users@cloudstack.apache.org>>,
>>>Soheil
>>>Eizadi mailto:seiz...@infoblox.com>>
>>>Subject: Re: IP Address assigned by CS is not passed to new instance VM
>>>
>>>Attach the screenshots
>>>
>>>[cid:CFDFC580-184D-4F0E-AF41-5AF18794D413][cid:7E1641EF-DEBC-4A25-90B3-3
>>>B
>>>1
>>>32C1A66B0]
>>>
>>>[cid:DA5AC137-FC18-4A63-9367-7583EB1A6940]
>>>
>>>From: Cindy Jiang mailto:cji...@infoblox.com>>
>>>Reply-To: 
>>>"users@cloudstack.apache.org"
>>>mailto:users@cloudstack.apache.org>>
>>>Date: Thursday, August 1, 2013 2:24 PM
>>>To: "users@cloudstack.apache.org"
>>>mailto:users@cloudstack.apache.org>>,
>>>Soheil
>>>Eizadi mailto:seiz...@infoblox.com>>
>>>Subject: IP Address assigned by CS is not passed to new instance VM
>>>
>>>Hello,
>>>
>>>We are trying to create a new instance with basic networking setup using
>>>CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my case:
>>>10.60.176.110) to this new centOS instance, but once you log into this
>>>VM, check "ifconfig" and "/etc/sysconfig/network-scripts/ifcfg-eth0",
>>>the
>>>IP Address and default gateway information are not passed through
>>>correctly. The same issue with hostname ­ instead of "centos-107", it
>>>shows as "localhost.localdomain". Please see attached screenshots. Has
>>>anyone experienced the similar issue?
>>>
>>>Our environment:
>>>
>>>  1.  CS 4.2
>>>  2.  XenServer 6.0.2
>>>  3.  CentOS 6.0 ISO
>>>
>>>Thanks,
>>>Cindy
>>
>



Re: How to limit network's throughput?

2013-08-02 Thread Chiradeep Vittal
You can always file an enhancement request
http://issues.apache.org/

On 8/2/13 12:09 AM, "Tao Lin"  wrote:

>Hmmm,what a pity.Anyway, thanks a lot, Swamy.
>
>
>Best regards.
>
>
>2013/8/2 Venkata SwamyBabu Budumuru 
>
>> AFAIK,
>>
>> Network throttling feature is currently not supported by CS on KVM
>> hypervisor.
>>
>> Thanks,
>> SWAMY
>>
>> On 02/08/13 10:46 AM, "Tao Lin"  wrote:
>>
>> >Hey, Venkata SwamyBabu:
>> >Thanks for your reply, I'm using KVM as the hypervisor. I have no idea
>> >where are the domain-xml-files of VMs created by cloudstack.
>> >
>> >
>> >Best regards.
>> >
>> >
>> >2013/8/2 Venkata SwamyBabu Budumuru
>>> >
>> >
>> >> What is the hypervisor you are using? Do you see that the hypervisor
>>has
>> >> set the right value for the Guest NIC?
>> >>
>> >> Thanks,
>> >> SWAMY
>> >>
>> >> On 02/08/13 9:49 AM, "Tao Lin"  wrote:
>> >>
>> >> >Hi,all:
>> >> >  I tried to limit VMs' network throughput but failed to do so.I
>>first
>> >>set
>> >> >the global setting of vm.network.throttling.rate to 8 (it means 8
>>Mb/s,
>> >> >1MB/s )and restarted management-server,  then created an service
>> >>offering
>> >> >in which the Network-Rate option was limited to 1MB.Finally I
>>started a
>> >> >new
>> >> >VM.However, the settings seemed not work because the VM's network
>> >> >throughput was able to  reach to 11MB/s which is the maximum value
>>of
>> >>my
>> >> >switch.
>> >> >I'm working with CS4.1,CentOS6.4, and using KVM as the
>>hypervisor.All
>> >>the
>> >> >machines including VMs are located on a single subnet of
>> >>192.168.1.0/24.
>> >>
>> >>
>>
>>



Re: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread sriharsha work
For me, the CentOS 6.3 template works fine for some of the vm's I
create. For example, if I try creating 10 vm's, 7 of them will be just
fine but the rest 3 are corrupted.

My concern is if the template is wrong it should fail for all 10 vm's
but not just a few of them.


Sent from my iPhone

> On Aug 2, 2013, at 10:18, Chiradeep Vittal  
> wrote:
>
> You shouldn't have any other DHCP servers in the network.
> Besides that it seems to be an issue specific to the CentOS template. Did
> the "builtin" Centos 5.3 template work?
>
>> On 8/2/13 9:32 AM, "Cindy Jiang"  wrote:
>>
>> Hi Chiradeep,
>>
>> Thanks. "Dhclient eth0" would assign a IP address to my VM, but it is a
>> different IP instead of the IP Address assigned by CS.
>>
>> Moreover, what we are trying to do is to automate the VM provisioning
>> process, similar to what sriharsha said in his email, and the manual
>> enablement with DHCP is not desired…
>>
>> Thanks,
>> Cindy
>>
>>
>>
>>> On 8/1/13 2:50 PM, "Chiradeep Vittal"  wrote:
>>>
>>> You cannot attach anything or use HTML on Apache mailing lists.
>>> Can you try and bring up the interface up manually
>>> ifconfig eth0 up
>>> dhclient eth0
>>>
>>> Does the "built-in" template work?
>>>
 On 8/1/13 2:45 PM, "Cindy Jiang"  wrote:

 Somehow I can't attach screenshots. So I copy the outputs of this CentOS
 instance here. As you can see, the ethernet0 interface configuration
 doesn't contain any ip address or default gateway information, even
 though Cloudstack assigns these information correctly.
 [root@localhost network-scripts]# ifconfig
 loLink 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:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

 [root@localhost network-scripts]# hostname
 Localhost.localdomain
 [root@localhost network-scripts]# cat ifcfg-eth0
 DEVICE="eth0"
 HWADDR="06:57:6E:00:00:2A"
 NM_CONTROLLED="yes"
 ONBOOT="no"

 From: Cindy Jiang mailto:cji...@infoblox.com>>
 Reply-To:
 "users@cloudstack.apache.org"
 mailto:users@cloudstack.apache.org>>
 Date: Thursday, August 1, 2013 2:34 PM
 To: "users@cloudstack.apache.org"
 mailto:users@cloudstack.apache.org>>,
 Soheil
 Eizadi mailto:seiz...@infoblox.com>>
 Subject: Re: IP Address assigned by CS is not passed to new instance VM

 Attach the screenshots

 [cid:CFDFC580-184D-4F0E-AF41-5AF18794D413][cid:7E1641EF-DEBC-4A25-90B3-3
 B
 1
 32C1A66B0]

 [cid:DA5AC137-FC18-4A63-9367-7583EB1A6940]

 From: Cindy Jiang mailto:cji...@infoblox.com>>
 Reply-To:
 "users@cloudstack.apache.org"
 mailto:users@cloudstack.apache.org>>
 Date: Thursday, August 1, 2013 2:24 PM
 To: "users@cloudstack.apache.org"
 mailto:users@cloudstack.apache.org>>,
 Soheil
 Eizadi mailto:seiz...@infoblox.com>>
 Subject: IP Address assigned by CS is not passed to new instance VM

 Hello,

 We are trying to create a new instance with basic networking setup using
 CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my case:
 10.60.176.110) to this new centOS instance, but once you log into this
 VM, check "ifconfig" and "/etc/sysconfig/network-scripts/ifcfg-eth0",
 the
 IP Address and default gateway information are not passed through
 correctly. The same issue with hostname ­ instead of "centos-107", it
 shows as "localhost.localdomain". Please see attached screenshots. Has
 anyone experienced the similar issue?

 Our environment:

 1.  CS 4.2
 2.  XenServer 6.0.2
 3.  CentOS 6.0 ISO

 Thanks,
 Cindy
>


Re: How to limit network's throughput?

2013-08-02 Thread Dave Dunaway
If you are doing this in Vmware land, then the port group itself is set to
a certain rate. So if the port group has already been created, it will have
the pre-existing rate set for the port group. You can change this through
the vcenter API and set the port groups to whatever rate you want.When you
drop in the new rate, a new port group will be made with the rate limiting
and your hosts in it.

hth!

dave.


On Fri, Aug 2, 2013 at 1:18 PM, Chiradeep Vittal <
chiradeep.vit...@citrix.com> wrote:

> You can always file an enhancement request
> http://issues.apache.org/
>
> On 8/2/13 12:09 AM, "Tao Lin"  wrote:
>
> >Hmmm,what a pity.Anyway, thanks a lot, Swamy.
> >
> >
> >Best regards.
> >
> >
> >2013/8/2 Venkata SwamyBabu Budumuru  >
> >
> >> AFAIK,
> >>
> >> Network throttling feature is currently not supported by CS on KVM
> >> hypervisor.
> >>
> >> Thanks,
> >> SWAMY
> >>
> >> On 02/08/13 10:46 AM, "Tao Lin"  wrote:
> >>
> >> >Hey, Venkata SwamyBabu:
> >> >Thanks for your reply, I'm using KVM as the hypervisor. I have no idea
> >> >where are the domain-xml-files of VMs created by cloudstack.
> >> >
> >> >
> >> >Best regards.
> >> >
> >> >
> >> >2013/8/2 Venkata SwamyBabu Budumuru
> >> >> >
> >> >
> >> >> What is the hypervisor you are using? Do you see that the hypervisor
> >>has
> >> >> set the right value for the Guest NIC?
> >> >>
> >> >> Thanks,
> >> >> SWAMY
> >> >>
> >> >> On 02/08/13 9:49 AM, "Tao Lin"  wrote:
> >> >>
> >> >> >Hi,all:
> >> >> >  I tried to limit VMs' network throughput but failed to do so.I
> >>first
> >> >>set
> >> >> >the global setting of vm.network.throttling.rate to 8 (it means 8
> >>Mb/s,
> >> >> >1MB/s )and restarted management-server,  then created an service
> >> >>offering
> >> >> >in which the Network-Rate option was limited to 1MB.Finally I
> >>started a
> >> >> >new
> >> >> >VM.However, the settings seemed not work because the VM's network
> >> >> >throughput was able to  reach to 11MB/s which is the maximum value
> >>of
> >> >>my
> >> >> >switch.
> >> >> >I'm working with CS4.1,CentOS6.4, and using KVM as the
> >>hypervisor.All
> >> >>the
> >> >> >machines including VMs are located on a single subnet of
> >> >>192.168.1.0/24.
> >> >>
> >> >>
> >>
> >>
>
>


Re: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread Cindy Jiang
I turned off all external DHCP servers in this network and tried again.
This time, no more IP being assigned… I can see that VM was trying to
grasp a IP from DHCP lease but couldn't; then send DHCP request through
ethernet0, but appears to get nothing.

I was able to do with some guest VM with built-in template before, some
get the correct IPs, but some just went to external DHCP server and get
one; this time, it fails to get anything.

Bringing up loopback interface lo . [
OK  ]
udhcpc (v1.13.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
Starting DHCP forEthernet interface eth0 .. [
OK  ]
Starting dropbrear SSH server:



% ifconfig
eth0  Link encap:Ethernet  HWaddr 06:0C:F8:00:00:27
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1847 errors:0 dropped:0 overruns:0 frame:0
  TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:173875 (169.7 KiB)  TX bytes:19938 (19.4 KiB)
  Interrupt:7

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)






On 8/2/13 10:17 AM, "Chiradeep Vittal"  wrote:

>You shouldn't have any other DHCP servers in the network.
>Besides that it seems to be an issue specific to the CentOS template. Did
>the "builtin" Centos 5.3 template work?
>
>On 8/2/13 9:32 AM, "Cindy Jiang"  wrote:
>
>>Hi Chiradeep,
>>
>>Thanks. "Dhclient eth0" would assign a IP address to my VM, but it is a
>>different IP instead of the IP Address assigned by CS.
>>
>>Moreover, what we are trying to do is to automate the VM provisioning
>>process, similar to what sriharsha said in his email, and the manual
>>enablement with DHCP is not desired…
>>
>>Thanks,
>>Cindy
>>
>>
>>
>>On 8/1/13 2:50 PM, "Chiradeep Vittal" 
>>wrote:
>>
>>>You cannot attach anything or use HTML on Apache mailing lists.
>>>Can you try and bring up the interface up manually
>>>ifconfig eth0 up
>>>dhclient eth0
>>>
>>>Does the "built-in" template work?
>>>
>>>On 8/1/13 2:45 PM, "Cindy Jiang"  wrote:
>>>
Somehow I can't attach screenshots. So I copy the outputs of this
CentOS
instance here. As you can see, the ethernet0 interface configuration
doesn't contain any ip address or default gateway information, even
though Cloudstack assigns these information correctly.
[root@localhost network-scripts]# ifconfig
loLink 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:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@localhost network-scripts]# hostname
Localhost.localdomain
[root@localhost network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
HWADDR="06:57:6E:00:00:2A"
NM_CONTROLLED="yes"
ONBOOT="no"

From: Cindy Jiang mailto:cji...@infoblox.com>>
Reply-To: 
"users@cloudstack.apache.org"
mailto:users@cloudstack.apache.org>>
Date: Thursday, August 1, 2013 2:34 PM
To: "users@cloudstack.apache.org"
mailto:users@cloudstack.apache.org>>,
Soheil
Eizadi mailto:seiz...@infoblox.com>>
Subject: Re: IP Address assigned by CS is not passed to new instance VM

Attach the screenshots

[cid:CFDFC580-184D-4F0E-AF41-5AF18794D413][cid:7E1641EF-DEBC-4A25-90B3-
3
B
1
32C1A66B0]

[cid:DA5AC137-FC18-4A63-9367-7583EB1A6940]

From: Cindy Jiang mailto:cji...@infoblox.com>>
Reply-To: 
"users@cloudstack.apache.org"
mailto:users@cloudstack.apache.org>>
Date: Thursday, August 1, 2013 2:24 PM
To: "users@cloudstack.apache.org"
mailto:users@cloudstack.apache.org>>,
Soheil
Eizadi mailto:seiz...@infoblox.com>>
Subject: IP Address assigned by CS is not passed to new instance VM

Hello,

We are trying to create a new instance with basic networking setup
using
CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my case:
10.60.176.110) to this new centOS instance, but once you log into this
VM, check "ifconfig" and "/etc/sysconfig/network-scripts/ifcfg-eth0",
the
IP Address and default gateway information are not passed through
correctly. The same issue with hostname ­ instead of "centos-107", it

Re: [Doc] PVLAN Doc is Ready for Review

2013-08-02 Thread Sheng Yang
Hi Radhika,

Thank you for your work! Some comments:


For other Catalyst PVLAN support switch, connect the switch to upper switch
by using cables. The number of cables should be greater than the number of
PVLANs used.


This is a little confusion. Should be "by using multiple cables, which one
cable for each PVLAN pair". And the last sentence is not necessary.


OVS on XenServer and KVM does not support PVLAN. Therefore, simulate PVLAN
on OVS
for XenServer and KVM by modifying the flow table and tagging every traffic
leaving guest VMs
with the secondary VLAN ID.


I think the following description is more clear:

"OVS on XenServer and KVM does not support PVLAN natively. Therefore,
CloudStack managed to simulate PVLAN on OVS
for XenServer and KVM by modifying the flow table."

--Sheng


On Fri, Aug 2, 2013 at 5:18 AM, Radhika Puthiyetath <
radhika.puthiyet...@citrix.com> wrote:

> Hi,
>
> PVLAN  documentation is ready for review. The doc is attached at
> https://issues.apache.org/jira/browse/CLOUDSTACK-850.
>
> Please see 15.14. Isolation in Advanced Zone Using Private VLAN (141), and
> provide your feedback.
>
> Regards
> -Radhika
>
>
>


CloudStack Meetup in Palo Alto, CA on August 7th

2013-08-02 Thread Karen Vuong
Hi all,

If you're in the Bay Area on Wednesday, August 7th - join the CloudStack meetup 
held by the CloudStack SF Bay Area Users Group for a talk by Andrew Bayer (VP 
of Apache Whirr / PPMC member of Apache jclouds incubating project & Build and 
Dev Tools Architect at Cloudera).

He will be giving a talk on jclouds, Whirr and CloudStack - mainly giving 
examples of how you can use jclouds and Whirr with CloudStack and answering 
your questions on how the projects relate to each other.

Time: 6:30 - 8:00pm PT, Weds. August 7th
Where: SAP Labs in Palo Alto, CA
Sign up here: 
http://www.meetup.com/CloudStack-SF-Bay-Area-Users-Group/events/117379992/

If you have any questions, please feel free to ask!

Thanks,

Karen

where to get latest cloudmonkey?

2013-08-02 Thread Brian Galura
how do i get the latest cloud monkey with json and filter support?

seems the pip installation gives me 4.1.0-1 and it doesn't have that

and cloning it from 
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git returns:
fatal: 
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git/info/refs 
not found: did you run git update-server-info on the server?


Re: where to get latest cloudmonkey?

2013-08-02 Thread Rohit Yadav
Brian,

I'll work on a release of cloudmonkey soon (plan was to do this weekend but
I only have weekends to do my errands, if someone can help me with the
release process, pushing that on pypi is not time consuming).

Try cloning using the repo url;
git clone https://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey.git

The url you're using is for viewing git repos, if that fails I keep a
backup here;
https://github.com/bhaisaab/cloudmonkey

HTH.

Cheers.


On Sat, Aug 3, 2013 at 4:23 AM, Brian Galura wrote:

> how do i get the latest cloud monkey with json and filter support?
>
> seems the pip installation gives me 4.1.0-1 and it doesn't have that
>
> and cloning it from
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.gitreturns:
> fatal:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git/info/refsnot
>  found: did you run git update-server-info on the server?
>


Re: where to get latest cloudmonkey?

2013-08-02 Thread Kirk Kosinski
Hi, Brian.  You can also download a source tarball from the repo web
page.  This seems to be the latest one:

https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=snapshot;h=9232d7e74c1dd1982951c3fd6ecb10e2dbcddf8d;sf=tgz

Best regards,
Kirk

On 08/02/2013 04:06 PM, Rohit Yadav wrote:
> Brian,
> 
> I'll work on a release of cloudmonkey soon (plan was to do this weekend but
> I only have weekends to do my errands, if someone can help me with the
> release process, pushing that on pypi is not time consuming).
> 
> Try cloning using the repo url;
> git clone https://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey.git
> 
> The url you're using is for viewing git repos, if that fails I keep a
> backup here;
> https://github.com/bhaisaab/cloudmonkey
> 
> HTH.
> 
> Cheers.
> 
> 
> On Sat, Aug 3, 2013 at 4:23 AM, Brian Galura wrote:
> 
>> how do i get the latest cloud monkey with json and filter support?
>>
>> seems the pip installation gives me 4.1.0-1 and it doesn't have that
>>
>> and cloning it from
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.gitreturns:
>> fatal:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git/info/refsnot
>>  found: did you run git update-server-info on the server?
>>
> 


Re: Third-party Cloudstack Support

2013-08-02 Thread David Comerford
Can't go wrong with ShapeBlue. They're the leaders of the pack.
Source: personal experience.

Best regards,
David Comerford

Tel: +353 87 1238295
Email: davest...@gmail.com
Website: http://dave.ie
GPG key: http://gpg.dave.ie


On 1 August 2013 00:25, Ian Duffy  wrote:

> Hi Chris,
>
> http://www.shapeblue.com/ supply consultancy for the product.
>
> I have heard great things about their training sessions.
>
> On 31 July 2013 21:48, Bryan Whitehead  wrote:
> > If you are really looking to just buy a solution all packaged up then
> > I'd take a look at what Citrix has:
> >
> > http://www.citrix.com/products/cloudplatform/overview.html and
> > https://www.citrix.com/buy/citrix-cloud-advisors.html
> >
> > -Bryan
> >
> > On Wed, Jul 31, 2013 at 1:33 PM, Chris Buono 
> wrote:
> >> My company is considering Cloudstack for cloud management. One of the
> considerations is whether or not we can find a company we can reach out to
> for technical support. We need 24/7 support, SLA, and are willing to pay
> for such service. Would some point me in the direction of such a
> company(ies)?
> >>
> >> Thanks!
> >>
>


Re: IP Address assigned by CS is not passed to new instance VM

2013-08-02 Thread David Comerford
Why do you have ONBOOT="no"?
That's explicitly telling the interface not to come up on boot, which seems
a little odd.?.

Best regards,
David Comerford

Tel: +353 87 1238295
Email: davest...@gmail.com
Website: http://dave.ie
GPG key: http://gpg.dave.ie


On 1 August 2013 22:24, Cindy Jiang  wrote:

>   Hello,
>
>  We are trying to create a new instance with basic networking setup using
> CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my case:
> 10.60.176.110) to this new centOS instance, but once you log into this VM,
> check "ifconfig" and "/etc/sysconfig/network-scripts/ifcfg-eth0", the IP
> Address and default gateway information are not passed through correctly.
> The same issue with hostname – instead of "centos-107", it shows as
> "localhost.localdomain". Please see attached screenshots. Has anyone
> experienced the similar issue?
>
>  Our environment:
>
>1. CS 4.2
>2. XenServer 6.0.2
>3. CentOS 6.0 ISO
>
> Thanks,
> Cindy
>


Re: NFS share

2013-08-02 Thread Tao Lin
Hi Chitra:
   You don't have to mount the secondary storage, but you still need to
check wethear the secondary is ready.The first command may have been used
to check if the secondary is okay.


Best regards.


2013/8/2 Chitra Manjunath 

> Hi
>
> In the cloustack installation guide  for 4.0.2 version
> section 4.5.5.2.
> # mount -t nfs :/export/secondary /secondarymount
> # umount /secondarymount
>
> I didn't understand these commands, whether I need to mount the secondary
> or not.
>
>
>
>
>  CAUTION - Disclaimer *
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
> for the use of the addressee(s). If you are not the intended recipient,
> please
> notify the sender by e-mail and delete the original message. Further, you
> are not
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken
> every reasonable precaution to minimize this risk, but is not liable for
> any damage
> you may sustain as a result of any virus in this e-mail. You should carry
> out your
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the
> right to monitor and review the content of all messages sent to or from
> this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS End of Disclaimer INFOSYS***
>