Re: 答复: 答复: 高级网络中vm获取不到ip地址问题

2014-09-24 Thread Darren Tang
如果你手动在虚拟机里面配置分配的IP地址,通信正常么

在 2014年9月24日 下午1:57,张仕博 zhang...@neusoft.com写道:

 不好意思,如下是我搭建环境的主要信息

 环境是vmware的
 两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口。

 来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服务)在分布式交换机上建出对应多个vlan的端口组。


 问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不能到达router,进而获取不到ip地址。


 Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯定问题原因一定处在交换机上呢?




 -邮件原件-
 发件人: Darren Tang [mailto:darrentang...@gmail.com]
 发送时间: 2014年9月24日 13:33
 收件人: users-cn@cloudstack.apache.org
 主题: Re: 答复: 高级网络中vm获取不到ip地址问题

 麻烦你提供详细点的信息。

 两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
 你得先把环境描述清楚,才方便大家帮你解决问题。

 dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播的。
 一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还应该在网络层面。

 在 2014年9月24日 下午1:22,张仕博 zhang...@neusoft.com写道:

  有没有网络方面的高手给仔细分析下
 
  该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高手帮
  忙分析分析,交换机是H3C
  5510三层交换机设备
 
 
 
  -邮件原件-
  发件人: 张仕博 [mailto:zhang...@neusoft.com]
  发送时间: 2014年9月23日 17:47
  收件人: 'users-cn@cloudstack.apache.org'
  主题: 答复: 高级网络中vm获取不到ip地址问题
 
  我通过如下方式测试了一下网络连通性
  在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用的就是就是同一个来宾ip段内的ip
  通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
 
 
  -邮件原件-
  发件人: Darren Tang [mailto:darrentang...@gmail.com]
  发送时间: 2014年9月23日 17:35
  收件人: users-cn@cloudstack.apache.org
  主题: Re: 高级网络中vm获取不到ip地址问题
 
  没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
  虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经很明显了。
  各主机之间的同一个来宾网络不通。
 
  2014-09-23 13:39 GMT+08:00 张仕博 zhang...@neusoft.com:
 
   Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,则可以
   dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使用的网络
   是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
   经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主机的连通
   性,
  
   哪位高手给支个招如何排查?
  
   
   --
   - Confidentiality Notice: The
   information contained in this e-mail and any accompanying
   attachment(s) is intended only for the use of the intended recipient
   and may be confidential and/or privileged of Neusoft Corporation,
   its subsidiaries and/or its affiliates. If any reader of this
   communication is not the intended recipient, unauthorized use,
   forwarding, printing, storing, disclosure or copying is strictly
   prohibited, and may be unlawful.If you have received this
   communication in error,please immediately notify the sender by
   return e-mail, and delete the original message and all copies from
   your system. Thank you.
  
   
   --
   -
  
 
  --
  - Confidentiality Notice: The information
  contained in this e-mail and any accompanying attachment(s) is
  intended only for the use of the intended recipient and may be
  confidential and/or privileged of Neusoft Corporation, its
  subsidiaries and/or its affiliates. If any reader of this
  communication is not the intended recipient, unauthorized use,
  forwarding, printing, storing, disclosure or copying is strictly
  prohibited, and may be unlawful.If you have received this
  communication in error,please immediately notify the sender by return
  e-mail, and delete the original message and all copies from your
  system. Thank you.
 
  --
  -
 

 ---
 Confidentiality Notice: The information contained in this e-mail and any
 accompanying attachment(s)
 is intended only for the use of the intended recipient and may be
 confidential and/or privileged of
 Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
 of this communication is
 not the intended recipient, unauthorized use, forwarding, printing,
 storing, disclosure or copying
 is strictly prohibited, and may be unlawful.If you have received this
 communication in error,please
 immediately notify the sender by return e-mail, and delete the original
 message and all copies from
 your system. Thank you.

 ---



Re: 答复: 答复: 答复: 高级网络中vm获取不到ip地址问题

2014-09-24 Thread Darren Tang
分布式交换机这个相对来说复杂点,这样沟通太慢,如果可以,加我qq吧。ak_qq:1770098846

在 2014年9月24日 下午2:22,张仕博 zhang...@neusoft.com写道:

 经过测试将这个没有获取到ip的机器直接配置成router分配的ip,可以正常通信

 -邮件原件-
 发件人: Darren Tang [mailto:darrentang...@gmail.com]
 发送时间: 2014年9月24日 14:11
 收件人: users-cn@cloudstack.apache.org
 主题: Re: 答复: 答复: 高级网络中vm获取不到ip地址问题

 如果你手动在虚拟机里面配置分配的IP地址,通信正常么

 在 2014年9月24日 下午1:57,张仕博 zhang...@neusoft.com写道:

  不好意思,如下是我搭建环境的主要信息
 
  环境是vmware的
  两台主机,网络配置相同,第一块网卡做管理网,第四块网卡建的分布式交换机,来宾虚拟机都在分布式交换机上,并且第四块网卡连接的交换机trunk口
  。
 
  来宾网络有多个,对应不同的vlan,使用cloudstack的自定义网络(dhcp和dns服务)在分布式交换机上建出对应多个vlan的端口组
  。
 
 
  问题现象是同一个vlan内的来宾虚拟机如果碰巧和router在一个主机上,dhcp广播即可到达,如果来宾虚拟机在另外一台主机dhcp广播则不
  能到达router,进而获取不到ip地址。
 
 
  Dhcp广播通过抓包工具已经证实确实没有广播到另外的那台主机上,是不是可以肯定问题原因一定处在交换机上呢?
 
 
 
 
  -邮件原件-
  发件人: Darren Tang [mailto:darrentang...@gmail.com]
  发送时间: 2014年9月24日 13:33
  收件人: users-cn@cloudstack.apache.org
  主题: Re: 答复: 高级网络中vm获取不到ip地址问题
 
  麻烦你提供详细点的信息。
 
  两台主机几块网卡,都是怎么配置的,区域中管理,存储,来宾,公共流量是怎么定义的。交换机是怎么配置的。网段,vlan都是怎么配置的。。等等
  你得先把环境描述清楚,才方便大家帮你解决问题。
 
  dhcp获取ip地址共分为4个步骤,其中前3个步骤(请求,回应,确定) 是广播的。
  一般而言,vlan可以隔离广播域和冲突域,如果只是在一台主机中有效,那问题还应该在网络层面。
 
  在 2014年9月24日 下午1:22,张仕博 zhang...@neusoft.com写道:
 
   有没有网络方面的高手给仔细分析下
  
   该问题已经确认到dhcp广播报文没能跨主机广播,仅仅在一台主机内收到广播,而交换机上又没有配置什么针对dhcp的配置,有没有网络方面的高
   手帮
   忙分析分析,交换机是H3C
   5510三层交换机设备
  
  
  
   -邮件原件-
   发件人: 张仕博 [mailto:zhang...@neusoft.com]
   发送时间: 2014年9月23日 17:47
   收件人: 'users-cn@cloudstack.apache.org'
   主题: 答复: 高级网络中vm获取不到ip地址问题
  
   我通过如下方式测试了一下网络连通性
   在主机A(没有router的那台)新建一台虚拟机,给这个虚拟机配置静态IP,用的就是就是同一个来宾ip段内的ip
   通过这个机器ping主机B(有router的那台)上同段的机器可以ping通
  
  
   -邮件原件-
   发件人: Darren Tang [mailto:darrentang...@gmail.com]
   发送时间: 2014年9月23日 17:35
   收件人: users-cn@cloudstack.apache.org
   主题: Re: 高级网络中vm获取不到ip地址问题
  
   没得说,来宾网络有问题,重点检查物理网络,vlan,trunk等等配置。
   虚拟机和vr在一台机器上能获取ip,不再同一台机器上就不能获取。  现象已经很明显了。
   各主机之间的同一个来宾网络不通。
  
   2014-09-23 13:39 GMT+08:00 张仕博 zhang...@neusoft.com:
  
Vmware环境中两台主机A和B,router在主机B上,新建虚拟机如果在主机B上,则可以
dhcp获取ip地址,但是如果新建虚拟机分到了主机A上,则分不到ip地址,使用的网络
是分布式交换机网络,虚拟机A和B都与router在同一个网络内。
经测试,网络连通性应该没有问题,已通过其他虚拟机测试过与router、与主机的连通
性,
   
哪位高手给支个招如何排查?
   
--
--
--
- Confidentiality Notice: The
information contained in this e-mail and any accompanying
attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft
Corporation, its subsidiaries and/or its affiliates. If any reader
of this communication is not the intended recipient, unauthorized
use, forwarding, printing, storing, disclosure or copying is
strictly prohibited, and may be unlawful.If you have received this
communication in error,please immediately notify the sender by
return e-mail, and delete the original message and all copies from
your system. Thank you.
   
--
--
--
-
   
  
   
   --
   - Confidentiality Notice: The
   information contained in this e-mail and any accompanying
   attachment(s) is intended only for the use of the intended recipient
   and may be confidential and/or privileged of Neusoft Corporation,
   its subsidiaries and/or its affiliates. If any reader of this
   communication is not the intended recipient, unauthorized use,
   forwarding, printing, storing, disclosure or copying is strictly
   prohibited, and may be unlawful.If you have received this
   communication in error,please immediately notify the sender by
   return e-mail, and delete the original message and all copies from
   your system. Thank you.
  
   
   --
   -
  
 
  --
  - Confidentiality Notice: The information
  contained in this e-mail and any accompanying attachment(s) is
  intended only for the use of the intended recipient and may be
  confidential and/or privileged of Neusoft Corporation, its
  subsidiaries and/or its affiliates. If any reader of this
  communication is not the intended recipient, unauthorized use,
  forwarding, printing, storing, disclosure or copying is strictly
  prohibited, and may be unlawful.If you have received this
  communication in error,please immediately notify the sender by return
  e-mail, and delete the original message and all copies from your
  system. Thank you.
 
  --
  -
 

 ---
 Confidentiality Notice: The information contained in this e-mail and any
 accompanying 

Cloudstack systemvmtemplate url is not working

2014-09-24 Thread Asanka sanjaya Herath
I used this url for get cloudstack systemvmtemplate but this returns 404
error.

http://jenkins.buildacloud.org/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-master-xen.vhd.bz2

Is there any alternative url which I can use for this?

-- 
Thanks,
Regards,
ASH


RE: CloudStack DataBase HA Restoration Test

2014-09-24 Thread Venkata Suneel Babu Mallela
Hi Rajani,

Thank you for your response. I was stuck with some work last week.

I've reinstalled a new CloudStack4.4.0 and added below line to the file 
/etc/cloudstack/management/catalina.properties, 


common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar,/usr/share/cloudstack-mysql-ha/lib/*jar

Restarted the management service, but still getting http status 404 error, the 
log is below.

2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] 
(main:null) Loading module context [system] from URL 
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.4.0.jar!/META-INF/cloudstack/system/spring-core-system-context-inheritable.xml]
2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] 
(main:null) Loading module context [system] from URL 
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-config-4.4.0.jar!/META-INF/cloudstack/system/spring-framework-config-system-context-inheritable.xml]
2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] 
(main:null) Loading module context [system] from URL 
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-network-contrail-4.4.0.jar!/META-INF/cloudstack/system/spring-contrail-system-context-inheritable.xml]
2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] 
(main:null) Loading module context [system] from URL 
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.4.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
2014-09-23 05:24:18,016 INFO  [c.c.u.d.T.Transaction] (main:null) Is Data Base 
High Availiability enabled? Ans : true
2014-09-23 05:24:18,053 INFO  [c.c.u.d.T.Transaction] (main:null) The slaves 
configured for Cloud Data base is/are : 10.0.60.204
2014-09-23 05:24:18,130 ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get 
a new db connection
java.sql.SQLException: Invalid load balancing strategy 
'com.cloud.utils.db.StaticStrategy'.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
at com.mysql.jdbc.Util.loadExtensions(Util.java:588)
at 
com.mysql.jdbc.LoadBalancingConnectionProxy.init(LoadBalancingConnectionProxy.java:280)
at 
com.mysql.jdbc.FailoverConnectionProxy.init(FailoverConnectionProxy.java:66)
at 
com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:382)
at 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:301)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at 
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
at 
com.cloud.utils.db.TransactionLegacy.getStandaloneConnectionWithException(TransactionLegacy.java:205)
at com.cloud.utils.db.Merovingian2.init(Merovingian2.java:68)
at 
com.cloud.utils.db.Merovingian2.createLockMaster(Merovingian2.java:80)
at 
com.cloud.server.LockMasterListener.init(LockMasterListener.java:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at 

RE: Cloudstack systemvmtemplate url is not working

2014-09-24 Thread Rayees Namathponnan
Can you try 
http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-422-xen.vhd.bz2
 

Its 64 bit template 

Regards,
Rayees 

-Original Message-
From: Asanka sanjaya Herath [mailto:angal...@gmail.com] 
Sent: Tuesday, September 23, 2014 11:14 PM
To: users@cloudstack.apache.org
Subject: Cloudstack systemvmtemplate url is not working

I used this url for get cloudstack systemvmtemplate but this returns 404 error.

http://jenkins.buildacloud.org/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-master-xen.vhd.bz2

Is there any alternative url which I can use for this?

--
Thanks,
Regards,
ASH


Volume upload stuck

2014-09-24 Thread Jan-Arve Nygård
Hi,

I have two large volume uploads stuck in state UploadOp. Are there any
correct way to resume upload? If not, what's the best way to cleanup these
uploads and start over?


--
Jan-Arve


Re: Cloudstack systemvmtemplate url is not working

2014-09-24 Thread Asanka sanjaya Herath
What about this one?

http://jenkins.buildacloud.org/job/build-systemvm-master/314/artifact/tools/appliance/dist/systemvmtemplate-master-314-xen.vhd.bz2

Can I use this url Instead of previous one?

On Wed, Sep 24, 2014 at 12:13 PM, Rayees Namathponnan 
rayees.namathpon...@citrix.com wrote:

 Can you try
 http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-422-xen.vhd.bz2

 Its 64 bit template

 Regards,
 Rayees

 -Original Message-
 From: Asanka sanjaya Herath [mailto:angal...@gmail.com]
 Sent: Tuesday, September 23, 2014 11:14 PM
 To: users@cloudstack.apache.org
 Subject: Cloudstack systemvmtemplate url is not working

 I used this url for get cloudstack systemvmtemplate but this returns 404
 error.


 http://jenkins.buildacloud.org/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-master-xen.vhd.bz2

 Is there any alternative url which I can use for this?

 --
 Thanks,
 Regards,
 ASH




-- 
Thanks,
Regards,
ASH


Re: Cloudstack systemvmtemplate url is not working

2014-09-24 Thread Ian Duffy
The filename changed recently they now include the Jenkins build number.
On 24 Sep 2014 07:14, Asanka sanjaya Herath angal...@gmail.com wrote:

 I used this url for get cloudstack systemvmtemplate but this returns 404
 error.


 http://jenkins.buildacloud.org/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-master-xen.vhd.bz2

 Is there any alternative url which I can use for this?

 --
 Thanks,
 Regards,
 ASH



Re: CloudStack DataBase HA Restoration Test

2014-09-24 Thread Rajani Karuturi
Is this a noredist build? Did you verify that the mysql-ha jar exists at
/usr/share/cloudstack-mysql-ha/lib/*jar?





~Rajani

On Wed, Sep 24, 2014 at 12:06 PM, Venkata Suneel Babu Mallela 
sunee...@simplifydc.com wrote:

 Hi Rajani,

 Thank you for your response. I was stuck with some work last week.

 I've reinstalled a new CloudStack4.4.0 and added below line to the file
 /etc/cloudstack/management/catalina.properties,


 common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar,/usr/share/cloudstack-mysql-ha/lib/*jar

 Restarted the management service, but still getting http status 404 error,
 the log is below.

 2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.4.0.jar!/META-INF/cloudstack/system/spring-core-system-context-inheritable.xml]
 2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-config-4.4.0.jar!/META-INF/cloudstack/system/spring-framework-config-system-context-inheritable.xml]
 2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-network-contrail-4.4.0.jar!/META-INF/cloudstack/system/spring-contrail-system-context-inheritable.xml]
 2014-09-23 05:24:14,176 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.4.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
 2014-09-23 05:24:18,016 INFO  [c.c.u.d.T.Transaction] (main:null) Is Data
 Base High Availiability enabled? Ans : true
 2014-09-23 05:24:18,053 INFO  [c.c.u.d.T.Transaction] (main:null) The
 slaves configured for Cloud Data base is/are : 10.0.60.204
 2014-09-23 05:24:18,130 ERROR [c.c.u.d.Merovingian2] (main:null) Unable to
 get a new db connection
 java.sql.SQLException: Invalid load balancing strategy
 'com.cloud.utils.db.StaticStrategy'.
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
 at com.mysql.jdbc.Util.loadExtensions(Util.java:588)
 at
 com.mysql.jdbc.LoadBalancingConnectionProxy.init(LoadBalancingConnectionProxy.java:280)
 at
 com.mysql.jdbc.FailoverConnectionProxy.init(FailoverConnectionProxy.java:66)
 at
 com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:382)
 at
 com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:301)
 at java.sql.DriverManager.getConnection(DriverManager.java:571)
 at java.sql.DriverManager.getConnection(DriverManager.java:215)
 at
 org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
 at
 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
 at
 org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
 at
 org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
 at
 com.cloud.utils.db.TransactionLegacy.getStandaloneConnectionWithException(TransactionLegacy.java:205)
 at com.cloud.utils.db.Merovingian2.init(Merovingian2.java:68)
 at
 com.cloud.utils.db.Merovingian2.createLockMaster(Merovingian2.java:80)
 at
 com.cloud.server.LockMasterListener.init(LockMasterListener.java:33)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at
 org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
 at
 org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
 at
 org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
 at
 

RE: CloudStack DataBase HA Restoration Test

2014-09-24 Thread Venkata Suneel Babu Mallela
This setup is installed using RPM package repository. Can you please guide how 
to check this is a noredist build or not? And what is the use of it?

There is no directory cloudstack-mysql-ha under /usr/share/.

[root@cs01 share]# ls cloudstack-*
cloudstack-bridge/ cloudstack-management/
cloudstack-common/ cloudstack-usage/

Thank you,
Suneel Mallela.

-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org] 
Sent: Wednesday, September 24, 2014 3:30 PM
To: users@cloudstack.apache.org
Subject: Re: CloudStack DataBase HA Restoration Test

Is this a noredist build? Did you verify that the mysql-ha jar exists at 
/usr/share/cloudstack-mysql-ha/lib/*jar?





~Rajani

On Wed, Sep 24, 2014 at 12:06 PM, Venkata Suneel Babu Mallela  
sunee...@simplifydc.com wrote:

 Hi Rajani,

 Thank you for your response. I was stuck with some work last week.

 I've reinstalled a new CloudStack4.4.0 and added below line to the 
 file /etc/cloudstack/management/catalina.properties,


 common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catali
 na.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connecto
 r-java.jar,/usr/share/cloudstack-mysql-ha/lib/*jar

 Restarted the management service, but still getting http status 404 
 error, the log is below.

 2014-09-23 05:24:14,176 INFO  
 [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL 
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/
 cloud-core-4.4.0.jar!/META-INF/cloudstack/system/spring-core-system-co
 ntext-inheritable.xml]
 2014-09-23 05:24:14,176 INFO  
 [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL 
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/
 cloud-framework-config-4.4.0.jar!/META-INF/cloudstack/system/spring-fr
 amework-config-system-context-inheritable.xml]
 2014-09-23 05:24:14,176 INFO  
 [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL 
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/
 cloud-plugin-network-contrail-4.4.0.jar!/META-INF/cloudstack/system/sp
 ring-contrail-system-context-inheritable.xml]
 2014-09-23 05:24:14,176 INFO  
 [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
 (main:null) Loading module context [system] from URL 
 [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/
 cloud-core-4.4.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-c
 ontext-inheritable.xml]
 2014-09-23 05:24:18,016 INFO  [c.c.u.d.T.Transaction] (main:null) Is 
 Data Base High Availiability enabled? Ans : true
 2014-09-23 05:24:18,053 INFO  [c.c.u.d.T.Transaction] (main:null) The 
 slaves configured for Cloud Data base is/are : 10.0.60.204
 2014-09-23 05:24:18,130 ERROR [c.c.u.d.Merovingian2] (main:null) 
 Unable to get a new db connection
 java.sql.SQLException: Invalid load balancing strategy 
 'com.cloud.utils.db.StaticStrategy'.
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
 at com.mysql.jdbc.Util.loadExtensions(Util.java:588)
 at
 com.mysql.jdbc.LoadBalancingConnectionProxy.init(LoadBalancingConnectionProxy.java:280)
 at
 com.mysql.jdbc.FailoverConnectionProxy.init(FailoverConnectionProxy.java:66)
 at
 com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:382)
 at
 com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:301)
 at java.sql.DriverManager.getConnection(DriverManager.java:571)
 at java.sql.DriverManager.getConnection(DriverManager.java:215)
 at
 org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
 at
 org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
 at
 org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
 at
 org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
 at
 com.cloud.utils.db.TransactionLegacy.getStandaloneConnectionWithException(TransactionLegacy.java:205)
 at com.cloud.utils.db.Merovingian2.init(Merovingian2.java:68)
 at
 com.cloud.utils.db.Merovingian2.createLockMaster(Merovingian2.java:80)
 at
 com.cloud.server.LockMasterListener.init(LockMasterListener.java:33)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at
 org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
 at
 

Re: Zone already associated with a VMware datacenter

2014-09-24 Thread José Egas López
I did that, thank you ilya!

Regards,
Jose

div Original message /divdivFrom: ilya musayev 
ilya.mailing.li...@gmail.com /divdivDate:24/09/2014  12:19 AM  
(GMT-05:00) /divdivTo: users@cloudstack.apache.org /divdivSubject: Re: 
Zone already associated with a VMware datacenter /divdiv
/divThe tag is not easily seen and i was able to remove it from vmware 
windows client and not web ui.

Screenshot below:
http://screencast.com/t/hwVet86sJv


On 9/23/14, 4:16 PM, José Egas López wrote:
 I removed all before I destroyed my setup. Ok I'll check that on 
 vCenter, thank you Nitin!
 Yes of course, how can I file a bug for reporting this?

 *
 Regards,
 José

 *

 El 23/09/2014 17:59, Nitin Mehta escribió:
 Can you please check tags on the dc in vcenter ? Can you clear that 
 out ?
 Can you also file a bug for this - seems like its not removing the
 metadata when you destroyed your setup (I am hoping you removed the 4.4
 zone from CS)

 On 23/09/14 3:54 PM, José Egas López josee...@farmaenlace.com wrote:

 Hi all!
 I just installed again CS 4.3.1 (I was using 4.4.0; I destroyed the
 installation of CS 4.4.0 I did before), but when I try to add the first
 cluster, the following error comes out:

 Zone 1 is already associated with a VMware datacenter. Only 1 VMware DC
 can be associated with a zone.

 I tried changing the name of de VM DC but it shows the same error. How
 can I detach my current VM DC to add to CS?

 *Regards,
 José

 *







Re: ACS 4.3.1 disable realhostip.com or SSL

2014-09-24 Thread France
I went down the route with custom DNS service (already working) and custom 
certificate, because it feels safer than rolling out my RPM packages.

So, the instructions 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name#ProceduretoReplacerealhostip.comwithYourOwnDomainName-HowtogeneratemycustomrootCAandcertificate?)
 point me to creating an intermediate certificate, which i do not think is 
required.

If I am my own CA, why should i create an intermediate certificate and sign 
with that to complicate things? I guess i could sign my CSR with CA directly. 
Can’t I?

Then just use the GUI and no API calls, to add the certificate, the key and 
domain info. As long as i keep secstorage.encrypt.copy to false, all shoud 
work. Right?

Regards,
F.

On 20 Sep 2014, at 21:17, Amogh Vasekar amogh.vase...@citrix.com wrote:

 ConsoleProxyInfo and ConsoleProxyManagerImpl.assignProxy has the relevant
 code to generate the URL for accessing console.
 The ConsoleProxyServlet handles the requests, and might be a good starting
 point if you wish to change the code.
 
 Amogh
 
 On 9/20/14 12:01 PM, France mailingli...@isg.si wrote:
 
 Hi Amogh,
 
 thank you for your suggestions and instructions on disabling.
 
 We will not run a wildcard DNS resolver on certain subdomain as required
 for this option.
 Once ACS supports single domain for console proxy access, we shall enable
 https once again with our signed/bought certificate.
 
 In the mean time, we either have to move to http from https making access
 to whole admin interface insecure or hack the code to display a link to
 console instead of iframe.
 I would rather go for the latter option. Does anyone who is following
 this, know where is the code for that iframe link?
 
 Thank you.
 
 F.
 
 On 20 Sep 2014, at 20:33, Amogh Vasekar amogh.vase...@citrix.com wrote:
 
 Hi,
 
 I believe this is by design for SSL - a user would see a HTTPS site
 thinking everything is secure and encrypted, only to realize later that
 some part is in fact insecure. Hence, instead of trying to circumvent
 the
 security mechanism, you can try the steps at :
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Repla
 ce
 
 +realhostip.com+with+Your+Own+Domain+Name#ProceduretoReplacerealhostip.co
 mw
 ithYourOwnDomainName-HowtogeneratemycustomrootCAandcertificate?
 
 This would help create your own certificate chain. The downside being
 your
 users would need to add the custom root CA in the browser (a practice
 followed by many companies for internal network), or simply accept the
 security warning the first time they access your domain.
 Please note that this would still need a publicly resolvable domain (or
 add the mappings directly in /etc/hosts if it is more convenient)
 
 Thanks,
 Amogh
 
 On 9/20/14 11:22 AM, France mailingli...@isg.si wrote:
 
 It worked for us. Well kind of.
 
 The problem is now, that we have https for default admin interface,
 while
 console opens as iframe to http content and browsers such as firefox
 will
 not load content, because it is not on https.
 They call it: Mixed Content Blocking Enabled²:
 
 https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled
 -i
 n-firefox-23/
 
 Do you have any recommendations what to do in order to get around this?
 
 We will not buy a wildcard certificate, because it is to expensive for
 us.
 
 Regards,
 F.
 
 On 20 Sep 2014, at 15:21, France mailingli...@isg.si wrote:
 
 I will just empty these two fields in global config:
 
 secstorage.ssl.cert.domain
 consoleproxy.url.domain
 
 restart CS and restart the console proxy..
 
 Š and hope for the best. :-)
 
 If you do not hear from me on this, then this worked and others can do
 it too.
 
 Regards,
 F.
 
 
 On 20 Sep 2014, at 15:16, Aldis Gerhards al...@hostnet.lv wrote:
 
 We got the same problem. It seemed like a bug :) we downgraded back
 to
 4.3.0 because pf this issue.
 
 Sent from my iPhone
 
 On 2014. gada 20. sept., at 15:39, France mailingli...@isg.si
 wrote:
 
 Hi guys,
 
 how do we disable realhostip.com service with its certificates on
 ACS
 4.3.1, to get consoleproxy working without ties to realhostip.com
 service?
 We are happy with HTTP only for now.
 
 Regards,
 F.
 
 
 
 
 



Re: ACS 4.3.1 disable realhostip.com or SSL

2014-09-24 Thread ilya musayev
You should be able to use CSR to sign with CA directly, you would need a 
wildcard cert with conforming hostname - should be in the instructions.


Regards
ilya
On 9/24/14, 6:40 AM, France wrote:

I went down the route with custom DNS service (already working) and custom 
certificate, because it feels safer than rolling out my RPM packages.

So, the instructions 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name#ProceduretoReplacerealhostip.comwithYourOwnDomainName-HowtogeneratemycustomrootCAandcertificate?)
 point me to creating an intermediate certificate, which i do not think is 
required.

If I am my own CA, why should i create an intermediate certificate and sign 
with that to complicate things? I guess i could sign my CSR with CA directly. 
Can’t I?

Then just use the GUI and no API calls, to add the certificate, the key and 
domain info. As long as i keep secstorage.encrypt.copy to false, all shoud 
work. Right?

Regards,
F.

On 20 Sep 2014, at 21:17, Amogh Vasekar amogh.vase...@citrix.com wrote:


ConsoleProxyInfo and ConsoleProxyManagerImpl.assignProxy has the relevant
code to generate the URL for accessing console.
The ConsoleProxyServlet handles the requests, and might be a good starting
point if you wish to change the code.

Amogh

On 9/20/14 12:01 PM, France mailingli...@isg.si wrote:


Hi Amogh,

thank you for your suggestions and instructions on disabling.

We will not run a wildcard DNS resolver on certain subdomain as required
for this option.
Once ACS supports single domain for console proxy access, we shall enable
https once again with our signed/bought certificate.

In the mean time, we either have to move to http from https making access
to whole admin interface insecure or hack the code to display a link to
console instead of iframe.
I would rather go for the latter option. Does anyone who is following
this, know where is the code for that iframe link?

Thank you.

F.

On 20 Sep 2014, at 20:33, Amogh Vasekar amogh.vase...@citrix.com wrote:


Hi,

I believe this is by design for SSL - a user would see a HTTPS site
thinking everything is secure and encrypted, only to realize later that
some part is in fact insecure. Hence, instead of trying to circumvent
the
security mechanism, you can try the steps at :

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Repla
ce

+realhostip.com+with+Your+Own+Domain+Name#ProceduretoReplacerealhostip.co
mw
ithYourOwnDomainName-HowtogeneratemycustomrootCAandcertificate?

This would help create your own certificate chain. The downside being
your
users would need to add the custom root CA in the browser (a practice
followed by many companies for internal network), or simply accept the
security warning the first time they access your domain.
Please note that this would still need a publicly resolvable domain (or
add the mappings directly in /etc/hosts if it is more convenient)

Thanks,
Amogh

On 9/20/14 11:22 AM, France mailingli...@isg.si wrote:


It worked for us. Well kind of.

The problem is now, that we have https for default admin interface,
while
console opens as iframe to http content and browsers such as firefox
will
not load content, because it is not on https.
They call it: Mixed Content Blocking Enabled²:

https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled
-i
n-firefox-23/

Do you have any recommendations what to do in order to get around this?

We will not buy a wildcard certificate, because it is to expensive for
us.

Regards,
F.

On 20 Sep 2014, at 15:21, France mailingli...@isg.si wrote:


I will just empty these two fields in global config:

secstorage.ssl.cert.domain
consoleproxy.url.domain

restart CS and restart the console proxy..

Š and hope for the best. :-)

If you do not hear from me on this, then this worked and others can do
it too.

Regards,
F.


On 20 Sep 2014, at 15:16, Aldis Gerhards al...@hostnet.lv wrote:


We got the same problem. It seemed like a bug :) we downgraded back
to
4.3.0 because pf this issue.

Sent from my iPhone


On 2014. gada 20. sept., at 15:39, France mailingli...@isg.si
wrote:

Hi guys,

how do we disable realhostip.com service with its certificates on
ACS
4.3.1, to get consoleproxy working without ties to realhostip.com
service?
We are happy with HTTP only for now.

Regards,
F.




Re: Volume upload stuck

2014-09-24 Thread Nitin Mehta
Restarting MS should resume it. Please check


On 24/09/14 12:14 AM, Jan-Arve Nygård jan.arve.nyg...@gmail.com wrote:

Hi,

I have two large volume uploads stuck in state UploadOp. Are there any
correct way to resume upload? If not, what's the best way to cleanup these
uploads and start over?


--
Jan-Arve



Re: ACS 4.3.1 disable realhostip.com or SSL

2014-09-24 Thread Nitin Mehta
You are right. You don’t need intermediate cert, its optional.
Installation procedure says that. I edited the section you pointed as well.

Thanks,
-Nitin

On 24/09/14 6:40 AM, France mailingli...@isg.si wrote:

I went down the route with custom DNS service (already working) and
custom certificate, because it feels safer than rolling out my RPM
packages.

So, the instructions
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Repla
ce+realhostip.com+with+Your+Own+Domain+Name#ProceduretoReplacerealhostip.c
omwithYourOwnDomainName-HowtogeneratemycustomrootCAandcertificate?) point
me to creating an intermediate certificate, which i do not think is
required.

If I am my own CA, why should i create an intermediate certificate and
sign with that to complicate things? I guess i could sign my CSR with CA
directly. Can’t I?

Then just use the GUI and no API calls, to add the certificate, the key
and domain info. As long as i keep secstorage.encrypt.copy to false, all
shoud work. Right?

Regards,
F.

On 20 Sep 2014, at 21:17, Amogh Vasekar amogh.vase...@citrix.com wrote:

 ConsoleProxyInfo and ConsoleProxyManagerImpl.assignProxy has the
relevant
 code to generate the URL for accessing console.
 The ConsoleProxyServlet handles the requests, and might be a good
starting
 point if you wish to change the code.
 
 Amogh
 
 On 9/20/14 12:01 PM, France mailingli...@isg.si wrote:
 
 Hi Amogh,
 
 thank you for your suggestions and instructions on disabling.
 
 We will not run a wildcard DNS resolver on certain subdomain as
required
 for this option.
 Once ACS supports single domain for console proxy access, we shall
enable
 https once again with our signed/bought certificate.
 
 In the mean time, we either have to move to http from https making
access
 to whole admin interface insecure or hack the code to display a link to
 console instead of iframe.
 I would rather go for the latter option. Does anyone who is following
 this, know where is the code for that iframe link?
 
 Thank you.
 
 F.
 
 On 20 Sep 2014, at 20:33, Amogh Vasekar amogh.vase...@citrix.com
wrote:
 
 Hi,
 
 I believe this is by design for SSL - a user would see a HTTPS site
 thinking everything is secure and encrypted, only to realize later
that
 some part is in fact insecure. Hence, instead of trying to circumvent
 the
 security mechanism, you can try the steps at :
 
 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Rep
la
 ce
 
 
+realhostip.com+with+Your+Own+Domain+Name#ProceduretoReplacerealhostip.
co
 mw
 ithYourOwnDomainName-HowtogeneratemycustomrootCAandcertificate?
 
 This would help create your own certificate chain. The downside being
 your
 users would need to add the custom root CA in the browser (a practice
 followed by many companies for internal network), or simply accept the
 security warning the first time they access your domain.
 Please note that this would still need a publicly resolvable domain
(or
 add the mappings directly in /etc/hosts if it is more convenient)
 
 Thanks,
 Amogh
 
 On 9/20/14 11:22 AM, France mailingli...@isg.si wrote:
 
 It worked for us. Well kind of.
 
 The problem is now, that we have https for default admin interface,
 while
 console opens as iframe to http content and browsers such as firefox
 will
 not load content, because it is not on https.
 They call it: Mixed Content Blocking Enabled²:
 
 
https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabl
ed
 -i
 n-firefox-23/
 
 Do you have any recommendations what to do in order to get around
this?
 
 We will not buy a wildcard certificate, because it is to expensive
for
 us.
 
 Regards,
 F.
 
 On 20 Sep 2014, at 15:21, France mailingli...@isg.si wrote:
 
 I will just empty these two fields in global config:
 
 secstorage.ssl.cert.domain
 consoleproxy.url.domain
 
 restart CS and restart the console proxy..
 
 Š and hope for the best. :-)
 
 If you do not hear from me on this, then this worked and others can
do
 it too.
 
 Regards,
 F.
 
 
 On 20 Sep 2014, at 15:16, Aldis Gerhards al...@hostnet.lv wrote:
 
 We got the same problem. It seemed like a bug :) we downgraded back
 to
 4.3.0 because pf this issue.
 
 Sent from my iPhone
 
 On 2014. gada 20. sept., at 15:39, France mailingli...@isg.si
 wrote:
 
 Hi guys,
 
 how do we disable realhostip.com service with its certificates on
 ACS
 4.3.1, to get consoleproxy working without ties to realhostip.com
 service?
 We are happy with HTTP only for now.
 
 Regards,
 F.
 
 
 
 
 




Adding OVA or OVF VMs to CS 4.3.1

2014-09-24 Thread José Egas López
Hi, I have exported an OVA and also an OVF template from an existing VM 
from vSphere.

The templates have the following types of file:
OVA -- templateName.ova
OVF--  templateName.mf; templateName.ovf; templateName.vmdk

I want to deploy a VM in CS from one of those templates.
I'm not sure about how CS 4.3.1 is supporting this file formats.
So the question is, how can I add my template into CS templates?



--

*
Regards,
José

*



Re: Zone already associated with a VMware datacenter

2014-09-24 Thread Nitin Mehta
Glad that you got it solved
You can create a ticket on
https://issues.apache.org/jira/secure/Dashboard.jspa

Thanks,
-Nitin

On 24/09/14 5:02 AM, José Egas López josee...@farmaenlace.com wrote:

I did that, thank you ilya!

Regards,
Jose

div Original message /divdivFrom: ilya musayev
ilya.mailing.li...@gmail.com /divdivDate:24/09/2014  12:19 AM
(GMT-05:00) /divdivTo: users@cloudstack.apache.org
/divdivSubject: Re: Zone already associated with a VMware datacenter
/divdiv
/divThe tag is not easily seen and i was able to remove it from vmware
windows client and not web ui.

Screenshot below:
http://screencast.com/t/hwVet86sJv


On 9/23/14, 4:16 PM, José Egas López wrote:
 I removed all before I destroyed my setup. Ok I'll check that on
 vCenter, thank you Nitin!
 Yes of course, how can I file a bug for reporting this?

 *
 Regards,
 José

 *

 El 23/09/2014 17:59, Nitin Mehta escribió:
 Can you please check tags on the dc in vcenter ? Can you clear that
 out ?
 Can you also file a bug for this - seems like its not removing the
 metadata when you destroyed your setup (I am hoping you removed the 4.4
 zone from CS)

 On 23/09/14 3:54 PM, José Egas López josee...@farmaenlace.com
wrote:

 Hi all!
 I just installed again CS 4.3.1 (I was using 4.4.0; I destroyed the
 installation of CS 4.4.0 I did before), but when I try to add the
first
 cluster, the following error comes out:

 Zone 1 is already associated with a VMware datacenter. Only 1 VMware
DC
 can be associated with a zone.

 I tried changing the name of de VM DC but it shows the same error. How
 can I detach my current VM DC to add to CS?

 *Regards,
 José

 *







Re: Volume upload stuck

2014-09-24 Thread Jan-Arve Nygård
I have already tried that but it didn't help. The logs just keeps stating
that the job is waiting for download to finish. I tried re-uploading one of
the files and it got downloaded and installed OK.

Are there any timeouts involved on the SSVM maybe? The volumes are 250GB so
it takes some time to download, run md5sum and install.

2014-09-24 18:39 GMT+02:00 Nitin Mehta nitin.me...@citrix.com:

 Restarting MS should resume it. Please check


 On 24/09/14 12:14 AM, Jan-Arve Nygård jan.arve.nyg...@gmail.com wrote:

 Hi,
 
 I have two large volume uploads stuck in state UploadOp. Are there any
 correct way to resume upload? If not, what's the best way to cleanup these
 uploads and start over?
 
 
 --
 Jan-Arve




CloudStack European Users Group LONDON

2014-09-24 Thread Steve Roles
Hi there everyone,

We're going to be holding the next CloudStack European User Group here in 
London on Thursday, October 23rd. As always, there will be some great speakers, 
the chance to meet with other CloudStack users and an informal chat over a beer 
afterwards! It would be great to see you there - if you can make it please 
register with Eventbrite.

Eventbrite: 
https://www.eventbrite.co.uk/e/cloudstack-european-user-group-tickets-13280834333

ShapeBlue: http://shapeblue.com/events/cloudstack-european-user-group-2/

Regards,

Steve Roles
VP Service Delivery

[cid:image001.png@01CDA880.0BBDC9C0]

D: +44 20 3642 6102tel:+442036426102 | S: +44 20 3603 0540tel:+442036030540 
| M: +44 7770 745 036tel:+447770745036

steve.ro...@shapeblue.commailto:steve.ro...@shapeblue.com | 
www.shapeblue.comhttp://www.shapeblue.com/ | 
Twitter:@ShapeBluehttps://twitter.com/#!/shapeblue

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

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

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

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


url to download CS 4.3.0 system vm templates

2014-09-24 Thread Yiping Zhang
Hi,

What is the url for downloading CS 4.3.0 stable systemvm template for xenserver 
?

I have been using 
http://docs.cloudstack.apache.org/projects/cloudstack-administration site for 
CS documentations while installing CS 4.3.0.

However, I just noticed that the url for systemVM templates has changed to 
point to CS 4.4.0 templates  in section 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#prepare-the-system-vm-template
 .

It would be nice to also list URL to systemvm templates for past versions on 
the page for people who are still using older CS versions.

Thanks

Yiping


Re: url to download CS 4.3.0 system vm templates

2014-09-24 Thread Amogh Vasekar
Hi,

http://docs.cloudstack.apache.org/en/4.3/ has older docs.

On the main docs landing page there is a (really) small v on the left
tab at the bottom that you can use to navigate to older docs.
Agreed its a pain to find it though. Lets hope the folks in charge of docs
change it to be easier.

Amogh


On 9/24/14 4:23 PM, Yiping Zhang yzh...@marketo.com wrote:

Hi,

What is the url for downloading CS 4.3.0 stable systemvm template for
xenserver ?

I have been using 
http://docs.cloudstack.apache.org/projects/cloudstack-administration site
for CS documentations while installing CS 4.3.0.

However, I just noticed that the url for systemVM templates has changed
to point to CS 4.4.0 templates  in section
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/late
st/installation.html#prepare-the-system-vm-template .

It would be nice to also list URL to systemvm templates for past versions
on the page for people who are still using older CS versions.

Thanks

Yiping



Re: url to download CS 4.3.0 system vm templates

2014-09-24 Thread Yiping Zhang
Thanks for the help, but unfortunately this link eventually also goes to
the latests docs for CS 4.4.0 !

I found the correct url from CS 4.3.0 release notes.  In upgrade
instructions, there are notes on registering new system VM templates and
it includes template urls for supported hypervisors.

Yiping


On 9/24/14, 4:54 PM, Amogh Vasekar amogh.vase...@citrix.com wrote:

Hi,

http://docs.cloudstack.apache.org/en/4.3/ has older docs.

On the main docs landing page there is a (really) small v on the left
tab at the bottom that you can use to navigate to older docs.
Agreed its a pain to find it though. Lets hope the folks in charge of docs
change it to be easier.

Amogh


On 9/24/14 4:23 PM, Yiping Zhang yzh...@marketo.com wrote:

Hi,

What is the url for downloading CS 4.3.0 stable systemvm template for
xenserver ?

I have been using
http://docs.cloudstack.apache.org/projects/cloudstack-administration site
for CS documentations while installing CS 4.3.0.

However, I just noticed that the url for systemVM templates has changed
to point to CS 4.4.0 templates  in section
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/lat
e
st/installation.html#prepare-the-system-vm-template .

It would be nice to also list URL to systemvm templates for past versions
on the page for people who are still using older CS versions.

Thanks

Yiping




RE: url to download CS 4.3.0 system vm templates

2014-09-24 Thread Amin
Hello,

I am not sure if this is the stable version or not, however you can try it.

http://jenkins.buildacloud.org/view/4.3/job/cloudstack-4.3-systemvm64/lastSuccessfulBuild/

-Original Message-
From: Yiping Zhang [mailto:yzh...@marketo.com] 
Sent: Thursday, 25 September 2014 7:23 AM
To: users@cloudstack.apache.org
Subject: url to download CS 4.3.0 system vm templates

Hi,

What is the url for downloading CS 4.3.0 stable systemvm template for xenserver 
?

I have been using 
http://docs.cloudstack.apache.org/projects/cloudstack-administration site for 
CS documentations while installing CS 4.3.0.

However, I just noticed that the url for systemVM templates has changed to 
point to CS 4.4.0 templates  in section 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#prepare-the-system-vm-template
 .

It would be nice to also list URL to systemvm templates for past versions on 
the page for people who are still using older CS versions.

Thanks

Yiping



Parallel deployment makes unusable template

2014-09-24 Thread Hiroki Ohashi
Dear Cloudstack users

I'm facing an issue of CLOUDSTACK-7539 in my production
environment. About the environment details, please see the ticket below.

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

I think this issue is reproducible in any environment using S3 and
Secondary Staging Store. Is there anyone that encounters the issue or
knows it?

Best Regards

--
Hiroki Ohashi


RE: Adding OVA or OVF VMs to CS 4.3.1

2014-09-24 Thread Sanjeev Neelarapu
Jose,

You can add the .ova fila as template in CS.

-Sanjeev

-Original Message-
From: José Egas López [mailto:josee...@farmaenlace.com] 
Sent: Wednesday, September 24, 2014 10:40 PM
To: users@cloudstack.apache.org
Subject: Adding OVA or OVF VMs to CS 4.3.1

Hi, I have exported an OVA and also an OVF template from an existing VM from 
vSphere.
The templates have the following types of file:
OVA -- templateName.ova
OVF--  templateName.mf; templateName.ovf; templateName.vmdk

I want to deploy a VM in CS from one of those templates.
I'm not sure about how CS 4.3.1 is supporting this file formats.
So the question is, how can I add my template into CS templates?



-- 

*
Regards,
José

*



RE: Static NAT routing

2014-09-24 Thread Sanjeev Neelarapu
Hi Venkat,

Couple of questions:
1. Are you able to reach the gateway 172.16.10.1 from your desktop?
2. Did you create firewall rules on acquired ip 172.16.10.103 to allow the 
ingress traffic?

You would not need to setup the virtual router as the default gateway. All the 
guest vms inside the isolated network you created would have the virtual router 
as the default gateway by default.

Thanks,
Sanjeev
-Original Message-
From: Venkat Srinivasan [mailto:ven...@cliqr.com] 
Sent: Wednesday, September 24, 2014 4:56 AM
To: users@cloudstack.apache.org
Subject: Static NAT routing

Hello All,

I have a cloudstack environment with a advanced zone setup. I have two bridge 
networks cloudbr0 and cloudbr1.  cloudbr0 is configured on a Public network 
interface using VLAN and cloudbr1 uses GRE on a second interface.

I am using Openvswitch on KVM .

I also created a networking offering with static nat ,port forwarding etc using 
'ovs' as the provider.

After my zone was created sucessfully , I created an isolated network using the 
above network offering with a cidr of 10.0.0.0/24.

All this works just fine.  I launched a VM inside this network and it comes up 
fine and my 'ovs-vsctl show' shows the appropriate tunnels and bridges created. 
The VM gets an IP 10.0.0.31.

Now I want to access this from public network so I acquired a public IP
-172.16.10.103 and created a static nat rule with my VM. The logs also show 
everything went through fine My Virtual router IP is 172.16.10.102 and if I do 
'ip addr' I can see that the acquired public ip is added as a secondary ip to 
eth2 interface.

My issue is that I cant seem to route to this public IP from say my desktop. I 
checked my cisco firewall/dhcp server and it has not received any ARP requests 
for new IP/Interface for 172.16.10.103 either . But the Systemvms and the 
Virtual Routers have registed themselves on my firewall/dhcp server.
I am curious how this works . Do I need to setup some routing in my hardware 
firewall to use the virtual router as the default gateway ?

Currently my default gateway is 172.16.10.1

Sorry if Iam missing something basic but any suggestions and ideas will help.

--
Thanks


Re: Static NAT routing

2014-09-24 Thread Venkat Srinivasan
Thanks Sanjeev. I was able to get it work today.The 172.16.10.1 is my
firewall gateway and the ingress rules seem be allow all.
 I recreated a vpc and a network offering using ovs and the 'Virtual
Networking' and 'Connectivity' provider.  Not really sure what these mean.I
also deleted and recreated my bridges . I wanted to create a network
offering for vpcs with OVS as the static NAT provider but that gets greyed
out as soon as I check the VPC.
Yes, I noticed that about the Virtual Router . It seems to respond to
ARPING with the secondary IP of its public NIC eth2 as 172.16.10.103 and I
assume thats how the routing takes place from my 172.16.10.1 gateway.

Anyhow, it seems to work now , will need to do some more tests.

---
Thanks .
Venkat



On Wed, Sep 24, 2014 at 9:14 PM, Sanjeev Neelarapu 
sanjeev.neelar...@citrix.com wrote:

 Hi Venkat,

 Couple of questions:
 1. Are you able to reach the gateway 172.16.10.1 from your desktop?
 2. Did you create firewall rules on acquired ip 172.16.10.103 to allow the
 ingress traffic?

 You would not need to setup the virtual router as the default gateway. All
 the guest vms inside the isolated network you created would have the
 virtual router as the default gateway by default.

 Thanks,
 Sanjeev
 -Original Message-
 From: Venkat Srinivasan [mailto:ven...@cliqr.com]
 Sent: Wednesday, September 24, 2014 4:56 AM
 To: users@cloudstack.apache.org
 Subject: Static NAT routing

 Hello All,

 I have a cloudstack environment with a advanced zone setup. I have two
 bridge networks cloudbr0 and cloudbr1.  cloudbr0 is configured on a Public
 network interface using VLAN and cloudbr1 uses GRE on a second interface.

 I am using Openvswitch on KVM .

 I also created a networking offering with static nat ,port forwarding etc
 using 'ovs' as the provider.

 After my zone was created sucessfully , I created an isolated network
 using the above network offering with a cidr of 10.0.0.0/24.

 All this works just fine.  I launched a VM inside this network and it
 comes up fine and my 'ovs-vsctl show' shows the appropriate tunnels and
 bridges created. The VM gets an IP 10.0.0.31.

 Now I want to access this from public network so I acquired a public IP
 -172.16.10.103 and created a static nat rule with my VM. The logs also
 show everything went through fine My Virtual router IP is 172.16.10.102 and
 if I do 'ip addr' I can see that the acquired public ip is added as a
 secondary ip to eth2 interface.

 My issue is that I cant seem to route to this public IP from say my
 desktop. I checked my cisco firewall/dhcp server and it has not received
 any ARP requests for new IP/Interface for 172.16.10.103 either . But the
 Systemvms and the Virtual Routers have registed themselves on my
 firewall/dhcp server.
 I am curious how this works . Do I need to setup some routing in my
 hardware firewall to use the virtual router as the default gateway ?

 Currently my default gateway is 172.16.10.1

 Sorry if Iam missing something basic but any suggestions and ideas will
 help.

 --
 Thanks