Re: help,高级部署,创建VM失败:Cleaning up because we're unable to implement the network Ntwk[207|Guest|8]

2013-08-01 Thread sunko2014
thanks,你说得没错,在网上也找到同样的问题,是因为没有设置guest vlan
我的交换机不具备vlan功能,所以在创建zone时,忽略了填一个guest vlan的范围。
问题解决了
thanks


On Thu, Aug 1, 2013 at 3:13 PM, tanthalas tanthalas...@hotmail.com wrote:

 从log来看,是建guest network报错,有可能是vlan id重复了。
 再把建zone时的配置,填写的内容说清楚一点,来判断原因。

 2013-08-01
 刘宇超  Richard Liu




 发件人: sunko2014
 发送时间: 2013-08-01 15:02:39
 收件人: users-cn
 抄送:
 主题: help,高级部署,创建VM失败:Cleaning up because we're unable to implement the
 network Ntwk[207|Guest|8]

 hello:
  了解CloudStack的网络方案后,尝试高级部署CloudStack,我的部署方案是:

  
 1、管理和存储走一个交换机网络(172.16.100.x),Public和Guest走一个交换机网络,Pulic是公司内网(192.168.45.x),guest是自定义网络(10.1.1.x)
2、1台主机跑Manage

 Server,网卡接管理存储网络,1台主机跑XENServer,2张网卡,1张接管理存储网络,1张接PublicGuest网络,1台主机跑NFS(提供Secondary
 Storage),接网络存储网络
添加zone后,host、主存储、辅存储,SSVM和CPVM都正常启动,但是router vm没有启动。
通过ISO创建VM时,提示创建失败,查了下log,应该是网络出了问题,log如下,请各位提供点意见,谢谢。
 ... ...
 2013-08-01 14:29:59,780 DEBUG [cloud.vm.VirtualMachineManagerImpl]
 (Job-Executor-2:job-36) VM is being created in podId: 1
 2013-08-01 14:29:59,792 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Lock is acquired for network id 207 as a part of
 network implement
 2013-08-01 14:29:59,792 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Asking ExternalGuestNetworkGuru to implement
 Ntwk[207|Guest|8]
 2013-08-01 14:29:59,915 DEBUG [db.Transaction.Transaction]
 (Job-Executor-2:job-36) Rolling back the transaction: Time = 3 Name =
  -AsyncJobManagerImpl$1.run:398-Exec

 utors$RunnableAdapter.call:471-FutureTask$Sync.innerRun:334-FutureTask.run:166-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679;
 ca
 lled by

 -Transaction.rollback:887-Transaction.removeUpTo:830-Transaction.close:649-DatabaseCallback.interceptComplete:71-DatabaseCallback.intercept:36-DataCenterDaoI

 mpl.allocateVnet:190-DatabaseCallback.intercept:34-GuestNetworkGuru.allocateVnet:310-GuestNetworkGuru.implement:337-ExternalGuestNetworkGuru.implement:126-NetworkMan
 agerImpl.implementNetwork:1956-DatabaseCallback.intercept:34
 2013-08-01 14:29:59,929 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Cleaning up because we're unable to implement the
 network Ntwk[207|Guest|8]
 2013-08-01 14:30:00,055 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Releasing 0 port forwarding rules for network
 id=207 as a part of shutdownNe
 tworkRules
 2013-08-01 14:30:00,055 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) There are no rules to forward to the network
 elements
 2013-08-01 14:30:00,068 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Releasing 0 static nat rules for network id=207 as
 a part of shutdownNetwork
 Rules
 2013-08-01 14:30:00,068 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) There are no rules to forward to the network
 elements
 2013-08-01 14:30:00,093 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) There are no rules to forward to the network
 elements
 2013-08-01 14:30:00,096 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Releasing 0 firewall rules for network id=207 as a
 part of shutdownNetworkRu
 les
 2013-08-01 14:30:00,096 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) There are no rules to forward to the network
 elements
 2013-08-01 14:30:00,099 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Releasing 0 Network ACLs for network id=207 as a
 part of shutdownNetworkRule
 s
 2013-08-01 14:30:00,099 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) There are no rules to forward to the network
 elements
 2013-08-01 14:30:00,102 DEBUG [network.rules.RulesManagerImpl]
 (Job-Executor-2:job-36) Found 0 static nat rules to apply for network id
 207
 2013-08-01 14:30:00,126 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Sending network shutdown to VirtualRouter
 2013-08-01 14:30:00,130 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Network id=207 is shutdown successfully, cleaning
 up corresponding resources
  now.
 2013-08-01 14:30:00,135 DEBUG [network.guru.GuestNetworkGuru]
 (Job-Executor-2:job-36) Releasing vnet for the network id=207
 2013-08-01 14:30:00,218 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-2:job-36) Lock is released for network id 207 as a part of
 network implement
 2013-08-01 14:30:00,219 INFO  [cloud.vm.VirtualMachineManagerImpl]
 (Job-Executor-2:job-36) Insufficient capacity
 com.cloud.exception.InsufficientVirtualNetworkCapcityException: Unable to
 allocate vnet as a part of network Ntwk[207|Guest|8] implement
 Scope=interface com.cloud.dc
 .DataCenter; id=1
 at

 com.cloud.network.guru.GuestNetworkGuru.allocateVnet(GuestNetworkGuru.java:312)
 at

 com.cloud.network.guru.GuestNetworkGuru.implement(GuestNetworkGuru.java:337)
 at

 com.cloud.network.guru.ExternalGuestNetworkGuru.implement(ExternalGuestNetworkGuru.java:126)
  

在cloudstack4.0.2中改变已经创建好的虚拟机的计算方案,虚拟机正常启动

2013-08-01 Thread zt
各位大侠们,

我在测试cloudstack4.0.2过程中,首先给win2008虚拟机分配好计算方案(比如:2核CPU、2G内存),创建虚拟机成功后,我想改变虚拟机的CPU核和内存大小(比如:改成4核CPU4G内存),把虚拟机stop,更改为新的计算方案,重新启动虚拟机,虚拟机就无法正常启动,一直卡在开机滚动条位置。请教大侠们,是否遇到如此问题,该如何解决?



zt

Re: 在cloudstack4.0.2中改变已经创建好的虚拟机的计算方案,虚拟机正常启动

2013-08-01 Thread Wei ZHOU
win2008是32位还是64位的?


在 2013年8月1日上午11:38,zt zhaotao...@qq.com写道:

 各位大侠们,

 我在测试cloudstack4.0.2过程中,首先给win2008虚拟机分配好计算方案(比如:2核CPU、2G内存),创建虚拟机成功后,我想改变虚拟机的CPU核和内存大小(比如:改成4核CPU4G内存),把虚拟机stop,更改为新的计算方案,重新启动虚拟机,虚拟机就无法正常启动,一直卡在开机滚动条位置。请教大侠们,是否遇到如此问题,该如何解决?



 zt


回复:Re: Re: 在cloudstack4.0.2中改变已经创建好的虚拟机的计算方案,虚拟机正常启动

2013-08-01 Thread yunyi_wang
这个其实有可能是操作系统本身的问题,之前我遇到过是这种场景:虚拟机制作镜像时,使用的是cpu双核,后来创建虚拟机使用该镜像模板虚拟机的cpu单核,这种情况windows系列都会存在问题,


 建议你使用window 
xp或者window其它系统试一下行不行,如果行,应该就可以确定是win2008系统不支持这种模式,我之前试过winxp是没问题的。

 




- 原始邮件 -
发件人:陈珂 che...@ourfuture.cn
收件人:users-cn users-cn@cloudstack.apache.org
主题:Re: Re: 在cloudstack4.0.2中改变已经创建好的虚拟机的计算方案,虚拟机正常启动
日期:2013年08月02日 09点18分





help:通过控制台访问VM失败

2013-08-01 Thread sunko2014
各位:

 
问题如题,部署环境cloudStack4.02,+xenserver6.0,通过iso方式创建VM后,在chorme、IE6上通过控制台访问VM均失败,下面是management
server的log:
... ...
 2013-08-02 11:11:50,167 DEBUG [agent.transport.Request]
(DirectAgent-393:null) Seq 1-659951545: Processing:  { Ans: , MgmtId:
260071274268429, via: 1, Ver: v1, Flags: 10,
[{GetVncPortAnswer:{address:consoleurl=
https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5,port:5905,result:true,wait:0}}]
}
2013-08-02 11:11:50,167 DEBUG [agent.transport.Request]
(catalina-exec-17:null) Seq 1-659951545: Received:  { Ans: , MgmtId:
260071274268429, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer } }
2013-08-02 11:11:50,167 DEBUG [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-17:null) Port info consoleurl=
https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
2013-08-02 11:11:50,167 INFO  [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-17:null) Parse host info returned from executing
GetVNCPortCommand. host info: consoleurl=
https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
2013-08-02 11:11:50,174 DEBUG [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-17:null) Compose console url:
https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag
2013-08-02 11:11:50,175 DEBUG [cloud.servlet.ConsoleProxyServlet]
(catalina-exec-17:null) the console url is ::
htmltitletest07/titleframesetframe src=
https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag
/frame/frameset/html
2013-08-02 11:11:53,595 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-66:null) Ping from 1
... ...
   我是部署的高级网络模式,proxy console system vm有三个网卡,net1:192.168.45.151(public
ip,公司内网,类似公网IP),net2:172.16.101.2(自建的管理网络),net3:169.254.2.100(local)。
   从v-2-VM通过管理网络可以访问到xenserver。
   对于console的访问流程我不懂,如果需要提供什么log,或者跟踪信息,请指教下。


Re: help:通过控制台访问VM失败

2013-08-01 Thread Wei ZHOU
在host上运行ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.2.100进console proxy
看看/var/log/systemvm/下的日志


2013/8/2 sunko2014 sunko2...@gmail.com

 各位:


  
 问题如题,部署环境cloudStack4.02,+xenserver6.0,通过iso方式创建VM后,在chorme、IE6上通过控制台访问VM均失败,下面是management
 server的log:
 ... ...
  2013-08-02 11:11:50,167 DEBUG [agent.transport.Request]
 (DirectAgent-393:null) Seq 1-659951545: Processing:  { Ans: , MgmtId:
 260071274268429, via: 1, Ver: v1, Flags: 10,
 [{GetVncPortAnswer:{address:consoleurl=

 https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
 ,port:5905,result:true,wait:0}}]
 }
 2013-08-02 11:11:50,167 DEBUG [agent.transport.Request]
 (catalina-exec-17:null) Seq 1-659951545: Received:  { Ans: , MgmtId:
 260071274268429, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer } }
 2013-08-02 11:11:50,167 DEBUG [cloud.servlet.ConsoleProxyServlet]
 (catalina-exec-17:null) Port info consoleurl=

 https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
 2013-08-02https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf52013-08-0211:11:50,167
  INFO  [cloud.servlet.ConsoleProxyServlet]
 (catalina-exec-17:null) Parse host info returned from executing
 GetVNCPortCommand. host info: consoleurl=

 https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf5
 2013-08-02https://172.16.101.100/console?uuid=2242d3f7-ad5c-134a-652a-b1644f00313dsessionref=OpaqueRef:f4f1a6a4-5fc7-eab4-96fc-b4043c3e5cf52013-08-0211:11:50,174
  DEBUG [cloud.servlet.ConsoleProxyServlet]
 (catalina-exec-17:null) Compose console url:

 https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag
 2013-08-02https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag2013-08-0211:11:50,175
  DEBUG [cloud.servlet.ConsoleProxyServlet]
 (catalina-exec-17:null) the console url is ::
 htmltitletest07/titleframesetframe src=

 https://192-168-45-151.realhostip.com/ajax?token=tsl1xX_XA22fT8WGySZVyWSrZhWM13kgOMdgCRJQJjorDfux2-SSoUWFOJgHQpgBp0ZptEq2Xg3GwFqUGR4BZoTni6p6PhTry5lATbs34ZurK5VBp3S8BnR95AlDgb-xpUbimHYL3cGR7QaZCLPrx2AJOktrEFEoh-FSDyXbiMuyrL2ums3LISK79NVMr6W8flw0odbLopKv9a3BaRzyC-GKmgVzGDqONhUDalbteoiZv9c0LCnWXnTixdj6vzt0rLpY4xgF_9KCxIj191SC1XpFO6lZRBt-hJDa8N73KIkUCnKwwB8tZC34veUjOyBCFuYg5rEIysaJP47D3yQXl3HeBP6YjbMHvZNwwXwa1QbFoKe926CrppkTdIR5B6XIXAm_J3Fv32rAUnqYegKTN2ZV7aF9el2P5bHB_Kw0au6xq-FJtmZwAhskQICDQ5dLnbsUd4048TKw-eIC80sZ5xpyklT1bBSZH45PyacmUag
 /frame/frameset/html
 2013-08-02 11:11:53,595 DEBUG [agent.manager.DirectAgentAttache]
 (DirectAgent-66:null) Ping from 1
 ... ...
我是部署的高级网络模式,proxy console system vm有三个网卡,net1:192.168.45.151(public
 ip,公司内网,类似公网IP),net2:172.16.101.2(自建的管理网络),net3:169.254.2.100(local)。
从v-2-VM通过管理网络可以访问到xenserver。
对于console的访问流程我不懂,如果需要提供什么log,或者跟踪信息,请指教下。



ISO images

2013-08-01 Thread Chitra Manjunath
Hi All,

I have a ISO image in the Secondary storage, I registered the ISO image but 
it's not Ready. Can  I download the image  directly from the internet while 
registering the template or its only local repo?

SSVM and CPVM are in stopped state I tried to start but it is not starting.

Please share information on how to start the system VM's and to register the 
ISO image.

Thanks in Advance.

Chitra.M

 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: Template - Root disk size changes

2013-08-01 Thread Gaspare A Silvestri

  
  
Thank you for your quick reply.
  
  This means that I will able to extend the additional disks created
  by the users, is this right? Is this correct even if I will use
  vSphere 5.x as hypervisor platform?
  
  Thank you for your attention.
  
  Gaspare
  
  
  On 01/08/2013 09:02, Venkata SwamyBabu Budumuru wrote:


  AFAIK, you need to create another template with different size if you
need. In 4.2, some enhancements happened for DATADISK but not for ROOT
disk.

Here is the link for DATADISK resize feature :
https://cwiki.apache.org/CLOUDSTACK/resize-data-volumes.html

Thanks,
SWAMY

On 01/08/13 11:48 AM, "Gaspare A Silvestri" g.silves...@netsons.com
wrote:


  
Hello everybody,

is it possibleincreasing the root disk size on a predefined template?

What I'm trying to sayisthat if I'll deploy a template with a thin disk
starting from 10GB, for example, and I will decide to create an instance
with 50GB HDD, is this extension automatically performed by
CloudStack?Or have I got to create many different templates with
different root disk sizes?

Thanks in advance,

Gaspare

  
  




-- 
  
  

  

  
  
  
  Supernova
  s.r.l.
  Via G. Misiticoni, 3
  65126 - Pescara
  ITALY
  
  www.netsons.com


   Gaspare
A. Silvestri
Technical Director - Head of IT 
  VMWare VCP 4 - VMWare VCP 5 - Microsoft MCTS
Oracle OCA 11g - Oracle SUN OCP - Symantec SCS 
  
  t. (+39)
085 45 100 52
  m. (+39)
334 13 682 11 
  e. g.silves...@netsons.com
  


  

  
  
  
  Netsons  un marchio registrato dalla Supernova s.r.l.
  
  
  
Le informazioni trasmesse sono riservate alla persona o alla
societ indicata come destinatario, e possono includere
contenuti considerati confidenziali. Ogni elaborazione,
comunicazione, trasmissione o altro utilizzo, anche azioni
conseguenti alla conoscenza di queste informazioni da parte di
chiunque non sia espressamente indicato come destinatario 
proibita. Nel caso abbiate ricevuto per errore questa
comunicazione, siete pregati di darne avviso a info [at]
netsons.com ed eliminare ogni stampa ed ogni traccia
informatica. Il ricevente dovr inoltre accertarsi che gli
eventuali allegati non contengano virus prima di aprirli.
Qualunque opinione o affermazione presentata in questo messaggio
 da ritenersi propria dell'autore e non rappresenta
necessariamente la posizione della Societ.


The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon this information by
persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact: info
[at] netsons.com and delete the material from any computer. If
this email contains attachments you should ensure they are
checked for viruses before opening them. Any views or opinions
presented are solely those of the author and do not necessarily
represent those of the company.
  

  



[Doc] Dedicated Resources: Public IPs and VLANs per Account is Ready

2013-08-01 Thread Radhika Puthiyetath
Hi,

Dedicated Resources: Public IPs and VLANs per Account is Ready documentation is 
ready for review. The doc is attached at 
https://issues.apache.org/jira/browse/CLOUDSTACK-817

Please see section 15.8. Reserving Public IP Addresses and VLANs Per Account 
(132), and provide your feedback.

Regards
-Radhika




[Doc] Adding Multiple IP Ranges is Ready

2013-08-01 Thread Radhika Puthiyetath
Hi,

Adding Multiple IP Ranges documentation is ready for review. The doc is 
attached at https://issues.apache.org/jira/browse/CLOUDSTACK-847

Please see 15.13. Adding Multiple IP Ranges (139), and provide your feedback.

Regards
-Radhika




[Doc] IP Address Reservation is Ready for Review

2013-08-01 Thread Radhika Puthiyetath
Hi,

Adding Multiple IP Ranges 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




Unable to start System VM

2013-08-01 Thread Chitra Manjunath
Hi All,

I attached the management server log file.
log saying Zone is not Ready, templates are not ready. But I added the Zone and 
is enabled.

Where we need to download the System VM template?

Please anyone solve this problem.
Very Urgent


Thanks
Chitra.M


 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: vms hang in expunged state

2013-08-01 Thread Daan Hoogland
Valery,

Do you still have assigned ip addresses to the vms?

Regards,

-Original Message-
From: Valery Ciareszka [mailto:valery.teres...@gmail.com] 
Sent: donderdag 25 juli 2013 14:54
To: users
Subject: vms hang in expunged state

Hi all.

I have faced the following problem: virtual machines remain in expunging state 
forever, and I see java.lang.NullPointerException in management server logs.
I use CS 4.1, CentOS 6.4, KVM.

What is the proper way to handle this issue ?

Management server log:

2013-07-25 12:30:17,674 INFO  [cloud.vm.UserVmManagerImpl]
(UserVm-Scavenger-1:null) Found 2 vms to expunge.
2013-07-25 12:30:17,674 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(UserVm-Scavenger-1:null) Stopped called on VM[User|te st090703-1] but the 
state is Expunging
2013-07-25 12:30:17,694 DEBUG [cloud.capacity.CapacityManagerImpl]
(UserVm-Scavenger-1:null) VM state transitted from :Ex punging to Expunging 
with event: ExpungeOperationvm's original host id: 19 new host id: null host id 
before state transit
ion: null
2013-07-25 12:30:17,694 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(UserVm-Scavenger-1:null) Destroying vm VM[User|test09 0703-1]
2013-07-25 12:30:17,694 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(UserVm-Scavenger-1:null) Cleaning up NICS
2013-07-25 12:30:17,694 DEBUG [cloud.network.NetworkManagerImpl]
(UserVm-Scavenger-1:null) Cleaning network for vm: 6164
2013-07-25 12:30:17,696 DEBUG [cloud.storage.StorageManagerImpl]
(UserVm-Scavenger-1:null) Cleaning storage for vm: 6164
2013-07-25 12:30:17,697 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(UserVm-Scavenger-1:null) Expunged VM[User|test090703- 1]
2013-07-25 12:30:17,697 DEBUG [cloud.vm.UserVmManagerImpl]
(UserVm-Scavenger-1:null) Starting cleaning up vm VM[User|test 090703-1] 
resources...
2013-07-25 12:30:17,705 DEBUG [network.firewall.FirewallManagerImpl]
(UserVm-Scavenger-1:null) No firewall rules are foun d for vm id=6164
2013-07-25 12:30:17,706 DEBUG [cloud.vm.UserVmManagerImpl]
(UserVm-Scavenger-1:null) Firewall rules are removed successfu lly as a part of 
vm id=6164 expunge
2013-07-25 12:30:17,709 DEBUG [network.rules.RulesManagerImpl]
(UserVm-Scavenger-1:null) No port forwarding rules are fou nd for vm id=6164
2013-07-25 12:30:17,709 DEBUG [cloud.vm.UserVmManagerImpl]
(UserVm-Scavenger-1:null) Port forwarding rules are removed su ccessfully as a 
part of vm id=6164 expunge
2013-07-25 12:30:17,711 DEBUG [cloud.vm.UserVmManagerImpl]
(UserVm-Scavenger-1:null) Removed vm id=6164 from all load bal ancers as a part 
of expunge process
2013-07-25 12:30:17,714 DEBUG [network.rules.RulesManagerImpl]
(UserVm-Scavenger-1:null) Revoking all Firewallrules as a part of disabling 
static nat for public IP id=1305
2013-07-25 12:30:17,716 DEBUG [network.firewall.FirewallManagerImpl]
(UserVm-Scavenger-1:null) Releasing 3 firewall rules for ip id=1305
2013-07-25 12:30:17,718 WARN  [cloud.vm.UserVmManagerImpl]
(UserVm-Scavenger-1:null) Unable to expunge VM[User|test090703-1] 
java.lang.NullPointerException
at com.cloud.event.EventUtils.getDomainId(EventUtils.java:116)
at com.cloud.event.EventUtils.saveStartedEvent(EventUtils.java:79)
at
com.cloud.event.ActionEventInterceptor.interceptStart(ActionEventInterceptor.java:47)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:119)
at
com.cloud.network.firewall.FirewallManagerImpl.revokeFirewallRulesForIp(FirewallManagerImpl.java:734)
at
com.cloud.network.rules.RulesManagerImpl.disableStaticNat(RulesManagerImpl.java:1194)
at
com.cloud.vm.UserVmManagerImpl.cleanupVmResources(UserVmManagerImpl.java:1856)
at
com.cloud.vm.UserVmManagerImpl.expunge(UserVmManagerImpl.java:1787)
at
com.cloud.vm.UserVmManagerImpl$ExpungeTask.run(UserVmManagerImpl.java:2416)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)


--
Regards,
Valery

http://protocol.by/slayer


RE: AWS API setup

2013-08-01 Thread François Bousquet
Same bug here with CloudStack 4.1.0 RPM. I had to manually copy xes.keystore 
for the registration to work but now I am getting the same error as you:

The service cannot be found for the endpoint reference (EPR) 
http://localhost:7080/awsapi/services/AmazonEC2/

I posted the question on Tuesday, but still no answer.

-Original Message-
From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of Carlos 
Reategui
Sent: Wednesday, July 31, 2013 19:14
To: users@cloudstack.apache.org
Subject: Re: AWS API setup

No luck with the EC2 api.  I am seeing this in catalina log:

Jul 31, 2013 3:54:41 PM org.apache.axis2.engine.AxisEngine receive
SEVERE: The service cannot be found for the endpoint reference (EPR) 
http://localhost:7080/awsapi/services/AmazonEC2/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint 
reference (EPR) http://localhost:7080/awsapi/services/AmazonEC2/
at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)
at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.java:114)
at
com.cloud.bridge.service.EC2MainServlet.doPost(EC2MainServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)



On Wed, Jul 31, 2013 at 2:22 PM, Carlos Reategui car...@reategui.comwrote:

 Looks like I'm on my own here

 I poked around the cloudstack-setup-databases script and the sql it
 uses drops the tables before recreating them so it is not safe for me
 to run that or it will kill my current cloud db.

 In that script I did find references to the cloud-bridge sql files
 found
 here:
 # ls -l /usr/share/cloudstack-bridge/setup/
 total 56
 -rw-r--r-- 1 root root 1592 Jun  4 11:45 cloudbridge_bucketpolicy.sql
 -rw-r--r-- 1 root root 1148 Jun  4 11:45 cloudbridge_db.sql
 -rw-r--r-- 1 root root 3711 Jun  4 11:45 cloudbridge_index.sql
 -rw-r--r-- 1 root root 1170 Jun  4 11:45
 cloudbridge_multipart_alter.sql
 -rw-r--r-- 1 root root 2468 Jun  4 11:45 cloudbridge_multipart.sql
 -rw-r--r-- 1 root root  896 Jun  4 11:45
 cloudbridge_offering_alter.sql
 -rw-r--r-- 1 root root 1551 Jun  4 11:45 cloudbridge_offering.sql
 -rw-r--r-- 1 root root  897 Jun  4 11:45 cloudbridge_policy_alter.sql
 -rw-r--r-- 1 root root 4462 Jun  4 11:45 cloudbridge_schema.sql
 -rw-r--r-- 1 root root 2365 Jun  4 11:45 deploy-db-bridge.sh
 -rw-r--r-- 1 

Re: FW: CS 4.1.0 - this will help a number of people who struggle with Advanced Networking

2013-08-01 Thread Marcus Sorensen
I'm short on time, but here's the KVM advanced networking config we
use for testing. If someone wants to write a doc based around it that
would be nice.

Start out KVM host with two networks, eth0, eth1. eth0 is intended for
public traffic, eth0 will be guest vlans and management vlan. then
create a bridge interface for each:

[root@devcloud-kvm ~]# brctl show
bridge name bridge id STP enabled interfaces
cloud0 8000. no
br0 8000.5254004eff4f no eth0
br1 8000.52540052b15e no eth1

br0  Link encap:Ethernet  HWaddr 52:54:00:4E:FF:4F
  inet addr:172.17.10.10  Bcast:172.17.10.255  Mask:255.255.255.0
  inet6 addr: fe80::5054:ff:fe4e:ff4f/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:127 errors:0 dropped:0 overruns:0 frame:0
  TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:5846 (5.7 KiB)  TX bytes:4345 (4.2 KiB)

br1  Link encap:Ethernet  HWaddr 52:54:00:52:B1:5E
  inet addr:192.168.100.10  Bcast:192.168.100.255  Mask:255.255.255.0
  inet6 addr: fe80::5054:ff:fe52:b15e/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:343 errors:0 dropped:0 overruns:0 frame:0
  TX packets:153 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:24227 (23.6 KiB)  TX bytes:29108 (28.4 KiB)

eth0  Link encap:Ethernet  HWaddr 52:54:00:4E:FF:4F
  inet6 addr: fe80::5054:ff:fe4e:ff4f/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:157 errors:0 dropped:0 overruns:0 frame:0
  TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:12276 (11.9 KiB)  TX bytes:4897 (4.7 KiB)

eth1  Link encap:Ethernet  HWaddr 52:54:00:52:B1:5E
  inet6 addr: fe80::5054:ff:fe52:b15e/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:377 errors:0 dropped:0 overruns:0 frame:0
  TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:34044 (33.2 KiB)  TX bytes:29748 (29.0 KiB)

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:863 errors:0 dropped:0 overruns:0 frame:0
  TX packets:863 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:120247 (117.4 KiB)  TX bytes:120247 (117.4 KiB)

Ok, now kvm host is ready. Just define the kvm traffic label for
Management traffic to be 'br0', for guest to be 'br0', and for public
to be 'br1'. Cloudstack will create any necessary bridges or vlans.
You can leave the vlan option empty if you don't want it to create a
vlan (say for management). I can perhaps go into more detail later.

On Wed, Jul 31, 2013 at 12:33 PM, Marcus Sorensen shadow...@gmail.com wrote:
 Yes, that's correct. I think we need to update the documentation. The
 user simply needs to create a bridge where 'public' traffic will work,
 and then set that bridge name as the traffic label for public traffic.
 Then it will create the vlan device and the bridge necessary for
 public based on the physical ethernet device of that bridge.

 Note, in this example, it is only looking for cloudVirBr for
 compatibility, if there are existing cloudVirBr bridges then the agent
 will continue to create cloudVirBr bridges, otherwise, it will create
 breth bridges, which allow the same vlan number on different physical
 interfaces.

 We can easily create some concrete examples for this... such as the
 one represented in devcloud-kvm by
 tools/devcloud-kvm/devcloud-kvm-advanced.cfg

 On Wed, Jul 31, 2013 at 12:06 PM, Edison Su edison...@citrix.com wrote:
 The KVM installation guide at 
 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/hypervisor-kvm-install-flow.html
  , is unnecessary complicated and inaccurate.
 For example, we don't need to configure vlan on kvm host by users 
 themselves, cloudstack-agent will create vlans automatically.
 All users need to do is to create bridges(if the default bridge created by 
 cloudstack-agent is not enough), then add these bridge names from cloudstack 
 mgt server UI during the zone creation.

 -Original Message-
 From: Noel Kendall [mailto:noeldkend...@hotmail.com]
 Sent: Wednesday, July 31, 2013 9:49 AM
 To: users@cloudstack.apache.org
 Subject: CS 4.1.0 - this will help a number of people who struggle with 
 Advanced Networking

 The documentation for installation in a KVM environment is utterly 
 misleading.
 The documentation reads as though one can set up the bridge for the public 
 network with any name one chooses, the default being cloudbr0.
 You cannot use just any old name. That simply will 

CloudStack 302 to 41 XenServer Issue

2013-08-01 Thread John Skinner
Hello all,

Just upgraded my mixed KVM/XenServer environment form 3.0.2 to 4.1. All of my 
KVM hosts seem happy, but all of my XenServer (5.6SP2) hosts show as 
disconnected and are not coming back. Has anyone experienced this?







Re: Shared Network Issue HELP?!

2013-08-01 Thread Steve Searles
After posting this I thought about it more and answered my own question.  I see 
this type of setup being a management nightmare, e.g. rouge dhcp servers or 
anything else a user would attempt without the proper vlan/pvlan segmentation 
on the guest network in place it would be a hot mess.   Thanks Guys! 

Steve Searles
Zimcom Internet Solutions, Inc.
http://www.zimcom.net
Phone. (513)231-9500
Fax. (513)624-3909
Toll Free. (888)624-3910

On Aug 1, 2013, at 2:43 PM, Steve Searles st...@zimcom.net
 wrote:

 
 Hello everyone,  I am new to Cloudstack and have it deployed in our lab 
 currently so go easy :)  I have everything working as expected with the 
 advanced network zone, vmware support,  and multiple vlan isolation working 
 properly.  I have a few questions I would like to ask here about networking 
 options inside Cloudstack that I was unable to acertain from the 
 documentation. Hopefully one of you guys can steer me in the right direction.
 
 MY LAB SETUP
 Cloudstack 4.1.0 (Compiled from Source w/vmware support)
 Zone1- Advanced –
MGMT(untagged): 172.29.16.0/21
STORAGE(untagged): 172.29.16.0/21
GUEST(VLAN 601): 172.29.24.0/21
PUBLIC(VLAN 602): x.x.x.x/24
 
 Currently I create an account and can add a guest network, the virtual router 
 deploys properly assigns the necessary vlan for the isolated network  the 
 guest IP is assigned and a public ip is assigned from the public IP pool as 
 expected this works properly (Awesome).  Deploying a VPC under a user account 
 functions properly as well (Very Cool).  What I am looking for is a 
 configuration that I guess be best described as a shared isolated network? 
 Where an instance is provisioned and assigned an rfc1918 address from a large 
 guest pool much like I have currently setup with the “Default Shared 
 Network”. And a user can request an IP be assigned from the public pool and 
 create pat/nat translations and firewall rules just as on the isolated 
 network I tested.  This is for a multi-tennent setup where each user does not 
 need to create their own guest network and vlan isolation between accounts is 
 not necessary thus no need to burn a vlan and a vrouter for every customer 
 account.  Based on what I am seeing this functionality seems to already be 
 present.  If I provision and instance on the Default Shared Network (VLAN601) 
 in my setup, the machine is assigned the proper RFC1918 address from the pool 
 but when I try to allocate a public ip from the network tab I receive the 
 allocation error below.  Should this functionality even work? The problem 
 seems obvious but I don’t see where I can make the owners match even using 
 cloudmokey.
 
 2013-08-01 13:12:32,000 DEBUG [cloud.user.AccountManagerImpl] 
 (Job-Executor-21:job-269) Access to Acct[4-zimcom] granted to Acct[4-zimcom] 
 by DomainChecker_EnhancerByCloudStack_dd56169d
 2013-08-01 13:12:32,020 DEBUG [cloud.user.AccountManagerImpl] 
 (Job-Executor-21:job-269) Access to Ip[209.212.252.6-1] granted to 
 Acct[4-zimcom] by DomainChecker_EnhancerByCloudStack_dd56169d
 2013-08-01 13:12:32,031 DEBUG [cloud.user.AccountManagerImpl] 
 (Job-Executor-21:job-269) Access to Ntwk[204|Guest|7] granted to 
 Acct[4-zimcom] by DomainChecker_EnhancerByCloudStack_dd56169d
 2013-08-01 13:12:32,042 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-21:job-269) Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd
 com.cloud.exception.InvalidParameterValueException: The owner of the network 
 is not the same as owner of the IP
at 
 com.cloud.network.NetworkManagerImpl.associateIPToGuestNetwork(NetworkManagerImpl.java:744)
at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
 com.cloud.network.NetworkServiceImpl.associateIPToNetwork(NetworkServiceImpl.java:2852)
at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
 org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd.execute(AssociateIPAddrC
 
 
 
 
 
 I also created a second zone with basic networking but I did not see a way to 
 accomplish this with that setup either as it looks like the machine is 
 directly assigned a public address and access control is handled via SG’s 
 with ingress and egress filtering.
 
 Can anyone help me out?
 Thanks in Advance.
 
 Steve Searles
 http://www.zimcom.net
 Phone. (513)231-9500
 Fax. (513)624-3909
 Toll Free. (888)624-3910
 



Update resolve.conf search string

2013-08-01 Thread Old, Curtis
Is there way to persistently change the search entry for the /etc/resolv.conf 
on cloudstack clients?  How do I ensure that the system router vm takes care of 
this?

Curtis Old
Neustar, Inc. / Neustarlabs / Senior Research Engineer
46000 Center Oak Plaza Sterling, VA 20166
Office: +1.571.434.5384 Mobile: +1.540.532.2230 / 
curtis@neustar.bizmailto:curtis@neustar.biz  / 
www.neustar.bizhttp://www.neustar.biz/

The information contained in this e-mail message is intended only for the use 
of the recipient(s) named above and may contain confidential and/or privileged 
information. If you are not the intended recipient you have received this 
e-mail message in error and any review, dissemination, distribution, or copying 
of this message is strictly prohibited. If you have received this communication 
in error, please notify us immediately and delete the original message.


CloudStack NIC ordering ACS4.1

2013-08-01 Thread Paul Angus
Hi,

Before 4.1 if you added multiple NICs to a VM they would appear with the 
Default as eth0 and then in the order that you specified them in the API. In 
4.1 that has appeared to have changed

Can someone tell me how the order that the NICs are assigned as eth0, eth1, 
eth2 etc is decided - or how to control it, especially when we have multiple 
physical guest networks.

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540tel:+442036030540 | M: +4tel:+44796816158147711418784
paul.an...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapebluehttps://twitter.com/
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3modificationDate=1367282397297]http://www.cloudstackcollab.net/

Apache CloudStack Bootcamp training courses
19/20 June, 
Londonhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/
22/23 June, Santa Clara  
CAhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/
10/11 July, Bangalore, 
Indiahttp://www.shapeblue.com/cloudstack-bootcamp-training-course/
21/22 August, 
Londonhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/

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.


what is this log message?

2013-08-01 Thread Steven Liang

  
  
Hi,

Who can tell me what this message is:

2013-08-01 10:39:21 kvm1.test.com 1 10:39:21 kvm1 CGRE[3124]:
Warning: invalid file format of /proc/31088/status

Thank you.

  
Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



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

2013-08-01 Thread Cindy Jiang
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-01 Thread Cindy Jiang
Attach the screenshots

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

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

From: Cindy Jiang cji...@infoblox.commailto:cji...@infoblox.com
Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 2:24 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, Soheil 
Eizadi seiz...@infoblox.commailto: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: FW: CS 4.1.0 - this will help a number of people who struggle with Advanced Networking

2013-08-01 Thread Marcus Sorensen
Here's a simple (not recommended) one-nic setup:

http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf

And a simple two-nic setup:

http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf

Hasty docs put together on the road...


On Thu, Aug 1, 2013 at 11:28 AM, Marcus Sorensen shadow...@gmail.com wrote:
 I'm short on time, but here's the KVM advanced networking config we
 use for testing. If someone wants to write a doc based around it that
 would be nice.

 Start out KVM host with two networks, eth0, eth1. eth0 is intended for
 public traffic, eth0 will be guest vlans and management vlan. then
 create a bridge interface for each:

 [root@devcloud-kvm ~]# brctl show
 bridge name bridge id STP enabled interfaces
 cloud0 8000. no
 br0 8000.5254004eff4f no eth0
 br1 8000.52540052b15e no eth1

 br0  Link encap:Ethernet  HWaddr 52:54:00:4E:FF:4F
   inet addr:172.17.10.10  Bcast:172.17.10.255  Mask:255.255.255.0
   inet6 addr: fe80::5054:ff:fe4e:ff4f/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:127 errors:0 dropped:0 overruns:0 frame:0
   TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:5846 (5.7 KiB)  TX bytes:4345 (4.2 KiB)

 br1  Link encap:Ethernet  HWaddr 52:54:00:52:B1:5E
   inet addr:192.168.100.10  Bcast:192.168.100.255  Mask:255.255.255.0
   inet6 addr: fe80::5054:ff:fe52:b15e/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:343 errors:0 dropped:0 overruns:0 frame:0
   TX packets:153 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:24227 (23.6 KiB)  TX bytes:29108 (28.4 KiB)

 eth0  Link encap:Ethernet  HWaddr 52:54:00:4E:FF:4F
   inet6 addr: fe80::5054:ff:fe4e:ff4f/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:157 errors:0 dropped:0 overruns:0 frame:0
   TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:12276 (11.9 KiB)  TX bytes:4897 (4.7 KiB)

 eth1  Link encap:Ethernet  HWaddr 52:54:00:52:B1:5E
   inet6 addr: fe80::5054:ff:fe52:b15e/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:377 errors:0 dropped:0 overruns:0 frame:0
   TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:34044 (33.2 KiB)  TX bytes:29748 (29.0 KiB)

 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:863 errors:0 dropped:0 overruns:0 frame:0
   TX packets:863 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:120247 (117.4 KiB)  TX bytes:120247 (117.4 KiB)

 Ok, now kvm host is ready. Just define the kvm traffic label for
 Management traffic to be 'br0', for guest to be 'br0', and for public
 to be 'br1'. Cloudstack will create any necessary bridges or vlans.
 You can leave the vlan option empty if you don't want it to create a
 vlan (say for management). I can perhaps go into more detail later.

 On Wed, Jul 31, 2013 at 12:33 PM, Marcus Sorensen shadow...@gmail.com wrote:
 Yes, that's correct. I think we need to update the documentation. The
 user simply needs to create a bridge where 'public' traffic will work,
 and then set that bridge name as the traffic label for public traffic.
 Then it will create the vlan device and the bridge necessary for
 public based on the physical ethernet device of that bridge.

 Note, in this example, it is only looking for cloudVirBr for
 compatibility, if there are existing cloudVirBr bridges then the agent
 will continue to create cloudVirBr bridges, otherwise, it will create
 breth bridges, which allow the same vlan number on different physical
 interfaces.

 We can easily create some concrete examples for this... such as the
 one represented in devcloud-kvm by
 tools/devcloud-kvm/devcloud-kvm-advanced.cfg

 On Wed, Jul 31, 2013 at 12:06 PM, Edison Su edison...@citrix.com wrote:
 The KVM installation guide at 
 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/hypervisor-kvm-install-flow.html
  , is unnecessary complicated and inaccurate.
 For example, we don't need to configure vlan on kvm host by users 
 themselves, cloudstack-agent will create vlans automatically.
 All users need to do is to create bridges(if the default bridge created by 
 cloudstack-agent is not enough), then add these bridge names from 
 cloudstack mgt server UI during the zone creation.

 -Original Message-
 From: Noel Kendall [mailto:noeldkend...@hotmail.com]
 Sent: Wednesday, July 31, 2013 

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

2013-08-01 Thread Cindy Jiang
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 cji...@infoblox.commailto:cji...@infoblox.com
Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 2:34 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, Soheil 
Eizadi seiz...@infoblox.commailto: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-3B132C1A66B0]

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

From: Cindy Jiang cji...@infoblox.commailto:cji...@infoblox.com
Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 2:24 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, Soheil 
Eizadi seiz...@infoblox.commailto: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-01 Thread Chiradeep Vittal
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 cji...@infoblox.com 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 cji...@infoblox.commailto:cji...@infoblox.com
Reply-To: 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 2:34 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, Soheil
Eizadi seiz...@infoblox.commailto: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 cji...@infoblox.commailto:cji...@infoblox.com
Reply-To: 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 2:24 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, Soheil
Eizadi seiz...@infoblox.commailto: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: what is this log message?

2013-08-01 Thread Chiradeep Vittal
Where do you see this log? In CloudStack logs or in /var/log/messages? Are 
there any surrounding logs?


From: Steven Liang stevenli...@yesup.commailto:stevenli...@yesup.com
Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 1:51 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Subject: what is this log message?

Hi,

Who can tell me what this message is:

2013-08-01 10:39:21 kvm1.test.com 1 10:39:21 kvm1 CGRE[3124]: Warning: invalid 
file format of /proc/31088/status

Thank you.


Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.commailto:stevenli...@yesup.com
www.yesup.comhttp://www.yesup.com | 
account.yesup.comhttp://account.yesup.com

[Yesup]


Re: Change host password??

2013-08-01 Thread Kirk Kosinski
Hi, I updated the bug with more details.  The document is close but not
quite correct, and there is some info that should be added.

1. It should be the host_details table, not the host table.
2. For vSphere, in addition to updating host_details, you also need to
update the cluster_details table.
3. For XenServer you should use the updateHostPassword API (AFAIK this
command doesn't work for other hypervisors yet).

Best regards,
Kirk

On 07/31/2013 05:32 PM, Kirk Jantzer wrote:
 https://issues.apache.org/jira/browse/CLOUDSTACK-3990
 
 
 On Wed, Jul 31, 2013 at 7:30 PM, Kirk Jantzer kirk.jant...@gmail.comwrote:
 
 Thanks Prashant.

 Will do Jessica.


 On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak 
 jessica.tomec...@citrix.com wrote:

 Sounds like a document bug to me. Please file it in the bugbase!

 Jessica T.
 
 From: Kirk Jantzer [kirk.jant...@gmail.com]
 Sent: Wednesday, July 31, 2013 4:17 PM
 To: Cloudstack users mailing list
 Subject: Change host password??


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html

 This document says to update the password column, which doesn't exist in
 the host table. Is this a document bug?

 --
 Regards,

 Kirk Jantzer
 http://about.met/kirkjantzer




 --
 Regards,

 Kirk Jantzer
 c: (678) 561-5475
 http://about.met/kirkjantzer

 
 
 


Re: Centos and FreeBSD templates

2013-08-01 Thread Chiradeep Vittal
I thought this existed (at least for KVM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Resize+Data+Volumes


On 8/1/13 6:11 AM, Nux! n...@li.nux.ro wrote:

Hi,

Should someone need templates, I've made some Centos 6 and FreeBSD 9
64bit templates for KVM, both are VirtIO enabled and have the password
and key scripts installed (and working from what I tested).
They have a random root size of 20 GB. Having said that, I'd really,
really, really like Cloudstack could resize the root disk (as the
competition does); for me it's the numero uno problem that stops a
central template repo (market place?) from existing. Imposing random
root sizes on people doesn't seem right.

http://li.nux.ro/download/cloudstack/images/

Lucian

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: CloudStack 302 to 41 XenServer Issue

2013-08-01 Thread Chiradeep Vittal
Logs?

On 8/1/13 12:53 PM, John Skinner john.skin...@appcore.com wrote:

Hello all,

Just upgraded my mixed KVM/XenServer environment form 3.0.2 to 4.1. All
of my KVM hosts seem happy, but all of my XenServer (5.6SP2) hosts show
as disconnected and are not coming back. Has anyone experienced this?








Re: what is this log message?

2013-08-01 Thread Steven Liang

  
  
in /var/log/messages
  
  On 08/01/2013 05:52 PM, Chiradeep Vittal wrote:


  
  Where do you see this log? In CloudStack logs or in
/var/log/messages? Are there any surrounding logs?
  
  
  
  
  

  From: Steven Liang stevenli...@yesup.com
  Reply-To: "users@cloudstack.apache.org"
  users@cloudstack.apache.org
  Date: Thursday, August
  1, 2013 1:51 PM
  To: "users@cloudstack.apache.org"
  users@cloudstack.apache.org
  Subject: what is this
  log message?




  Hi,

Who can tell me what this message is:

2013-08-01 10:39:21 kvm1.test.com 1 10:39:21 kvm1
CGRE[3124]: Warning: invalid file format of
/proc/31088/status

Thank you.

  
Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com
| 
  account.yesup.com
  
  
  

  



-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



RE: Unable to start System VM

2013-08-01 Thread Musayev, Ilya
Chitra,

Have you read cloudstack install guide?

Specifically section 4.5.8?

Regards
Ilya

From: Chitra Manjunath [mailto:chitra_manjun...@infosys.com]
Sent: Thursday, August 01, 2013 8:41 AM
To: users@cloudstack.apache.org
Subject: Unable to start System VM

Hi All,

I attached the management server log file.
log saying Zone is not Ready, templates are not ready. But I added the Zone and 
is enabled.

Where we need to download the System VM template?

Please anyone solve this problem.
Very Urgent


Thanks
Chitra.M


 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: Change host password??

2013-08-01 Thread Jessica Tomechak
Thanks for the details. Now all we need is for someone to pick up and fix the 
bug!

Jessica T.

From: Kirk Kosinski [kirkkosin...@gmail.com]
Sent: Thursday, August 01, 2013 2:53 PM
To: users@cloudstack.apache.org
Cc: Kirk Jantzer
Subject: Re: Change host password??

Hi, I updated the bug with more details.  The document is close but not
quite correct, and there is some info that should be added.

1. It should be the host_details table, not the host table.
2. For vSphere, in addition to updating host_details, you also need to
update the cluster_details table.
3. For XenServer you should use the updateHostPassword API (AFAIK this
command doesn't work for other hypervisors yet).

Best regards,
Kirk

On 07/31/2013 05:32 PM, Kirk Jantzer wrote:
 https://issues.apache.org/jira/browse/CLOUDSTACK-3990


 On Wed, Jul 31, 2013 at 7:30 PM, Kirk Jantzer kirk.jant...@gmail.comwrote:

 Thanks Prashant.

 Will do Jessica.


 On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak 
 jessica.tomec...@citrix.com wrote:

 Sounds like a document bug to me. Please file it in the bugbase!

 Jessica T.
 
 From: Kirk Jantzer [kirk.jant...@gmail.com]
 Sent: Wednesday, July 31, 2013 4:17 PM
 To: Cloudstack users mailing list
 Subject: Change host password??


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html

 This document says to update the password column, which doesn't exist in
 the host table. Is this a document bug?

 --
 Regards,

 Kirk Jantzer
 http://about.met/kirkjantzer




 --
 Regards,

 Kirk Jantzer
 c: (678) 561-5475
 http://about.met/kirkjantzer






RE: external load balancer, shared network, advanced networking

2013-08-01 Thread Brian Galura
OK thanks for this info. I also am unable to get this to work with isolated 
networks.

I created a service offering for isolated networks with source nat and load 
balancing enabled, and Supported Source NAT type: per account

When  I try and start an instance on a network created using this offering I 
get the following error in the logs:
http://pastie.org/8198148

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
Sent: Wednesday, July 31, 2013 12:33 AM
To: users@cloudstack.apache.org
Subject: RE: external load balancer, shared network, advanced networking

Hi Brian,

In 4.1 , the configuration only works with isolated networks. From next ACS 
release onwards this would be supported.

Thanks,
Sanjeev
-Original Message-
From: Brian Galura [mailto:brian.gal...@citrix.com] 
Sent: Tuesday, July 30, 2013 11:58 PM
To: users@cloudstack.apache.org
Subject: external load balancer, shared network, advanced networking

Im using CS4.1 and trying to get a netscaler to work as a load balancer as the 
subject describes.

Is it true that this configuration will only work with isolated networks? Does 
this mean that the isolated vlans all need to be trunked up to the netscaler? 
Im having a hard time finding definitive documentation on this point.


Re: vhd-util 'failed to coalesce' while XenServer host executing 'create_privatetemplate_from_snapshot.sh'

2013-08-01 Thread Chiradeep Vittal
Try this: 
http://support.citrix.com/article/CTX133465

And this
http://forums.citrix.com/thread.jspa?threadID=301226start=0tstart=0


On 7/31/13 6:10 AM, Yan Ke yan...@yonyou.com wrote:

Hello there,

I'm working on integrating CloudStack 4.0.1 with XenServer 6.0.2.

I have managed setting up a basic network configuration, launching zone,
launching guest instances as well as creating volume snapshots, but
afterward I'm encountering following issue:

 

The 'create template from snapshot' operation always fail.

The management server log indicates that following Exception has been
thrown
during the operation process:


com.cloud.utils.exception.CloudRuntimeException:
create_privatetemplate_from_snapshot failed due to failed to coalesce
/var/run/cloud_mount/d865f1ad-a164-443f-8c05-d4c56e690f25/b1a56afd-a943-4a
43
-87b8-c2e2ab10126f.vhd to
/var/run/cloud_mount/58d3242f-d4fb-41e9-a20e-0686ffda9eaa/85bd1f75-1d10-48
c4
-ae79-d2e5ece8b6f1.vhd
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.createTemplateFromSna
ps
hot(CitrixResourceBase.java:2618)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
eB
ase.java:6398)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
Re
sourceBase.java:475)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenSe
rv
er56Resource.java:73)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.jav
a:
191)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acces
s$
101(ScheduledThreadPoolExecutor.java:165)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
ch
eduledThreadPoolExecutor.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
11
10)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:6
03)
at java.lang.Thread.run(Thread.java:679)



With some effort on debugging the management server code, I figured out
that
the operation will finally lead to an invocation on the
'create_privatetemplate_from_snapshot.sh' script on the XenServer host.
So I
logged into the XenServer host and manually invoked the script with the
same
parameter from cloudstack, and it ended up as follow:


[root@xenserver-modaxvnu bin]# sh -x
/opt/xensource/bin/create_privatetemplate_from_snapshot.sh
20.10.97.182:/export/secondary/snapshots/2/10/85bd1f75-1d10-48c4-ae79-d2e5
ec
e8b6f1.vhd 20.10.97.182:/export/secondary/template/tmpl/2/218
7a51626c-dd10-43ca-b65a-162e88cf1188
+ options=tcp,soft,timeo=133,retrans=1
+ '[' -z
20.10.97.182:/export/secondary/snapshots/2/10/85bd1f75-1d10-48c4-ae79-d2e5
ec
e8b6f1.vhd ']'
+ snapshoturl=20.10.97.182:/export/secondary/snapshots/2/10
+ vhdfilename=85bd1f75-1d10-48c4-ae79-d2e5ece8b6f1.vhd
+ '[' -z 20.10.97.182:/export/secondary/template/tmpl/2/218 ']'
+ templateurl=20.10.97.182:/export/secondary/template/tmpl/2/218
+ '[' -z 7a51626c-dd10-43ca-b65a-162e88cf1188 ']'
+ tmpltLocalDir=7a51626c-dd10-43ca-b65a-162e88cf1188
++ uuidgen -r
+ snapshotdir=/var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b
+ mkdir -p /var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b
+ '[' 0 -ne 0 ']'
+ mount -o tcp,soft,timeo=133,retrans=1
20.10.97.182:/export/secondary/snapshots/2/10
/var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b
+ '[' 0 -ne 0 ']'
+ templatedir=/var/run/cloud_mount/7a51626c-dd10-43ca-b65a-162e88cf1188
+ mkdir -p /var/run/cloud_mount/7a51626c-dd10-43ca-b65a-162e88cf1188
+ '[' 0 -ne 0 ']'
+ mount -o tcp,soft,timeo=133,retrans=1
20.10.97.182:/export/secondary/template/tmpl/2/218
/var/run/cloud_mount/7a51626c-dd10-43ca-b65a-162e88cf1188
+ '[' 0 -ne 0 ']'
+ VHDUTIL=/opt/xensource/bin/vhd-util
++ uuidgen -r
+ templateuuid=3d1cf0b6-3eb5-4a8d-867b-ae16d14ce3ca
+
desvhd=/var/run/cloud_mount/7a51626c-dd10-43ca-b65a-162e88cf1188/3d1cf0b6-
3e
b5-4a8d-867b-ae16d14ce3ca.vhd
+
srcvhd=/var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b/85bd1f75-
1d
10-48c4-ae79-d2e5ece8b6f1.vhd
+ copyvhd
/var/run/cloud_mount/7a51626c-dd10-43ca-b65a-162e88cf1188/3d1cf0b6-3eb5-4a
8d
-867b-ae16d14ce3ca.vhd
/var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b/85bd1f75-1d10-48
c4
-ae79-d2e5ece8b6f1.vhd
+ local
desvhd=/var/run/cloud_mount/7a51626c-dd10-43ca-b65a-162e88cf1188/3d1cf0b6-
3e
b5-4a8d-867b-ae16d14ce3ca.vhd
+ local
srcvhd=/var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b/85bd1f75-
1d
10-48c4-ae79-d2e5ece8b6f1.vhd
+ local parent=
++ /opt/xensource/bin/vhd-util query -p -n
/var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b/85bd1f75-1d10-48
c4
-ae79-d2e5ece8b6f1.vhd
+
parent=/var/run/cloud_mount/0be144dd-782a-45a0-9e88-ba4779b5c86b/8c410e93-
98

Re: vhd-util fails to open system vm template(.vhd) file, saying it 'appears invalid'

2013-08-01 Thread Chiradeep Vittal
Check this thread
http://forums.citrix.com/thread.jspa?threadID=301226start=0tstart=0



On 7/30/13 3:46 AM, Rajesh Battala rajesh.batt...@citrix.com wrote:

Looks like the template disk got corrupted. Can you please reseed the
system vm template and try.

 -Original Message-
 From: Yan Ke [mailto:yan...@yonyou.com]
 Sent: Tuesday, July 30, 2013 3:39 PM
 To: users@cloudstack.apache.org
 Subject: vhd-util fails to open system vm template(.vhd) file, saying it
 'appears invalid'
 
 Hello there,
 
 I'm working on setting up a basic network CloudStack 4.0.1 configuration
 with XenServer 6.0.2 and encountered problem: after created zone, the
 system vm won't start.
 The management server log shows Exception like this was thrown:
 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-322:) Catch
Exception
 com.cloud.utils.exception.CloudRuntimeException on host:95cacdb9-a52d-
 4d22-8684-1310cca1a87d for template:
 nfs://20.10.97.182/export/secondary/template/tmpl/1/1/ due to
 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in
sr
 3938e40f-99fe-cfc4-f729-00134eb32af0
 com.cloud.utils.exception.CloudRuntimeException: can not create vdi in
sr
 3938e40f-99fe-cfc4-f729-00134eb32af0
  at
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_seco
 ndarystorage(CitrixResourceBase.java:2672)
  at
 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResour
c
 eBase.java:2694)
  at
 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citri
x
 ResourceBase.java:481)
  at
 com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(Xe
 nServer56Resource.java:73)
  at
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.j
 ava:191)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acc
 ess$101(ScheduledThreadPoolExecutor.java:165)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run
 (ScheduledThreadPoolExecutor.java:266)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
 a:1110)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
 va:603)
  at java.lang.Thread.run(Thread.java:679)
 
 
 by stepping-into the code, I figured out this method
 'copy_vhd_from_secondarystorage(CitrixResourceBase.java:2672)' will
finally
 invoke the 'copy_vhd_from_secondarystorage.sh' on XenServer host, so I
 logged into the XenServer host, manually invoked the
 'copy_vhd_from_secondarystorage.sh' with same parameter from cloudstack,
 which fails as follow:
 [root@xenserver-modaxvnu /]#
 /opt/xensource/bin/copy_vhd_from_secondarystorage.sh
 20.10.97.182:/export/secondary/template/tmpl/1/1/
 3938e40f-99fe-cfc4-f729-00134eb32af0
 cloud-e6e25ca4-6a3f-4990-9e93-125b229cab0c
 Syntax error: Unknown switch: -22MiB
 For usage run: 'xe help'
 9#can not create vdi in sr 3938e40f-99fe-cfc4-f729-00134eb32af0
 
 
 with a little effort on debugging the script, it shows that the error
occurred
 at:
 /opt/xensource/bin/vhd-util query -v -n /var/run/cloud_mount/c57e417b-
 4e9f-4c8b-8e67-087942422df3//8e62f48f-39e7-4543-9106-f2f12ca39946.vhd
 + size='error opening
 /var/run/cloud_mount/c57e417b-4e9f-4c8b-8e67-087942422df3//8e62f48f-
 39e7-4543-9106-f2f12ca39946.vhd:
 -22'
 
 the 'vhd-util' failed to open the vm template file on secondary storage.
 
 
 I then tried following command on the management server, which directly
 invoke vhd-util and it shows:
 [root@managementserver ~]#
 /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util read -p
 -n /export/secondary/template/tmpl/1/1/8e62f48f-39e7-4543-9106-
 f2f12ca39946.vhd
 
 Failed to open
 /export/secondary/template/tmpl/1/1/8e62f48f-39e7-4543-9106-
 f2f12ca39946.vhd:
 -22
 
 /export/secondary/template/tmpl/1/1/8e62f48f-39e7-4543-9106-
 f2f12ca39946.vhd
 appears invalid; dumping headers
 
 VHD Footer Summary:
 ---
 Cookie  : QFI
 Features: (0x)
 File format version : Major: 0, Minor: 0
 Data offset : 16
 Timestamp   : Sat Jan  1 00:00:00 2000
 Creator Application : '}'
 Creator version : Major: 0, Minor: 0
 Creator OS  : Unknown!
 Original disk size  : 0 MB (196608 Bytes)
 Current disk size   : 0 MB (65536 Bytes)
 Geometry: Cyl: 0, Hds: 0, Sctrs: 1
  : = 0 MB (0 Bytes)
 Disk type   : None
 Checksum: 0x0|0xfd8c (Bad!)
 UUID: ----
 Saved state : No
 Hidden  : 0
 
 VHD Header Summary:
 ---
 Cookie  :
 Data offset (unusd) : 0
 Table offset: 0
 Header version   

Re: CloudStack 4.1 AWS API error: Client: The service cannot be found for the endpoint reference (EPR)

2013-08-01 Thread Chiradeep Vittal
Francois, the 4.1 version also supports the Query API. You may be able to
use Boto
See
https://cwiki.apache.org/confluence/x/4gHVAQ

On 7/30/13 11:47 AM, François Bousquet
francois.bousq...@radialpoint.com wrote:

We are running CloudStack 4.1.0 installed from RPM and are having problem
configuring the AWS API: CloudStack-Bridge.

After doing the initial configuration (enable.ec2.api=true + restart)
then following these steps:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Insta
llation_Guide/aws-ec2-user-setup.html

My EC2 env. variables are the following:
EC2_CERT=/root/francoisb_crt.pem
EC2_HOME=/root/ec2-api-tools-1.3-62308
EC2_PRIVATE_KEY=/root/francoisb_key.pem
EC2_URL=http://cloud.ops.dot:7080/awsapi


We get the following error when using any of the ec2 api tools:

#  ./ec2-describe-availability-zones
Client: The service cannot be found for the endpoint reference (EPR)
http://cloud.ops.dot:7080/awsapi/services/AmazonEC2/

Server error from catalina.out is the following:

Jul 30, 2013 2:42:52 PM org.apache.axis2.engine.AxisEngine receive
SEVERE: The service cannot be found for the endpoint reference (EPR)
http://cloud.ops.dot:7080/awsapi/services/AmazonEC2/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint
reference (EPR) http://cloud.ops.dot:7080/awsapi/services/AmazonEC2/
at 
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.ja
va:65)
at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
HTTPTransportUtils.java:173)
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
onFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
Chain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatche
r.java:646)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationD
ispatcher.java:436)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispat
cher.java:374)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatch
er.java:302)
at 
com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.java:11
4)
at 
com.cloud.bridge.service.EC2MainServlet.doPost(EC2MainServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
onFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
Chain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
27)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
02)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
va:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298
)
at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.jav
a:889)
at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process
(Http11NioProtocol.java:721)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.jav
a:2274)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:615)
at java.lang.Thread.run(Thread.java:679)

I found this similar issue in the mailing history but there is no
resolution.
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201306.mbox/%3C1
711456701.20130629021...@vp.pl%3E

both enable.s3.api=true and s3.enable=true are also configured but, I
haven't tried them.

Any idea?


François Bousquet
NOC Team Lead
Office: 514-286-2636 #2337
Mobile: 514-654-8920
francois.bousq...@radialpoint.com


***
This e-mail and attachments are confidential, legally privileged, may be
subject to copyright and sent solely for the attention of the
addressee(s). Any unauthorized use or 

RE: external load balancer, shared network, advanced networking

2013-08-01 Thread Brian Galura
I was able to get this to work by leaving the system offering set to none. 
Previously I was choosing 'system offering for software router'.

Any idea why that is?

-Original Message-
From: Brian Galura [mailto:brian.gal...@citrix.com] 
Sent: Thursday, August 01, 2013 3:31 PM
To: users@cloudstack.apache.org
Subject: RE: external load balancer, shared network, advanced networking

OK thanks for this info. I also am unable to get this to work with isolated 
networks.

I created a service offering for isolated networks with source nat and load 
balancing enabled, and Supported Source NAT type: per account

When  I try and start an instance on a network created using this offering I 
get the following error in the logs:
http://pastie.org/8198148

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
Sent: Wednesday, July 31, 2013 12:33 AM
To: users@cloudstack.apache.org
Subject: RE: external load balancer, shared network, advanced networking

Hi Brian,

In 4.1 , the configuration only works with isolated networks. From next ACS 
release onwards this would be supported.

Thanks,
Sanjeev
-Original Message-
From: Brian Galura [mailto:brian.gal...@citrix.com] 
Sent: Tuesday, July 30, 2013 11:58 PM
To: users@cloudstack.apache.org
Subject: external load balancer, shared network, advanced networking

Im using CS4.1 and trying to get a netscaler to work as a load balancer as the 
subject describes.

Is it true that this configuration will only work with isolated networks? Does 
this mean that the isolated vlans all need to be trunked up to the netscaler? 
Im having a hard time finding definitive documentation on this point.


Re: Update resolve.conf search string

2013-08-01 Thread Old, Curtis
No problem I can write a script and make sure the config is the way I want
it, run it every 10 min or something to ensure the config is cool

Curtis Old 
Neustar, Inc. / Neustarlabs / Senior Research Engineer
46000 Center Oak Plaza Sterling, VA 20166
Office: +1.571.434.5384 Mobile: +1.540.532.2230 / curtis@neustar.biz
/ www.neustar.biz http://www.neustar.biz/



The information contained in this e-mail message is intended only for the
use of the recipient(s) named above and may contain confidential and/or
privileged information. If you are not the intended recipient you have
received this e-mail message in error and any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you
have received this communication in error, please notify us immediately
and delete the original message.





On 8/1/13 6:52 PM, Chiradeep Vittal chiradeep.vit...@citrix.com wrote:

Yeah you would have to use automation outside of CloudStack for this

On 8/1/13 3:14 PM, Old, Curtis curtis@neustar.biz wrote:

Basic, yes dnsmasq on the system vm would set that up, but how do you
make
it persistent?  If I have to re-do the router/dns/dhcp system vm, am I
always going to have to go in and edit config file?

Curtis Old 
Neustar, Inc. / Neustarlabs / Senior Research Engineer
46000 Center Oak Plaza Sterling, VA 20166
Office: +1.571.434.5384 Mobile: +1.540.532.2230 / curtis@neustar.biz
/ www.neustar.biz http://www.neustar.biz/



The information contained in this e-mail message is intended only for the
use of the recipient(s) named above and may contain confidential and/or
privileged information. If you are not the intended recipient you have
received this e-mail message in error and any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you
have received this communication in error, please notify us immediately
and delete the original message.





On 8/1/13 5:56 PM, Chiradeep Vittal chiradeep.vit...@citrix.com
wrote:

Is this for Advanced or basic?
I think on shared networks and basic zone, the DHCP server returns the
DNS
server configured for the zone.

On 8/1/13 1:34 PM, Old, Curtis curtis@neustar.biz wrote:

Is there way to persistently change the search entry for the
/etc/resolv.conf on cloudstack clients?  How do I ensure that the
system
router vm takes care of this?

Curtis Old
Neustar, Inc. / Neustarlabs / Senior Research Engineer
46000 Center Oak Plaza Sterling, VA 20166
Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
curtis@neustar.bizmailto:curtis@neustar.biz  /
www.neustar.bizhttp://www.neustar.biz/

The information contained in this e-mail message is intended only for
the
use of the recipient(s) named above and may contain confidential and/or
privileged information. If you are not the intended recipient you have
received this e-mail message in error and any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you
have received this communication in error, please notify us immediately
and delete the original message.






Re: Global Guest Networks

2013-08-01 Thread Chiradeep Vittal
For your use case you really don't need a public network it seems.
If you were re-doing your setup, assign the public network to be something
else (VLAN UNUSEDXX, network UNUSED/24), and create a shared network with
the cidr 192.168.0.0/24.
BUT, this might not be advisable since CloudStack will create a DHCP
server on this network. But you probably ALREADY have a DHCP server on
this network which will respond to the CloudStack Vms instead of
CloudStack's own DHCP server.

On 7/30/13 8:53 AM, Christopher M. Ryan cr...@harmonia.com wrote:

Thanks Murali! Your advice has helped me create shared networks but it
doesn't work as I expected. When creating a VM on a shared network, it is
not accessible outside of the Cloudstack Console button. How would I be
able to have VMs on a shared network automatically placed on the Public
network? I know this is possible on an isolated network using
source/static NAT but we need the VMs to be able to communicate with each
other on a network that's offered globally to all users.

Here are the configurations I have:

Each server has 2 nics. I have divided up communications as follows:
   Eth0: Public and Guest
   Eth1: Storage and Management

Switch:
   VLAN 1: Public
   VLAN 2: Guest
   VLAN 3: Storage/Management - All ports thi

   Public (VLAN1) is UNTAGGED on the following ports:
   1: the cloudstack server

   Public (VLAN1) is TAGGED on the following ports:
   3: Host 1
   5: Host 2
   7: Host 3
   9: Host 4
   15: Link to office switch (which doesn't have any VLANs 
 configured)

   Guest (VLAN2) is TAGGED on the following ports:
   3: Host 1
   5: Host 2
   7: Host 3
   9: Host 4

   Storage/Management (VLAN3) is UNTAGGED on the following ports:
   2: Host 1
   4: Host 2
   6: Host 3
   8: Host 4
   10: SAN
   11: SAN
   12: SAN
   13: SAN
   14: ASA

The office's network is on CIDR 192.168.0.0/24. I have configured the
Public network to use  VLAN ID 1 and use the same CIDR as the office
network (192.168.0.0/24)

I can get static NAT working with isolated networks by not tagging the
public VLAN on the switch and configuring the Public network to be
untagged. Unfortunately it seems shared networking requires VLAN tagging
so I tried tagging both the Public network and the corresponding Public
VLAN on the switch with VLAN ID 1 but that didn't seem to work.

I would like to have VMs within a shared network available directly
through the office network (192.168.0.0/24). Anyone know how this could
be accomplished? I have learned a lot about networking through using
CloudStack but am definitely no network engineer.


-Original Message-
From: Christopher M. Ryan [mailto:cr...@harmonia.com]
Sent: Tuesday, July 30, 2013 9:52 AM
To: users@cloudstack.apache.org
Subject: RE: Global Guest Networks

Figured it out! I needed to create a Guest Network by going to
Infrastructure  Zones  Zone Name  Physical Network  Guest Network
Network Tab 


Chris Ryan
Harmonia Holdings Group, LLC
404 People Place, Suite 402
Charlottesville, VA 22911
Office: (434) 244-4002




-Original Message-
From: Christopher M. Ryan [mailto:cr...@harmonia.com]
Sent: Tuesday, July 30, 2013 9:07 AM
To: users@cloudstack.apache.org
Subject: RE: Global Guest Networks

I created and enabled a Network Offering with Guest Type Shared. it
does not show as an option when creating a Guest Network. Only Network
Offerings with Guest Type Isolated are shown. An empty list is shown
when creating a new Guest Network after disabling all Network Offerings
with Guest Type Isolated.

I am using Advanced Networking.


Chris Ryan
Harmonia Holdings Group, LLC
404 People Place, Suite 402
Charlottesville, VA 22911
Office: (434) 244-4002



-Original Message-
From: Murali Reddy [mailto:murali.re...@citrix.com]
Sent: Thursday, July 25, 2013 10:08 AM
To: users@cloudstack.apache.org
Subject: Re: Global Guest Networks

On 25/07/13 6:57 PM, Christopher M. Ryan cr...@harmonia.com wrote:

Hi all,



Is there a way to force all users to only have the option to pick from
a list of predefined guest networks instead of creating their own?
These networks can be shared. We are trying to have 2 networks that a
user can create a VM on and are finding it difficult to lock them into
predefined networks.


You could disable all network offerings with 'isolated' guest traffic
type, and create shared networks and make them available to all users.



Thank!









Re: CloudStack 302 to 41 XenServer Issue

2013-08-01 Thread John Skinner
Whoops, I actually replied to this twice but I sent it to myself instead of the 
list lol. I actually ended up fixing this:

2013-08-01 15:11:35,151 DEBUG [xen.resource.CitrixResourceBase] 
(AgentTaskPool-3:null) Management network is on 
pif=f6ca9e23-77a1-37e1-b5e8-744e7a612945
2013-08-01 15:11:35,161 WARN  [xen.resource.CitrixResourceBase] 
(AgentTaskPool-3:null) Unable to find storage network cloud-stor1 for host 
10.10.2.11
2013-08-01 15:11:35,161 WARN  [xen.resource.CitrixResourceBase] 
(AgentTaskPool-3:null) Unable to get host information for 10.10.2.11
java.lang.IllegalArgumentException: Unable to find storage network cloud-stor1 
for host 10.10.2.11
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getHostInfo(CitrixResourceBase.java:4364)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4496)
at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.initialize(XenServer56Resource.java:323)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1907)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:2084)
at 
com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1156)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)

That was the error I was getting every time it tried to connect to a XenServer 
host.

There was an entry in my host_details table called storage.network.device1and 
storage.network.device2 that with values of cloud-stor1 and cloud-stor2. I 
don't remember ever setting these networks up, and they don't actually exist on 
my XenServer hosts at all. I removed the entries from my database and the 
XenServer hosts connected just fine.

This is an environment that has been running since 2.2.1 according to my 
version table. I am not sure that if maybe an older version of CS was creating 
these these storage network tags automatically? I checked another deployment 
that was deployed on 3.0.2 with XenServer 5.6SP2 and it did not have these 
entries in the database, and I've been deploying XenServer the same way for a 
long time with CloudStack. Was quite weird.

On Aug 1, 2013, at 4:54 PM, Chiradeep Vittal chiradeep.vit...@citrix.com 
wrote:

 Logs?
 
 On 8/1/13 12:53 PM, John Skinner john.skin...@appcore.com wrote:
 
 Hello all,
 
 Just upgraded my mixed KVM/XenServer environment form 3.0.2 to 4.1. All
 of my KVM hosts seem happy, but all of my XenServer (5.6SP2) hosts show
 as disconnected and are not coming back. Has anyone experienced this?
 
 
 
 
 
 



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

2013-08-01 Thread Jerry Jiang
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 cji...@infoblox.com 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 cji...@infoblox.commailto:cji...@infoblox.com
Reply-To: 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 2:34 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, 
Soheil Eizadi seiz...@infoblox.commailto: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 cji...@infoblox.commailto:cji...@infoblox.com
Reply-To: 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Thursday, August 1, 2013 2:24 PM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, 
Soheil Eizadi seiz...@infoblox.commailto: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: VPC Issue with CS 4.1/KVM/Openvswitch

2013-08-01 Thread Ahmad Emneina
I can only guess this to be a bug. I'd file that and probably raise it to 
critical since this seems to bet key functionality broken. Have you tried this 
with Cloudstack 4.2 that's nearing release, and you might be able to get it 
fixed there.

Ahmad

On Jul 23, 2013, at 10:07 AM, Dinu Arateanu dinu.arate...@gmail.com wrote:

 Hello,
 
 I've been testing Cloudstack 4.1 with KVM/Openvswitch networking. When trying 
 to add a VPC, the VR's public interface default route was not assigned 
 correctly, nor the source nat. Cloudstack reports the VPC is created 
 successfully, however the VR is left in an incomplete state. Looking 
 through the agent logs I found: 
 
 2013-07-19 16:39:20,961 DEBUG [cloud.agent.Agent] 
 (agentRequest-Handler-2:null) Processing command: 
 com.cloud.agent.api.PlugNicCommand
 2013-07-19 16:39:20,970 DEBUG [kvm.resource.OvsVifDriver] 
 (agentRequest-Handler-2:null) plugging nic=[Nic:Public-192.168.1.68-vlan://32]
 2013-07-19 16:39:20,970 DEBUG [kvm.resource.OvsVifDriver] 
 (agentRequest-Handler-2:null) creating a vlan dev and bridge for public 
 traffic per traffic label vswitch0
 2013-07-19 16:39:21,116 DEBUG [cloud.agent.Agent] 
 (agentRequest-Handler-2:null) Processing command: 
 com.cloud.agent.api.routing.IpAssocVpcCommand
 2013-07-19 16:39:21,126 DEBUG 
 [resource.virtualnetwork.VirtualRoutingResource] 
 (agentRequest-Handler-2:null) Executing: 
 /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh 
 vpc_ipassoc.sh 169.254.2.23  -A  -l 192.168.1.68 -c ethnull -g 192.168.1.1 -m 
 24 -n 192.168.1.0
 2013-07-19 16:39:29,107 DEBUG [kvm.resource.LibvirtComputingResource] 
 (UgentTask-5:null) Executing: 
 /usr/share/cloudstack-common/scripts/vm/network/security_group.py 
 get_rule_logs_for_vms
 2013-07-19 16:39:29,233 DEBUG [kvm.resource.LibvirtComputingResource] 
 (UgentTask-5:null) Execution is successful.
 2013-07-19 16:39:29,235 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending 
 ping: Seq 7-103:  { Cmd , MgmtId: -1, via: 7, Ver: v1, Flags: 11, 
 [{PingRoutingWithNwGroupsCommand:{newGroupStates:{},newStates:{},_gatewayAccessible:true,_vnetAccessible:true,hostType:Routing,hostId:7,wait:0}}]
  }
 2013-07-19 16:39:29,243 DEBUG [cloud.agent.Agent] (Agent-Handler-5:null) 
 Received response: Seq 7-103:  { Ans: , MgmtId: 112938636298, via: 7, Ver: 
 v1, Flags: 100010, 
 [{PingAnswer:{_command:{hostType:Routing,hostId:7,wait:0},result:true,wait:0}}]
  }
 2013-07-19 16:39:38,707 DEBUG 
 [resource.virtualnetwork.VirtualRoutingResource] 
 (agentRequest-Handler-2:null) Execution is successful.
 2013-07-19 16:39:38,708 DEBUG 
 [resource.virtualnetwork.VirtualRoutingResource] 
 (agentRequest-Handler-2:null) Device ethnull does not exist.
 Cannot find device ethnull
 Error: argument Table_ethnull is wrong: table value is invalid
 
 Error: argument Table_ethnull is wrong: table value is invalid
 
 RTNETLINK answers: No such process
 
 2013-07-19 16:39:38,709 DEBUG [cloud.agent.Agent] 
 (agentRequest-Handler-2:null) Processing command: 
 com.cloud.agent.api.routing.SetSourceNatCommand
 2013-07-19 16:39:38,719 DEBUG [kvm.resource.LibvirtComputingResource] 
 (agentRequest-Handler-2:null) failing to get physical interface from 
 bridgecloud0, did not find an eth*, bond*, or vlan* in 
 /sys/devices/virtual/net/cloud0/brif
 2013-07-19 16:39:38,719 DEBUG [kvm.resource.LibvirtComputingResource] 
 (agentRequest-Handler-2:null) failed to get vlan id from bridge 
 cloud0attached to physical interface
 2013-07-19 16:39:38,719 DEBUG [kvm.resource.LibvirtComputingResource] 
 (agentRequest-Handler-2:null) failing to get physical interface from 
 bridgevswitch0, did not find an eth*, bond*, or vlan* in 
 /sys/devices/virtual/net/vswitch0/brif
 2013-07-19 16:39:38,719 DEBUG [kvm.resource.LibvirtComputingResource] 
 (agentRequest-Handler-2:null) failed to get vlan id from bridge 
 vswitch0attached to physical interface
 2013-07-19 16:39:38,719 DEBUG 
 [resource.virtualnetwork.VirtualRoutingResource] 
 (agentRequest-Handler-2:null) Executing: 
 /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh vpc_snat.sh 
 169.254.2.23  -A  -l 192.168.1.68 -c eth2
 2013-07-19 16:39:38,947 DEBUG 
 [resource.virtualnetwork.VirtualRoutingResource] 
 (agentRequest-Handler-2:null) Execution is successful.
 2013-07-19 16:39:38,948 DEBUG 
 [resource.virtualnetwork.VirtualRoutingResource] 
 (agentRequest-Handler-2:null) iptables: Bad rule (does a matching rule exist 
 in that chain?).
 iptables: No chain/target/match by that name.
 
 
 Cloudstack is configured with advanced networking. Tags for physical networks
 - vswitch0 for public  guest traffic
 - vif9 for storage traffic
 - vif8 for management traffic
 
 Openvswitch configuration: 
 # ovs-vsctl show
 
Bridge vswitch1
Port vswitch1
Interface vswitch1
type: internal
Port eth1
Interface eth1
Port vif9
tag: 9
Interface vif9
type: internal

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

2013-08-01 Thread Yan Ke
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 cji...@infoblox.com 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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To: 
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:34 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, 
 Soheil Eizadi seiz...@infoblox.commailto: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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To: 
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:24 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org, 
 Soheil Eizadi seiz...@infoblox.commailto: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-01 Thread sriharsha work
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 yan...@yonyou.com 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 cji...@infoblox.com 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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:34 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:24 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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




How to limit network's throughput?

2013-08-01 Thread Tao Lin
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-01 Thread Venkata SwamyBabu Budumuru
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=IP From your guest subnet/router's guest IP,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 sriharsha.w...@gmail.com 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 yan...@yonyou.com 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 cji...@infoblox.com 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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:34 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:24 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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-01 Thread 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 linba...@gmail.com 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] Non Contiguous VLAN Ranges for Review

2013-08-01 Thread Radhika Puthiyetath
Hi,

Non Contiguous VLAN Ranges documentation is ready for review. The doc is 
attached at https://issues.apache.org/jira/browse/CLOUDSTACK-804.

Please see section 11.9.2. Non Contiguous VLAN Ranges (88), and provide your 
feedback.

Regards
-Radhika




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

2013-08-01 Thread sriharsha work
Hi Swamy,

Thanks for the reply. I will check on this tomorrow.

Can you please tell me the guidelines for making a template out of a
vm. What configuration changes do we need to make on the vm used for
creating a template.

I also had an extension to this issue. Cloudstack assigns
172.18.145.15 to my guest vm, but when I looked into the Vm using
console and ifconfig returns 172.18.145.70. Hence I couldn't ssh to
the vm. My concern here is about the discrepancy observed with the
ipaddresses.

Thanks
Sriharsha.

Sent from my iPhone

 On Aug 1, 2013, at 21:29, Venkata SwamyBabu Budumuru 
 venkataswamybabu.budum...@citrix.com 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=IP From your guest subnet/router's guest IP,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 sriharsha.w...@gmail.com 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 yan...@yonyou.com 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 cji...@infoblox.com 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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:34 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:24 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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 

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

2013-08-01 Thread Yan Ke
For me, this only occurs after a refresh CentOS 6.4 guest installation. And
I think it's due to CentOS not enabling eht0 by default.

If you're facing the same problem as I mentioned above, just edit the
'/etc/sysconfig/network-scripts/ifcfg-eth0', specify the 'onboot'
properties' value as yes.

-邮件原件-
发件人: users-return-8747-yanke1=yonyou@cloudstack.apache.org
[mailto:users-return-8747-yanke1=yonyou@cloudstack.apache.org] 代表
sriharsha work
发送时间: 2013年8月2日 11:41
收件人: users@cloudstack.apache.org
主题: Re: 答复: IP Address assigned by CS is not passed to new instance VM

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 yan...@yonyou.com 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 cji...@infoblox.com 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 cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:34 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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-90
 B3-
 3B1
 32C1A66B0]

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

 From: Cindy Jiang cji...@infoblox.commailto:cji...@infoblox.com
 Reply-To:
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Thursday, August 1, 2013 2:24 PM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,
 Soheil Eizadi seiz...@infoblox.commailto: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