答复: 求助:如何让CS创建的虚拟机禁止访问外网

2013-06-05 Thread 许叁征
那上面可以设置什么 规则吗,我是使用基本网络的,原来有很多虚拟机在使用中,要是再建的话,可能工作量比较大,
原来的默认规则中,可以添加端口,但是里面怎么没有禁止或是允许的策略





许叁征
网宿科技股份有限公司  厦门分公司 运营技术支持部

Tel:13860125907  
E-mail:x...@chinanetcenter.com
http://www.chinanetcenter.com

分公司:北京-上海-广州-深圳   
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商
 



-邮件原件-
发件人: Fan Lei [mailto:leifan8...@gmail.com] 
发送时间: 2013年6月5日星期三 13:51
收件人: users-cn@cloudstack.apache.org
主题: Re: 求助:如何让CS创建的虚拟机禁止访问外网

从物理网络设备上设置
或者  建一个不用source nat的网络方案叫AA,再建一个用这个网络方案AA的的网络,建vm的时候选这个网络


在 2013年6月5日下午1:41,许叁征 x...@chinanetcenter.com写道:

  HI 大家

 公司有需求量让虚拟机不访问外网,

 求助,如何让CS创建的虚拟机禁止访问外网?

 如果是在r—route中配置 ,是如何添加例子,

 ** **

 ** **

 ** **

 ** **

 许叁征

 网宿科技股份有限公司  厦门分公司 运营技术支持部

 [image: line1]

 Tel: 021-6487117713860125907  

 E-mail:x...@chinanetcenter.com
 http://www.chinanetcenter.com

 [image: cid:__1@Foxmail.net]

 分公司:北京-上海-广州-深圳   

 免费咨询热线:800-820-0001

 网宿科技 --卓越的互联网业务平台提供商

  
  --

 ** **



[新手求教]cs web

2013-06-05 Thread Dean
cloudstack源码中web相关的源码在什么位置,我想改一些web的相关功能。
前辈们帮看一下!

--
Dean

??????????????????????????????

2013-06-05 Thread WXR

?? 192.168.1.0/24 public??

Guest10.10.1.0/24
172.16.1.0/24

??IP
192.168.1.0IP??

vm 二级存储无法连接

2013-06-05 Thread fsm
2013-06-05 17:23:24,883 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] 
(consoleproxy-1:null) Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[ConsoleProxy|v-20-VM]Scope=interface com.cloud.dc.DataCenter; 
id=3
    at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
    at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
    at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
    at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
    at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
    at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
    at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
    at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
    at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
    at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
    at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
    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$301(ScheduledThreadPoolExecutor.java:178)
    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)


有谁遇到过,请帮忙,谢谢!


????????????????????????????????????

2013-06-05 Thread WXR
??172.16.1.0/24??SSVM??CPVM??



--  --
??: WXR474745...@qq.com;
: 2013??6??5??(??) 5:23
??: CloudStack??users-cn@cloudstack.apache.org; 

: ??




?? 192.168.1.0/24 public??

Guest10.10.1.0/24
172.16.1.0/24

??IP
192.168.1.0IP??

Re: vm 二级存储无法连接

2013-06-05 Thread tanthalas

你给的log没办法判断问题
在贴的这段log往上翻去找原因,或者你在指定的代码行数里去找判定条件。

2013-06-05 
刘宇超  Richard Liu


发件人: fsm 
发送时间: 2013-06-05  17:29:04 
收件人: users-cn@cloudstack.apache.org 
抄送: 
主题: vm 二级存储无法连接 
 
2013-06-05 17:23:24,883 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] 
(consoleproxy-1:null) Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[ConsoleProxy|v-20-VM]Scope=interface com.cloud.dc.DataCenter; 
id=3
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
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$301(ScheduledThreadPoolExecutor.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
有谁遇到过,请帮忙,谢谢!


?????? ????????????????????????????????????

2013-06-05 Thread WXR
cloudstack
??

??advanced zone??management 
network??Guest,Public??IP

??ISOSSVMPublic
 IPping??Public 
IPISOweb??IPSSVM




--  --
??: tanthalastanthalas...@hotmail.com;
: 2013??6??5??(??) 9:49
??: users-cnusers-cn@cloudstack.apache.org; 

: Re: 




CS??4??

??management network??

2013-06-05 
??  Richard Liu




 WXR 
?? 2013-06-05  17:36:13 
 users-cn 
?? 
??  
 
??172.16.1.0/24??SSVM??CPVM??
--  --
??: WXR474745...@qq.com;
: 2013??6??5??(??) 5:23
??: CloudStack??users-cn@cloudstack.apache.org; 
: ??

?? 192.168.1.0/24 public??

Guest10.10.1.0/24
172.16.1.0/24
??IP
192.168.1.0IP??

Re: 访问server问题

2013-06-05 Thread Yongchuan Dai
非常感谢,问题已解决


在 2013年6月5日下午5:10,zhang.xiaofei zhang.xiao...@oncloudit.com写道:

 你的server 是1个网卡 你改了ip ? 还是2个网卡?
 1个的话改过ip你就再初始化下cloud-stack数据库
 #cloud-setup-databases cloud:password@localhost --deploy-as=root:password
 初始化过程中看下serverip是否正确
 然后运行
 # cloud-setup-management

 然后看下8080端口有没有起来 没得话 去看日志

 #tail -f /var/log/cloud/management/catalina.out


 2013-06-05



 zhang.xiaofei



 发件人:Yongchuan Dai dyc...@gmail.com
 发送时间:2013-06-05 15:46
 主题:访问server问题
 收件人:users-cnusers-cn@cloudstack.apache.org
 抄送:

 大家好:
在安装环境中,我遇到一个问题。问题描述如下:

  开始安装cloudstack中,我的management
 server的ip是58.198.101.61,安装完成后,然后我可以通过同一网段的58.198.101.73的一台PC机,在浏览器里输入
 http://58.198.101.61:8080/client

 可以访问,但是由于这两个IP都是公网,我自己用路由器构建了一个小型的局域网,路由器的IP为192.168.1.1,然后server链接到路由器后,分配的IP是192.168.1.101,然后我通过另外一个链接路由器的PC机,浏览器输入
 192.168.1.101:8080/client,却无法访问,出现无法打开的页面。前面所有的步骤的ip我都更改过,但就是无法访问。
然后我又链接到公网的那个58.198.101.61,同一网段的ip就可以访问了。
   我不知道构建局域网时,哪里出现问题,望大牛解惑



网络设置问题

2013-06-05 Thread Yongchuan Dai
大家好:
在安装手册里遇到一个问题,就是在 8.1.7节,在ubuntu中如何配置VLAN。没有搞明白,希望有前辈指点一下。问题描述如下:

  所有的机器都是接在一个路由器上,路由器链接Internet的IP为
58.198.101.74;然后server和一台host都接在路由器上。路由器的对内IP:192.168.1.1
server的IP:192.168.1.101
host的IP:192.168.1.103

 想问一下,在设置VLAN时,设置两个cloudbr0和cloudbr1两个VLAN时,如何设置,网上有人给出了和书上不同的设置方法,希望点播一下。


RE: problem with secondary storage: There is no secondary storage VM for secondary storage host

2013-06-05 Thread Geoff Higginbottom
Javier,

If I am understanding your information correctly, you have used a /16 network 
and allocated IPs to both Management and Public Networks from this range.

These Networks should have unique CIDRs and not be part of the same IP range,

Some SSVM Networking Info:  The SSVM gets 4 Network Interfaces

LinkLocal
Management
Storage
Public

Management NIC gets an IP from the POD Reserved IP Range
If the Storage Network is configured (it's optional) the Storage NIC gets an IP 
from the Storage IP Range, if not configured it gets an IP from the POD 
Reserved IP Range
Public NIC gets an IP from the Public IP Range

The SSVM always uses the 'Storage' NIC to access Secondary Storage, and it does 
so by creating a static route to the IP of the Secondary Storage Devices.

As your Public and Management IPs are in the same /16 CIDR the SSVM is confused 
about which NIC to use and is probably trying to use the Management NIC instead 
of the Public NIC etc

Reallocate your network CIDRs making sure they are unique and do not overlap, 
you should be able to use the same CIDRs but with /24 masks, rather than a /16

POD (Management) 172.16.10.0/24 - GW 172.16.10.1
Public 172.16.20.0/24 + VLAN XXX - GW 172.16.20.1  (obviously not a real Public 
network, but I assume this is a test environment)

Remember to make sure your VLAN configuration on your Switch is updated and the 
default gateway is functioning etc

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Javier Rodriguez [mailto:jrodrig...@avalonbiometrics.com]
Sent: 04 June 2013 14:59
To: users@cloudstack.apache.org
Subject: Re: problem with secondary storage: There is no secondary storage VM 
for secondary storage host

Geoff,

Pod1 is using IPs in the subnet 172.16.0.0/16 its using the private range 
172.16.10.0 - 172.16.10.255 (add pod screen) and public range
172.16.20.0 - 172.16.20.255 (add guest network screen). In both cases the 
gateway is 172.16.0.1 which is the same gateway shared by the machines where 
cloudstack is being deployed.

I just realized that I was trying to access the ssvm from the wrong machine 
(manager instead of hypervisor node). I managed to access it using the 
LinkLocal ip (169.254.0.8 in my case).

It looks like I cant ping any machine from 172.16.0.0/16 from the ssvm, apart 
from ips from the other system vm, not even the gateway, this causes the 
ssvm-check.sh script to fail when pinging the dns server (in my case 
192.168.1.204, routed through 172.16.0.1 ).

The ssvm therefore wont be able to mount the secondary storage as it is located 
in //172.16.2.2/export/secondary.

I tried switching off the firewall in the host and in the ssvm ( service 
iptables stop for the host, service iptables-persistent stop for the ssvm ), 
but I still couldnt ping the gateway, which i can ping from the hypervisor.

Here's the routing table in the ssvm:

192.168.1.204 via 172.16.0.1 dev eth1
172.16.0.0/16 dev eth1  proto kernel  scope link  src 172.16.10.29
172.16.0.0/16 dev eth2  proto kernel  scope link  src 172.16.20.101
172.16.0.0/16 dev eth3  proto kernel  scope link  src 172.16.10.156
169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.0.8 default via 
172.16.0.1 dev eth2

Any idea on how to make the ssvm access external ips in the subnet?

Regards,



On 06/03/2013 07:26 PM, Geoff Higginbottom wrote:
 Javier,

 What CIDR did you use for the 'public' IPs?

 Have you tried following the SSVM troubleshooting steps
 https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html

 Regards

 Geoff Higginbottom

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

 geoff.higginbot...@shapeblue.com


 -Original Message-
 From: Javier Rodriguez [mailto:jrodrig...@avalonbiometrics.com]
 Sent: 03 June 2013 16:13
 To: users@cloudstack.apache.org
 Subject: Re: problem with secondary storage: There is no secondary storage 
 VM for secondary storage host

 Hi Geoff,

 Sorry, I'm a bit confused. I didn't specifically configure the
 Management Network range, I just followed the steps in the quick
 install guide (
 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Q
 uick_Install_Guide/index.html), both the system vms and the guest vms
 have different ranges configured within the zone, but it does not mention any 
 further post-config action on the management network range.

 In the example, the hypervisor node and the management server belong to the 
 same class C network (172.16.10.0/24)  and In my configuration they belong to 
 the same class B network ( 172.16.0.0/16 ), other than that I think i've 
 followed step by step what is described in that document.

 Do I need to move the Management Network to another subnet?  is that 
 preventing the secondary storage host from finding the secondary storage?

 Thanks very much for your help.

 On 06/03/2013 12:44 PM, Geoff Higginbottom wrote:
 Javier,

 Its looks 

4.1 features

2013-06-05 Thread Jake G.
I successfully upgraded to 4.1 via the repo works great, but looks like the 
upgrade guide has some errors.

cloudstack-management is the new service name I believe for centOS.

Also, I read somewhere that from 4.1 we would be able to add more than one NIC 
to an instance as well as be able to resize a disk. However, I am unable to 
find these features. I'm guessing not yet?

Thanks

ubuntu 12.4 kvm issue CS 4.1 libvirt complaint

2013-06-05 Thread Philippe Van Hecke
Hi,
I upgraded our test environemen(4.0.2) to 4.1

and we have the following issue with libvirtd

 virDomainTimerDefParseXML:4630 : internal error unknown timer name
'kvmclock'

when new system vm is created.

any hint ?

Regards

Philippe.


0xDFC3F3D3.asc
Description: application/pgp-keys


Xenserver add instance from ISO Ubuntu 12.04 fails but...

2013-06-05 Thread Old, Curtis

If I add a centOS instance from an ISO on Xenserver it works.  I have used the 
same Ubuntu 12.04 ISO to create an instance on KVM any ideas?


Failed to add host

2013-06-05 Thread zaitsev

Good day!
Cloudstack 4.1, trying to add  host XenServer 6.1, an error connection.

/catalina.out
INFO  [cloud.api.ApiServer] (catalina-exec-6:) Failed to add host

/access.txt
 [05/Jun/2013:16:27:42 +0400] POST 
/client/api?command=addHostresponse=jsonsessionkey=PXQahbjDQX%2BK%2BeJPHzyrt8kBLxU%3D 
HTTP/1.1 530 93


--

С уважением, Андрей Зайцев
Отдел телекоммуникаций
Управление информатизации
НИУ БелГУ
БелГУ.рф

Belgorod National Reserch University
www.bsu.edu.ru
+7(4722)301300*2315



migrate vm's between cluster

2013-06-05 Thread david van zeebroeck
hello i have a cluster defined which is running on redhat hosts
now i wan't to migrate the vm's running on these machines to machine's
running centos

however you are not allowed to add a centos host to a cluster allready
running redhat

so i added a new cluster running the centos hosts.

now how can i move/migrate the hosts to the centos cluster?


Re: ubuntu 12.4 kvm issue CS 4.1 libvirt complaint

2013-06-05 Thread Philippe Van Hecke
Resolved the issue upgrading libvirt package
to the following ppa

ppa:pfak/backports

https://launchpad.net/~pfak/+archive/backports

On 05/06/13 10:59, Philippe Van Hecke wrote:
 Hi,
 I upgraded our test environemen(4.0.2) to 4.1
 
 and we have the following issue with libvirtd
 
  virDomainTimerDefParseXML:4630 : internal error unknown timer name
 'kvmclock'
 
 when new system vm is created.
 
 any hint ?
 
 Regards
 
 Philippe.
 



0xDFC3F3D3.asc
Description: application/pgp-keys


Re: ubuntu 12.4 kvm issue CS 4.1 libvirt complaint

2013-06-05 Thread David Nalley
What version of libvirt were you running?

--David

On Wed, Jun 5, 2013 at 9:59 AM, Philippe Van Hecke
philippe.vanhe...@belnet.be wrote:
 Resolved the issue upgrading libvirt package
 to the following ppa

 ppa:pfak/backports

 https://launchpad.net/~pfak/+archive/backports

 On 05/06/13 10:59, Philippe Van Hecke wrote:
 Hi,
 I upgraded our test environemen(4.0.2) to 4.1

 and we have the following issue with libvirtd

  virDomainTimerDefParseXML:4630 : internal error unknown timer name
 'kvmclock'

 when new system vm is created.

 any hint ?

 Regards

 Philippe.




Re: ubuntu 12.4 kvm issue CS 4.1 libvirt complaint

2013-06-05 Thread Philippe Van Hecke
On Ubuntu 12.04 official package is version 0.98
after upgrade we run 1.0.2 with this ppa

Regards

Philippe.

On 05/06/13 16:01, David Nalley wrote:
 What version of libvirt were you running?
 
 --David
 
 On Wed, Jun 5, 2013 at 9:59 AM, Philippe Van Hecke
 philippe.vanhe...@belnet.be wrote:
 Resolved the issue upgrading libvirt package
 to the following ppa

 ppa:pfak/backports

 https://launchpad.net/~pfak/+archive/backports

 On 05/06/13 10:59, Philippe Van Hecke wrote:
 Hi,
 I upgraded our test environemen(4.0.2) to 4.1

 and we have the following issue with libvirtd

  virDomainTimerDefParseXML:4630 : internal error unknown timer name
 'kvmclock'

 when new system vm is created.

 any hint ?

 Regards

 Philippe.





0xDFC3F3D3.asc
Description: application/pgp-keys


Re: unable to add host

2013-06-05 Thread Er Krishna
Host and management Server are seperated and both have Ubuntu 12.0.4 and
cloudstack version on both node is 4.0.2 . I have exported primary and
secondry directory via NFS from management to host.  On secondry node VM
templates are there. I have configured NTP on both but still the problem
persist. I have pasted management server log at following location:


http://apaste.info/in3l

Krishna


On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote:

 How about we start with what platform and what version of CloudStack.

 Also - your agent.log timestamp and management server log timestamps
 have a 30 minute skew, and the management server logs are remotely
 related to adding an agent - can we see the actual time period that
 you tried to add a host - preferably several hundred lines -
 apaste.info that and share a link.

 --David

 On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote:
  I am not able to add host. Pls help me to debug this.
 
  My host machine agent.log is:
  2016-11-02 18:46:56,633 INFO  [utils.nio.NioClient] (Agent-Selector:null)
  Connecting to localhost:8250
  2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection]
  (Agent-Selector:null) Unable to connect to remote
  2016-11-02 18:46:56,732 INFO  [cloud.agent.Agent]
  (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
 
 
  Management server log is :
 
  2013-06-04 17:18:14,118 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
 2
  is not ready to launch secondary storage VM yet
  2013-06-04 17:18:14,157 DEBUG
 [cloud.consoleproxy.ConsoleProxyManagerImpl]
  (consoleproxy-1:null) Skip capacity scan due to there is no Primary
 Storage
  UPintenance mode
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Running Capacity Checker ...
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) recalculating system capacity
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Executing cpu/ram capacity update
  2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Done executing cpu/ram capacity update
 
 
 
  Krishna



Re: ubuntu 12.4 kvm issue CS 4.1 libvirt complaint

2013-06-05 Thread David Nalley
On Wed, Jun 5, 2013 at 10:13 AM, Philippe Van Hecke
philippe.vanhe...@belnet.be wrote:
 On Ubuntu 12.04 official package is version 0.98
 after upgrade we run 1.0.2 with this ppa

 Regards

 Philippe.


Did it just complain, or did it fail to start the sysvms?

--David


SSVM not mounting the secondary storage

2013-06-05 Thread Pablo Endres
Hi all,

I've been fighting a little with my CS 4.0.2 installation on CentOS 6.4
I'm using ESX as a hypervisor and Advanced zones.

I created a new zone defining a physical network with all traffic types
(Management,Public, Guest, Storage) on vSwitch1 using vlans for each
traffic type and enabled the zone.

After a while I get a recurrent message on the management host logfiles:
2013-06-05 16:01:35,791 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) StorageCollector is running...
2013-06-05 16:01:35,797 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) There is no secondary storage VM for secondary
storage host nfs://172.77.1.2/ss-nfs

The ssvm-check.sh says:

ERROR: NFS is not currently mounted
Try manually mounting from inside the VM
NFS server is  eth2
ping: unknown host
WARNING: cannot ping NFS server


But I can ping and manually mount the share from inside the SSVM. So on the
network side of both the SSVM and NFS server everything seams to be OK

Can anyone give me a pointer on what else I can check? This case does not
seem to be covered in the ssvm-troubleshooting guide from the wiki

I would also like to know where the script or command is that triggers the
mount in order to troubleshoot a little deeper.

Thanks in advance.

Best regards / Mit freundlichen Grüßen,
Pablo Endres


Re: ubuntu 12.4 kvm issue CS 4.1 libvirt complaint

2013-06-05 Thread Philippe Van Hecke
It refuse to start the system vm.

Philippe.


On 05/06/13 16:15, David Nalley wrote:
 On Wed, Jun 5, 2013 at 10:13 AM, Philippe Van Hecke
 philippe.vanhe...@belnet.be wrote:
 On Ubuntu 12.04 official package is version 0.98
 after upgrade we run 1.0.2 with this ppa

 Regards

 Philippe.

 
 Did it just complain, or did it fail to start the sysvms?
 
 --David
 



0xDFC3F3D3.asc
Description: application/pgp-keys


Re: ubuntu 12.4 kvm issue CS 4.1 libvirt complaint

2013-06-05 Thread David Nalley
Philippe:

Can you file a bug for this?
https://issues.apache.org/jira/browse/CLOUDSTACK

--David

On Wed, Jun 5, 2013 at 10:37 AM, Philippe Van Hecke
philippe.vanhe...@belnet.be wrote:
 It refuse to start the system vm.

 Philippe.


 On 05/06/13 16:15, David Nalley wrote:
 On Wed, Jun 5, 2013 at 10:13 AM, Philippe Van Hecke
 philippe.vanhe...@belnet.be wrote:
 On Ubuntu 12.04 official package is version 0.98
 after upgrade we run 1.0.2 with this ppa

 Regards

 Philippe.


 Did it just complain, or did it fail to start the sysvms?

 --David




Unable to create system vm with CloudStack 4.1 / XCP 1.6

2013-06-05 Thread Mike Ho
I'm trying to set up a private cloud with VMWare workstation and I'm
planning to use it in a production environment. I've installed CloudStack
and NFS in a fresh Ubuntu 12.04 64bit vm (IP 192.168.253.128) and a
freshXCP 1.6 Host (IP 192.168.253.129). I've set up a new zone with thise
XCP host added to the cluster. However the System VMs fail to start with
the following errors. Please help!

2013-06-05 21:57:22,236 DEBUG [agent.transport.Request] (secstorage-1:null)
Seq 1-53411858: Sending  { Cmd , MgmtId: 52229743866, via: 1, Ver: v1,
Flags: 100111,
[{storage.PrimaryStorageDownloadCommand:{localPath:/mnt/e7e9e22b-6dfc-391c-9110-75fd4c25c6b0,poolUuid:e7e9e22b-6dfc-391c-9110-75fd4c25c6b0,poolId:200,primaryPool:{id:200,uuid:e7e9e22b-6dfc-391c-9110-75fd4c25c6b0,host:192.168.253.128,path:/export/primary,port:2049,type:NetworkFilesystem},secondaryStorageUrl:nfs://
192.168.253.128/export/secondary,primaryStorageUrl:nfs://
192.168.253.128/export/primary,url:nfs://
192.168.253.128/export/secondary/template/tmpl/1/1/,format:VHD,accountId:1,name:routing-1,wait:10800}}]
}
2013-06-05 21:57:22,239 DEBUG [agent.transport.Request] (secstorage-1:null)
Seq 1-53411858: Executing:  { Cmd , MgmtId: 52229743866, via: 1, Ver: v1,
Flags: 100111,
[{storage.PrimaryStorageDownloadCommand:{localPath:/mnt/e7e9e22b-6dfc-391c-9110-75fd4c25c6b0,poolUuid:e7e9e22b-6dfc-391c-9110-75fd4c25c6b0,poolId:200,primaryPool:{id:200,uuid:e7e9e22b-6dfc-391c-9110-75fd4c25c6b0,host:192.168.253.128,path:/export/primary,port:2049,type:NetworkFilesystem},secondaryStorageUrl:nfs://
192.168.253.128/export/secondary,primaryStorageUrl:nfs://
192.168.253.128/export/primary,url:nfs://
192.168.253.128/export/secondary/template/tmpl/1/1/,format:VHD,accountId:1,name:routing-1,wait:10800}}]
}
2013-06-05 21:57:22,239 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-19:null) Seq 1-53411858: Executing request
2013-06-05 21:57:24,708 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-19:null) kill_copy_process failed
2013-06-05 21:57:24,710 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-19:null) can not create vdi in sr
2fa78a71-b00c-47b1-452f-3a6323de4580
2013-06-05 21:57:24,710 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-19:null) Catch Exception
com.cloud.utils.exception.CloudRuntimeException on
host:49c82e0d-346a-4611-b737-e32c543618c8 for template: nfs://
192.168.253.128/export/secondary/template/tmpl/1/1/ due to
com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
2fa78a71-b00c-47b1-452f-3a6323de4580
com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
2fa78a71-b00c-47b1-452f-3a6323de4580
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501)
at
com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
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.access$101(ScheduledThreadPoolExecutor.java:165)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
2013-06-05 21:57:24,712 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-19:null) Seq 1-53411858: Response Received:
2013-06-05 21:57:24,714 DEBUG [agent.transport.Request]
(DirectAgent-19:null) Seq 1-53411858: Processing:  { Ans: , MgmtId:
52229743866, via: 1, Ver: v1, Flags: 110,
[{storage.PrimaryStorageDownloadAnswer:{templateSize:0,result:false,details:Catch
Exception com.cloud.utils.exception.CloudRuntimeException on
host:49c82e0d-346a-4611-b737-e32c543618c8 for template: nfs://
192.168.253.128/export/secondary/template/tmpl/1/1/ due to
com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
2fa78a71-b00c-47b1-452f-3a6323de4580,wait:0}}] }
2013-06-05 21:57:24,714 DEBUG [agent.transport.Request] (secstorage-1:null)
Seq 1-53411858: Received:  { Ans: , MgmtId: 52229743866, via: 1, Ver: v1,
Flags: 110, { PrimaryStorageDownloadAnswer } }
2013-06-05 21:57:24,715 DEBUG [agent.manager.AgentManagerImpl]
(secstorage-1:null) Details from executing class
com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch Exception
com.cloud.utils.exception.CloudRuntimeException on

Re: unable to add host

2013-06-05 Thread Ahmad Emneina
Sorry just noticed the agent.log. Can you ssh to the agent host from the 
management server?

Ahmad

On Jun 5, 2013, at 7:14 AM, Er Krishna erkris...@gmail.com wrote:

 Host and management Server are seperated and both have Ubuntu 12.0.4 and
 cloudstack version on both node is 4.0.2 . I have exported primary and
 secondry directory via NFS from management to host.  On secondry node VM
 templates are there. I have configured NTP on both but still the problem
 persist. I have pasted management server log at following location:
 
 
 http://apaste.info/in3l
 
 Krishna
 
 
 On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote:
 
 How about we start with what platform and what version of CloudStack.
 
 Also - your agent.log timestamp and management server log timestamps
 have a 30 minute skew, and the management server logs are remotely
 related to adding an agent - can we see the actual time period that
 you tried to add a host - preferably several hundred lines -
 apaste.info that and share a link.
 
 --David
 
 On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote:
 I am not able to add host. Pls help me to debug this.
 
 My host machine agent.log is:
 2016-11-02 18:46:56,633 INFO  [utils.nio.NioClient] (Agent-Selector:null)
 Connecting to localhost:8250
 2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection]
 (Agent-Selector:null) Unable to connect to remote
 2016-11-02 18:46:56,732 INFO  [cloud.agent.Agent]
 (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
 
 
 Management server log is :
 
 2013-06-04 17:18:14,118 DEBUG
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
 2
 is not ready to launch secondary storage VM yet
 2013-06-04 17:18:14,157 DEBUG
 [cloud.consoleproxy.ConsoleProxyManagerImpl]
 (consoleproxy-1:null) Skip capacity scan due to there is no Primary
 Storage
 UPintenance mode
 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
 (CapacityChecker:null) Running Capacity Checker ...
 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
 (CapacityChecker:null) recalculating system capacity
 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
 (CapacityChecker:null) Executing cpu/ram capacity update
 2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl]
 (CapacityChecker:null) Done executing cpu/ram capacity update
 
 
 
 Krishna
 


Re: unable to add host

2013-06-05 Thread Er Krishna
Yes ssh is fine and i have disabled firewall too.
On 5 Jun 2013 22:00, Ahmad Emneina aemne...@gmail.com wrote:

 Sorry just noticed the agent.log. Can you ssh to the agent host from the
 management server?

 Ahmad

 On Jun 5, 2013, at 7:14 AM, Er Krishna erkris...@gmail.com wrote:

  Host and management Server are seperated and both have Ubuntu 12.0.4 and
  cloudstack version on both node is 4.0.2 . I have exported primary and
  secondry directory via NFS from management to host.  On secondry node VM
  templates are there. I have configured NTP on both but still the problem
  persist. I have pasted management server log at following location:
 
 
  http://apaste.info/in3l
 
  Krishna
 
 
  On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote:
 
  How about we start with what platform and what version of CloudStack.
 
  Also - your agent.log timestamp and management server log timestamps
  have a 30 minute skew, and the management server logs are remotely
  related to adding an agent - can we see the actual time period that
  you tried to add a host - preferably several hundred lines -
  apaste.info that and share a link.
 
  --David
 
  On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote:
  I am not able to add host. Pls help me to debug this.
 
  My host machine agent.log is:
  2016-11-02 18:46:56,633 INFO  [utils.nio.NioClient]
 (Agent-Selector:null)
  Connecting to localhost:8250
  2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection]
  (Agent-Selector:null) Unable to connect to remote
  2016-11-02 18:46:56,732 INFO  [cloud.agent.Agent]
  (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
 
 
  Management server log is :
 
  2013-06-04 17:18:14,118 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Zone
  2
  is not ready to launch secondary storage VM yet
  2013-06-04 17:18:14,157 DEBUG
  [cloud.consoleproxy.ConsoleProxyManagerImpl]
  (consoleproxy-1:null) Skip capacity scan due to there is no Primary
  Storage
  UPintenance mode
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Running Capacity Checker ...
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) recalculating system capacity
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Executing cpu/ram capacity update
  2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Done executing cpu/ram capacity update
 
 
 
  Krishna
 



Re: unable to add host

2013-06-05 Thread Er Krishna
On 5 Jun 2013 21:59, Ahmad Emneina aemne...@gmail.com wrote:

 Looks like there was a timeout connecting to the host. What hypervisor
are you using?

Kvm

 Ahmad

 On Jun 5, 2013, at 7:14 AM, Er Krishna erkris...@gmail.com wrote:

  Host and management Server are seperated and both have Ubuntu 12.0.4 and
  cloudstack version on both node is 4.0.2 . I have exported primary and
  secondry directory via NFS from management to host.  On secondry node VM
  templates are there. I have configured NTP on both but still the problem
  persist. I have pasted management server log at following location:
 
 
  http://apaste.info/in3l
 
  Krishna
 
 
  On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote:
 
  How about we start with what platform and what version of CloudStack.
 
  Also - your agent.log timestamp and management server log timestamps
  have a 30 minute skew, and the management server logs are remotely
  related to adding an agent - can we see the actual time period that
  you tried to add a host - preferably several hundred lines -
  apaste.info that and share a link.
 
  --David
 
  On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote:
  I am not able to add host. Pls help me to debug this.
 
  My host machine agent.log is:
  2016-11-02 18:46:56,633 INFO  [utils.nio.NioClient]
(Agent-Selector:null)
  Connecting to localhost:8250
  2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection]
  (Agent-Selector:null) Unable to connect to remote
  2016-11-02 18:46:56,732 INFO  [cloud.agent.Agent]
  (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
 
 
  Management server log is :
 
  2013-06-04 17:18:14,118 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
Zone
  2
  is not ready to launch secondary storage VM yet
  2013-06-04 17:18:14,157 DEBUG
  [cloud.consoleproxy.ConsoleProxyManagerImpl]
  (consoleproxy-1:null) Skip capacity scan due to there is no Primary
  Storage
  UPintenance mode
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Running Capacity Checker ...
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) recalculating system capacity
  2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Executing cpu/ram capacity update
  2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl]
  (CapacityChecker:null) Done executing cpu/ram capacity update
 
 
 
  Krishna
 


Re: 4.1 features

2013-06-05 Thread Ahmad Emneina
They might be features only accessible via API at the moment, have you looked 
at the API docs?

Ahmad

On Jun 5, 2013, at 1:16 AM, Jake G. dj_dark_jungl...@yahoo.com wrote:

 I successfully upgraded to 4.1 via the repo works great, but looks like the 
 upgrade guide has some errors.
 
 cloudstack-management is the new service name I believe for centOS.
 
 Also, I read somewhere that from 4.1 we would be able to add more than one 
 NIC to an instance as well as be able to resize a disk. However, I am unable 
 to find these features. I'm guessing not yet?
 
 Thanks


RE: 4.1 features

2013-06-05 Thread Geoff Higginbottom
Ahmed is right, the Add/Update/Remove NICs has not made it into the GUI yet, 
you can find more info here


Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com


-Original Message-
From: Ahmad Emneina [mailto:aemne...@gmail.com]
Sent: 05 June 2013 17:54
To: users@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: 4.1 features

They might be features only accessible via API at the moment, have you looked 
at the API docs?

Ahmad

On Jun 5, 2013, at 1:16 AM, Jake G. dj_dark_jungl...@yahoo.com wrote:

 I successfully upgraded to 4.1 via the repo works great, but looks like the 
 upgrade guide has some errors.

 cloudstack-management is the new service name I believe for centOS.

 Also, I read somewhere that from 4.1 we would be able to add more than one 
 NIC to an instance as well as be able to resize a disk. However, I am unable 
 to find these features. I'm guessing not yet?

 Thanks

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.



RE: 4.1 features

2013-06-05 Thread Geoff Higginbottom
Sorry here is the link I missed of last mail

http://www.shapeblue.com/2013/05/29/apache-cloudstack-4-1-new-features/


Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com


-Original Message-
From: Geoff Higginbottom
Sent: 05 June 2013 17:52
To: users@cloudstack.apache.org
Subject: RE: 4.1 features

Ahmed is right, the Add/Update/Remove NICs has not made it into the GUI yet, 
you can find more info here


Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com


-Original Message-
From: Ahmad Emneina [mailto:aemne...@gmail.com]
Sent: 05 June 2013 17:54
To: users@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: 4.1 features

They might be features only accessible via API at the moment, have you looked 
at the API docs?

Ahmad

On Jun 5, 2013, at 1:16 AM, Jake G. dj_dark_jungl...@yahoo.com wrote:

 I successfully upgraded to 4.1 via the repo works great, but looks like the 
 upgrade guide has some errors.

 cloudstack-management is the new service name I believe for centOS.

 Also, I read somewhere that from 4.1 we would be able to add more than one 
 NIC to an instance as well as be able to resize a disk. However, I am unable 
 to find these features. I'm guessing not yet?

 Thanks

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.



Re: 4.1 features

2013-06-05 Thread David Nalley
On Wed, Jun 5, 2013 at 4:16 AM, Jake G. dj_dark_jungl...@yahoo.com wrote:
 I successfully upgraded to 4.1 via the repo works great, but looks like the 
 upgrade guide has some errors.

 cloudstack-management is the new service name I believe for centOS.


Please file bugs for the doc problems.

https://issues.apache.org/jira/browse/CLOUDSTACK

--David


Re: Xenserver add instance from ISO Ubuntu 12.04 fails but...

2013-06-05 Thread Shanker Balan
On 05-Jun-2013, at 3:50 PM, Old, Curtis 
curtis@neustar.bizmailto:curtis@neustar.biz wrote:


If I add a centOS instance from an ISO on Xenserver it works.  I have used the 
same Ubuntu 12.04 ISO to create an instance on KVM any ideas?

Are you on XenServer 6.1? 12.04 is supported only under XenServer 6.1.

--
Shanker Balan
Managing Consultant

[cid:E7CE8425-E245-4C99-B967-713DF2967392@local]

M: +91 98860 60539
shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | 
www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue
ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

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.


RE: SSVM not mounting the secondary storage

2013-06-05 Thread Musayev, Ilya
Pablo,

You did not mention anything about firewall complexity on your side - if any.

Execute ip route show and see if you have explicit route over the interface 
that may not have access to NFS.

Try removing the route via route del -host ip and see it mounts 
successfully.
If it does work, revisit your current network layout for SSVM, perhaps you are 
using wrong interface.

I would also try to execute 
watch -n 1  'netstat -antup'  

Look for all SYNC_SENT but not established. If found, note the IP you've used 
to connect to NFS and inspect your routing table.

The scripts that trigger the explicit routing setup are either bash scripts or 
most likely storage.resource.NfsSecondaryStorageResource java class.

Review the /var/log/cloud/systemvm.log for more reference.

This is definitely firewall, network or route related.

Two ways to resolve, either confirm that interfaces are properly configured and 
have access to storage, or hack the 
storage.resource.NfsSecondaryStorageResource (this is worst case)

Regards
ilya

PS: We are also vmware shop, and we've customized and backported a lot of 
features from ACS4.2 into just release ACS4.1 to have better vmware 
functionality (major issues was dvs support). If you need help on that front, 
let me know.




 -Original Message-
 From: Pablo Endres [mailto:pablo.end...@innovo-cloud.de]
 Sent: Wednesday, June 05, 2013 10:29 AM
 To: users@cloudstack.apache.org
 Subject: SSVM not mounting the secondary storage
 
 Hi all,
 
 I've been fighting a little with my CS 4.0.2 installation on CentOS 6.4 I'm 
 using
 ESX as a hypervisor and Advanced zones.
 
 I created a new zone defining a physical network with all traffic types
 (Management,Public, Guest, Storage) on vSwitch1 using vlans for each traffic
 type and enabled the zone.
 
 After a while I get a recurrent message on the management host logfiles:
 2013-06-05 16:01:35,791 DEBUG [cloud.server.StatsCollector]
 (StatsCollector-3:null) StorageCollector is running...
 2013-06-05 16:01:35,797 DEBUG [cloud.server.StatsCollector]
 (StatsCollector-3:null) There is no secondary storage VM for secondary
 storage host nfs://172.77.1.2/ss-nfs
 
 The ssvm-check.sh says:
 
 ERROR: NFS is not currently mounted
 Try manually mounting from inside the VM NFS server is  eth2
 ping: unknown host
 WARNING: cannot ping NFS server
 
 
 But I can ping and manually mount the share from inside the SSVM. So on the
 network side of both the SSVM and NFS server everything seams to be OK
 
 Can anyone give me a pointer on what else I can check? This case does not
 seem to be covered in the ssvm-troubleshooting guide from the wiki
 
 I would also like to know where the script or command is that triggers the
 mount in order to troubleshoot a little deeper.
 
 Thanks in advance.
 
 Best regards / Mit freundlichen Grüßen,
 Pablo Endres



Re: migrate vm's between cluster

2013-06-05 Thread Nguyen Anh Tu
what hypervisor you using?


2013/6/5 david van zeebroeck da...@analytics.brusselsairport.be

 hello i have a cluster defined which is running on redhat hosts
 now i wan't to migrate the vm's running on these machines to machine's
 running centos

 however you are not allowed to add a centos host to a cluster allready
 running redhat

 so i added a new cluster running the centos hosts.

 now how can i move/migrate the hosts to the centos cluster?




-- 

N.g.U.y.e.N.A.n.H.t.U


Re: migrate vm's between cluster

2013-06-05 Thread Ahmad Emneina
You'll be required to power down the vm. Then migrate the vm's volume to
the primary storage associated with the desired cluster.
On Jun 5, 2013 2:57 PM, david van zeebroeck 
da...@analytics.brusselsairport.be wrote:

 hello i have a cluster defined which is running on redhat hosts
 now i wan't to migrate the vm's running on these machines to machine's
 running centos

 however you are not allowed to add a centos host to a cluster allready
 running redhat

 so i added a new cluster running the centos hosts.

 now how can i move/migrate the hosts to the centos cluster?