Re: Enabling CloudStack Usage Server Problem

2015-07-29 Thread venkata suneel babu Mallela
Hello Özhan,

Use “generateUsageRecords” API to generate usage records manually. It will save 
lot of time while playing with CloudStack Usage service.

https://cloudstack.apache.org/api/apidocs-4.5/root_admin/generateUsageRecords.html

Thank you,
Suneel.

Thank you,
Suneel Mallela

From: Özhan Rüzgar Karaman
Sent: ‎Wednesday‎, ‎July‎ ‎29‎, ‎2015 ‎5‎:‎07‎ ‎PM
To: cloudusersusers

Hi Vadim;
Usage Statistics Calculation is started today, but what i have noticed is
somehow when i change any of usage parameters and stop/start the management
server it effects after some time like one day :))

Yesterday i changed usage.stats.job.exec.time parameter several times to
manually trigger usage stats calculation daemon but it did not ever start.
Today when i check the logs i noticed that it started working at the
mentioned time in parameter today :) Now i raised
usage.stats.job.aggregation.range parameter from 10 to 30 an restarted
management server and now i see that it continues to collect for 10 minutes
of time :)) I do not know when it will mention the parameter is changed and
change the calculation interval. By the way i made the parameter changes
with admin user and CS main interface.

I have also another question my timezone is not listed on official
documentation for valid timezones. I will use Asia/Istanbul for timezone
fields for usage and we will see how system will respond to it :) I do not
expect any problems but :)

Thanks for your reply :)

Regards
Özhan


On Wed, Jul 29, 2015 at 10:53 AM, Vadim Kimlaychuk <
vadim.kimlayc...@elion.ee> wrote:

> Hello Özhan,
>
> Have you checked JOB table at your database ?  Try to log in into
> usage database and
>
> select * from usage_job;
>
> If you don't see anything probably you haven't installed java
> mysql connector
>
> Vadim.
>
> -Original Message-
> From: Özhan Rüzgar Karaman [mailto:oruzgarkara...@gmail.com]
> Sent: Tuesday, July 28, 2015 11:55 AM
> To: users@cloudstack.apache.org
> Subject: Enabling CloudStack Usage Server Problem
>
> Hi;
> I am using CloudStack 4.5.1 with KVM clients. I have problem with getting
> vm usage statistics, i could not able to start/operate CloudStack Usage
> Deamon. I could not see any values under Mysql cloud_usage database. My
> settings are below...
>
> Thanks
> Özhan
>
> *Global Settings Parameters:*
> usage.aggregation.timezone : GMT
> usage.execution.timezone : GMT
> enable.usage.server : true
> publish.usage.events : true
> usage.stats.job.exec.time: 13:35
> usage.stats.job.aggregation.range :10
>
> *root@cloudstack:~# dpkg -l|grep clouds*
> ii  *clouds*tack-common   4.5.1-shapeblue-00
> all  A common package which contains files which are shared by
> several CloudStack packages
> ii  *clouds*tack-management   4.5.1-shapeblue-00
> all  CloudStack server library
> ii  *clouds*tack-usage4.5.1-shapeblue-00
> all  CloudStack usage monitor
>
> *root@cloudstack:/var/log/cloudstack/management# cat
> management-server.log|grep usage*
> 2015-07-28 11:29:32,784 INFO  [c.c.h.HighAvailabilityManagerImpl]
> (HA-5:ctx-f8b40397) checking health of *usage* server
> 2015-07-28 11:29:32,786 DEBUG [c.c.h.HighAvailabilityManagerImpl]
> (HA-5:ctx-f8b40397) *usage* server running? true, heartbeat: Tue Jul 28
> 11:29:15 EEST 2015
> 2015-07-28 11:39:32,784 INFO  [c.c.h.HighAvailabilityManagerImpl]
> (HA-5:ctx-0383793a) checking health of *usage* server
> 2015-07-28 11:39:32,786 DEBUG [c.c.h.HighAvailabilityManagerImpl]
> (HA-5:ctx-0383793a) *usage* server running? true, heartbeat: Tue Jul 28
> 11:39:15 EEST 2015
>
> *root@cloudstack:/var/log/cloudstack/usage# tailf usage.log *
> 2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.UserAccountDaoImpl_EnhancerByCloudStack_3605546c
> 2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageNetworkDaoImpl_EnhancerByCloudStack_d8d23a61
> 2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.alert.dao.AlertDaoImpl_EnhancerByCloudStack_b9e90fb5
> 2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.VmDiskStatisticsDaoImpl_EnhancerByCloudStack_f62ca44d
> 2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_36959499
> 2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.dao.UsageVMSnapshotDaoImpl_EnhancerByCloudStack_66e10368
> 2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
> (main:null) Starting
> com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_38bd4b32
> 2015-07-27 13:22:00,154 INFO  [cloud.usage.UsageManagerImpl] (main:null)
> Starting Usage Manager
> 2015-0

CloudStack Dev Environment

2015-03-31 Thread venkata suneel babu Mallela
Hi Team,

Can any one share a step by step document to set up CloudStack development 
environment?

Thank you,
Suneel.

Sent from Windows Mail



Re: Branding/WhiteLabling in CoudStack

2014-10-29 Thread Venkata Suneel Babu Mallela
Hi,

I’ve installed CloudStack from RPMs and customized CloudStack UI with own Logo.
Suppose if there are multiple customers in CloudStack, I want to display their 
own Logo when they login with their links. How can I achieve it in CloudStack.

Thank you,
Suneel Mallela.

Sent from Windows Mail

From: Rohit Yadav
Sent: ‎Wednesday‎, ‎October‎ ‎29‎, ‎2014 ‎2‎:‎39‎ ‎PM
To: users@cloudstack.apache.org

Hi,

There is an old presentation on this which can help;
http://www.slideshare.net/cloudstack/cloudstack-ui-customization

> On 29-Oct-2014, at 10:51 am, Venkata Suneel Babu Mallela 
>  wrote:
>
> Hi All,
>
> Is it possible to use Branding/white-labeling in CloudStack?
>
> Thank you,
> Suneel Mallela

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



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

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

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


Branding/WhiteLabling in CoudStack

2014-10-28 Thread Venkata Suneel Babu Mallela
Hi All,

Is it possible to use Branding/white-labeling in CloudStack?

Thank you,
Suneel Mallela


Re: Zenoss Monitoring with Cloudstack 4.3

2014-10-06 Thread Venkata Suneel Babu Mallela
Try with ”http://xx.xx.xx.xx:8080”.

Thank you,
Suneel Mallela


From: tejas.sh...@frontier.in
Sent: ‎Tuesday‎, ‎October‎ ‎7‎, ‎2014 ‎10‎:‎01‎ ‎AM
To: cloudusersusers

Hi,

  I have deployed zenoss core using autodeploy script. Zenoss monitoring
dashboard looks fine but when we add cloudstack with its URL (
http://xx.xx.xx.xx:8080/client), secret key and API Key. it gives
following error.

Does any one has come up with similar issue?

"CloudStack error: 505 HTTP Version Not Supported"








agent
zencommand
component
null
dedupid
xx.xx.xx.xx||/Status/CloudStack|cloudstack_failure|4
eventClass
/Status/CloudStack
eventClassKey
cloudstack_error
eventClassMapping
cloudstack_error
eventGroup

eventKey
cloudstack_failure
eventState
New
evid
005056a2-1245-b650-11e4-4d2c91fcc938
facility

message
CloudStack error: 505 HTTP Version Not Supported
ntevid

priority

severity
4
summary
CloudStack error: 505 HTTP Version Not Supported





Device State...







DeviceClass
/CloudStack
DeviceGroups

DevicePriority
Normal
Location

Systems

device
xx.xx.xx.xx
ipAddress
xx.xx.xx.xx
monitor
localhost
prodState
Production





Event Data...







clearid

count
8
firstTime
2014-10-06 13:14:09
lastTime
2014-10-06 13:18:35
ownerid

stateChange
2014-10-06 13:14:09





Event Details...







eventClassMapping
cloudstack_error
manager
zenoss
zenoss.device.device_class
/CloudStack
zenoss.device.ip_address
xx.xx.xx.xx
zenoss.device.priority
3
zenoss.device.production_state
1000



Thanks,


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.(LoadBalancingConnectionProxy.java:280)
> at
> com.mysql.jdbc.FailoverConnectionProxy.(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.(Merovingian2.java:68)
> at
> com.cloud.utils.db.Merovingian2.createLockMaster(Merovingian2.java:80)
> at
> com.cloud.server.LockMasterListener.(LockMasterListener.java:33)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.Nativ

RE: CloudStack DataBase HA Restoration Test

2014-09-23 Thread Venkata Suneel Babu Mallela
[c.c.u.c.ComponentContext] (main:null) 
Configuring 
com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_901525bd
2014-09-23 05:24:29,497 INFO  [c.c.u.c.ComponentContext] (main:null) 
Configuring 
com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_251f9517
2014-09-23 05:24:29,497 INFO  [c.c.u.c.ComponentContext] (main:null) 
Configuring 
com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_41c6850f
2014-09-23 05:24:29,502 INFO  [c.c.u.c.ComponentContext] (main:null) 
Configuring 
com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_e2c8502e
2014-09-23 05:24:29,502 INFO  [c.c.u.c.ComponentContext] (main:null) 
Configuring 
com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_292f07ce
2014-09-23 05:24:29,502 INFO  [c.c.u.c.ComponentContext] (main:null) 
Configuring 
com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudStack_50fa97ec

Thank you,
Suneel Mallela.

-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org] 
Sent: Thursday, September 18, 2014 6:08 PM
To: users@cloudstack.apache.org
Subject: Re: CloudStack DataBase HA Restoration Test

Can you share the logs?

you might be hitting the bug
https://issues.apache.org/jira/browse/CLOUDSTACK-6892
The fix is in 4.4.1 branch.
As workaround, you can manually update catalina.properties as per the changes 
in the fix [1]

[1]
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=client/tomcatconf/catalina.properties.in;h=282892bb763a74b3898c9402423245670f69d546;hp=ce03ff6390b19e21d11c87c68adb7bd07a8c95eb;hb=539db08;hpb=cc913cf0bb7e62b7a216e2de793336e61a49b485

~Rajani

On Thu, Sep 18, 2014 at 5:25 PM, Venkata Suneel Babu Mallela < 
sunee...@simplifydc.com> wrote:

> Hi All,
>
> I've configured CloudStack DataBase replication(Master-Slave) 
> successfully and the setup is,
>
> Management Server   - 10.0.0.10
> DataBase_1(Master)   - 10.0.0.11
> DataBase_2(Slave)   - 10.0.0.12
>
> I want to test restoration process. I've followed the below link and 
> edited the "/etc/cloudstack/management/db.properties" file,
>
>
> http://docs.cloudstack.apache.org/projects/cloudstack-administration/e
> n/4.4/reliability.html
>
> db.ha.enabled=true
> db.cloud.slaves=10.0.0.12
> db.usage.slaves=10.0.0.12
>
> But, I'm getting HTTP Status 404 error.
>
> Can anyone explain the step by step process to make slave as mater and 
> master as slave in CloudStack point of view?
>
> I'm using ACS4.4.0.
>
> Thank you,
> Suneel Mallela
>


CloudStack DataBase HA Restoration Test

2014-09-18 Thread Venkata Suneel Babu Mallela
Hi All,

I've configured CloudStack DataBase replication(Master-Slave) successfully and 
the setup is,

Management Server   - 10.0.0.10
DataBase_1(Master)   - 10.0.0.11
DataBase_2(Slave)   - 10.0.0.12

I want to test restoration process. I've followed the below link and edited the 
"/etc/cloudstack/management/db.properties" file,

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.4/reliability.html

db.ha.enabled=true
db.cloud.slaves=10.0.0.12
db.usage.slaves=10.0.0.12

But, I'm getting HTTP Status 404 error.

Can anyone explain the step by step process to make slave as mater and master 
as slave in CloudStack point of view?

I'm using ACS4.4.0.

Thank you,
Suneel Mallela


RE: Error Importing Sql Dumpfile

2014-09-16 Thread Venkata Suneel Babu Mallela
Hi Ian Duffy,

Thank you for your reply. I'm able to login with 'cloud' user without password, 
but with this user I'm unable to see the "cloud" and "cloud_usage" databases. 
I'm able to see these databases with root user. 
Is there anything I missed? Please suggest.

Thank you,
Suneel Mallela

-Original Message-
From: Ian Duffy [mailto:i...@ianduffy.ie] 
Sent: Tuesday, September 16, 2014 6:56 PM
To: users@cloudstack.apache.org
Subject: Re: Error Importing Sql Dumpfile

Hi Suneel,

The error suggests a cloud user doesn't exist within your mysql database.

Please create a new user and it should solve the error.

e.g.

CREATE USER 'cloud'@'%' IDENTIFIED BY 'password';

On 16 September 2014 14:20, Venkata Suneel Babu Mallela < 
sunee...@simplifydc.com> wrote:

> HI All,
>
> I'm trying to configure DataBase replication for ACS 4.4.0, and 
> followed the below steps.
>
>
> 1.   I've exported the existing data of master  using the command
> "mysqldump -u root -p --all-databases --master-data > dbdump.db".
>
> 2.   When I tried to import dumpfile into the slave using the command
> "mysql -u root -p < /root/dbdump.db", I'm getting the below error,
>
> [root@pocdb02 ~]# mysql -u root < dbdump.db ERROR 1449 (HY000) at line 
> 11293: The user specified as a definer ('cloud'@'%') does not exist
>
> Can anyone please advise how to resolve this problem?
>
> Thank you,
> Suneel Mallela
>


Error Importing Sql Dumpfile

2014-09-16 Thread Venkata Suneel Babu Mallela
HI All,

I'm trying to configure DataBase replication for ACS 4.4.0, and followed the 
below steps.


1.   I've exported the existing data of master  using the command 
"mysqldump -u root -p --all-databases --master-data > dbdump.db".

2.   When I tried to import dumpfile into the slave using the command 
"mysql -u root -p < /root/dbdump.db", I'm getting the below error,

[root@pocdb02 ~]# mysql -u root < dbdump.db
ERROR 1449 (HY000) at line 11293: The user specified as a definer ('cloud'@'%') 
does not exist

Can anyone please advise how to resolve this problem?

Thank you,
Suneel Mallela


How to remove older volume snapshots

2014-08-24 Thread Venkata Suneel Babu Mallela
Hi All,

CloudStack Secondary Storage is reached 94%. The retention policy is as below,

Daily  -  Keep 7
Weekly -  Keep 4
Monthly   -  Keep 8

Snapshot.delta.max   -  16

Can anyone suggest, How to remove the older snapshots which are not showing in 
CloudStack UI?

Thank you,
Suneel Mallela


RE: mysql-setup-database ERROR 1044 access denied for user root

2014-08-19 Thread Venkata Suneel Babu Mallela
Hi Tejas,

Execute the below mysql command on DB server before executing 
"cloudstack-setup-databases cloud:@localhost 
--deploy-as=root:" on management server,

"GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;" 

Thank you,
Suneel Mallela

-Original Message-
From: tejas.sh...@frontier.in [mailto:tejas.sh...@frontier.in] 
Sent: Tuesday, August 19, 2014 6:19 PM
To: CloudStack-Users
Subject: mysql-setup-database ERROR 1044 access denied for user root

Hi,
  I have installed database in septate node (RHEL 6.3) and all the 
configuration steps have been performed as per installation guide.
 I have also installed cloudstack management server (RHEL 6.3) and all the 
configuration. I have disabled firewall in RHEL.
When i execute cloudstack-setup-databases cloud:@localhost 
--deploy-as=root: it gives error.

  Kindly suggest the fix. appreciate your help in advance.

  Mysql user name:cloud[ OK ]
Mysql user password:**  [ OK ]
Mysql server ip:10.0.1.70  [ OK ]
Mysql server port:3306  [ OK ]
Mysql root user name:root  [ OK ]
Mysql root user password:**  [ OK ]
Checking Cloud database files ...  [ OK ]
Checking local machine hostname ...  [ OK ]
Checking SELinux setup ...  [ OK ]
Detected local IP address as 10.0.1.72, will use as cluster management server 
node IP[ OK ]
Preparing /etc/cloudstack/management/db.properties  [ OK ]
Applying /usr/share/cloudstack-management/setup/create-database.sql

We apologize for below error:
***
Encountering an error when executing mysql script
--
table:
/usr/share/cloudstack-management/setup/create-database.sql

Error:
ERROR 1045 (28000): Access denied for user 'root'@'cssrv2.cloudfront.com' 
(using password: YES)


Sql parameters:
{'passwd': 'P@ssw0rd', 'host': '10.0.1.70', 'user': 'root', 'port': 3306}
--

***

Thanks
Tejas



RE: Unble to Add Second XenServer to a Cluster

2014-08-18 Thread Venkata Suneel Babu Mallela
Hi Vadim,

Thank you for information.

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Sent: Monday, August 18, 2014 5:55 PM
To: users@cloudstack.apache.org
Subject: RE: Unble to Add Second XenServer to a Cluster

It is not a bug, it is also described in documentation. For recent version you 
may find it here:
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/xenserver.html
 Look for "Adding More Hosts to the Cluster" chapter.

And here:
http://cloudstack-installation.readthedocs.org/en/latest/configuration.html#adding-a-host-xenserver-kvm

BR,

Vadim.

-Original Message-----
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Monday, August 18, 2014 3:19 PM
To: users@cloudstack.apache.org
Subject: RE: Unble to Add Second XenServer to a Cluster

Hi Suresh,

Thank you for your reply, Is it recommended? Because, for first cluster this is 
not happened. Is it a Bug?

Thank you,
Suneel Mallela.

-Original Message-
From: Suresh Sadhu [mailto:suresh.sa...@citrix.com] 
Sent: Monday, August 18, 2014 5:25 PM
To: users@cloudstack.apache.org
Subject: RE: Unble to Add Second XenServer to a Cluster

Before adding the additional host in cs, You have to add the host in existing 
xen pool .

Regards
sadhu

-Original Message-----
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: 18 August 2014 17:16
To: users@cloudstack.apache.org
Subject: Unble to Add Second XenServer to a Cluster

Hi All,

Recently I've upgraded ACS from 4.3.0 to 4.4.0 on CentOS 6.2. Successfully 
launched Advanced Zone with two XenServers (6.2 SP1) in one cluster.
Then created second cluster and added one XenServer (6.2 SP1) with separate NFS 
primary storage. When I tried to add the second node to second cluster it gives 
"Unable to add the host".
Can anyone please suggest why this is happening and how to fix it?
The log file is below,


2014-08-18 15:42:58,476 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-c5ca649a) 
===START===  10.0.1.100 -- POST  
command=addHost&response=json&sessionkey=T6UD6I3eZgkq93LhGHZE%2FTM7cyQ%3D
2014-08-18 15:42:58,486 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Received unknown parameters for 
command addHost. Unknown parameters : clustertype
2014-08-18 15:42:58,491 INFO  [c.c.r.ResourceManagerImpl] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Trying to add a new host at 
http://10.0.0.135 in data center 1
2014-08-18 15:42:58,570 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) host 10.0.0.135 does have 
996dd2e7-ad95-49cc-a0be-2c9adc4dfb0b Hotfix.
2014-08-18 15:42:58,573 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Please join the host 10.0.0.135 to 
XS pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
2014-08-18 15:42:58,574 INFO  [c.c.u.e.CSExceptionErrorCode] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Could not find exception: 
com.cloud.exception.DiscoveryException in error code list for exceptions
2014-08-18 15:42:58,574 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) other exceptions: 
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS 
pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS 
pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
at 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:245)
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:735)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy147.discove

RE: Unble to Add Second XenServer to a Cluster

2014-08-18 Thread Venkata Suneel Babu Mallela
Hi GopalaKrishnan,

Thank your reply,

I did find the script at 
"/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/cloud-setup-bonding.sh"

Now I'm able to add the host.

Thank you,
Suneel Mallela.

-Original Message-
From: GopalaKrishnan [mailto:go...@assistanz.com] 
Sent: Monday, August 18, 2014 5:46 PM
To: users@cloudstack.apache.org
Subject: Re: Unble to Add Second XenServer to a Cluster

Hi Sadhu,

With all hosts added to the XenServer pool, run the cloud-setup-bond script. 
This script will complete the configuration and setup of the bonds on the new 
hosts in the cluster.
Copy the script from the Management Server in 
/usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver/cloud-setup-bonding.sh
to the master xen host server and ensure it is executable.

Run the script:
# ./cloud-setup-bonding.sh

After that try to add host.

Thank You.
GopalaKrishnan.S
Cloud Architect at FogPanel.


- Original Message -
From: "Suresh Sadhu" 
To: 
Sent: Monday, August 18, 2014 5:24 PM
Subject: RE: Unble to Add Second XenServer to a Cluster


Before adding the additional host in cs, You have to add the host in 
existing xen pool .

Regards
sadhu

-Original Message-----
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com]
Sent: 18 August 2014 17:16
To: users@cloudstack.apache.org
Subject: Unble to Add Second XenServer to a Cluster

Hi All,

Recently I've upgraded ACS from 4.3.0 to 4.4.0 on CentOS 6.2. Successfully 
launched Advanced Zone with two XenServers (6.2 SP1) in one cluster.
Then created second cluster and added one XenServer (6.2 SP1) with separate 
NFS primary storage. When I tried to add the second node to second cluster 
it gives "Unable to add the host".
Can anyone please suggest why this is happening and how to fix it?
The log file is below,


2014-08-18 15:42:58,476 DEBUG [c.c.a.ApiServlet] 
(catalina-exec-2:ctx-c5ca649a) ===START===  10.0.1.100 -- POST 
command=addHost&response=json&sessionkey=T6UD6I3eZgkq93LhGHZE%2FTM7cyQ%3D
2014-08-18 15:42:58,486 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Received unknown parameters for 
command addHost. Unknown parameters : clustertype
2014-08-18 15:42:58,491 INFO  [c.c.r.ResourceManagerImpl] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Trying to add a new host at 
http://10.0.0.135 in data center 1
2014-08-18 15:42:58,570 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) host 10.0.0.135 does have 
996dd2e7-ad95-49cc-a0be-2c9adc4dfb0b Hotfix.
2014-08-18 15:42:58,573 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Please join the host 10.0.0.135 
to XS pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding 
it through CS UI
2014-08-18 15:42:58,574 INFO  [c.c.u.e.CSExceptionErrorCode] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Could not find exception: 
com.cloud.exception.DiscoveryException in error code list for exceptions
2014-08-18 15:42:58,574 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) other exceptions: 
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to 
XS pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to 
XS pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
at 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:245)
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:735)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy147.discoverHosts(Unknown Source)
at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
at com.cloud.a

RE: Unble to Add Second XenServer to a Cluster

2014-08-18 Thread Venkata Suneel Babu Mallela
Hi Suresh,

Thank you for your reply, Is it recommended? Because, for first cluster this is 
not happened. Is it a Bug?

Thank you,
Suneel Mallela.

-Original Message-
From: Suresh Sadhu [mailto:suresh.sa...@citrix.com] 
Sent: Monday, August 18, 2014 5:25 PM
To: users@cloudstack.apache.org
Subject: RE: Unble to Add Second XenServer to a Cluster

Before adding the additional host in cs, You have to add the host in existing 
xen pool .

Regards
sadhu

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: 18 August 2014 17:16
To: users@cloudstack.apache.org
Subject: Unble to Add Second XenServer to a Cluster

Hi All,

Recently I've upgraded ACS from 4.3.0 to 4.4.0 on CentOS 6.2. Successfully 
launched Advanced Zone with two XenServers (6.2 SP1) in one cluster.
Then created second cluster and added one XenServer (6.2 SP1) with separate NFS 
primary storage. When I tried to add the second node to second cluster it gives 
"Unable to add the host".
Can anyone please suggest why this is happening and how to fix it?
The log file is below,


2014-08-18 15:42:58,476 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-c5ca649a) 
===START===  10.0.1.100 -- POST  
command=addHost&response=json&sessionkey=T6UD6I3eZgkq93LhGHZE%2FTM7cyQ%3D
2014-08-18 15:42:58,486 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Received unknown parameters for 
command addHost. Unknown parameters : clustertype
2014-08-18 15:42:58,491 INFO  [c.c.r.ResourceManagerImpl] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Trying to add a new host at 
http://10.0.0.135 in data center 1
2014-08-18 15:42:58,570 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) host 10.0.0.135 does have 
996dd2e7-ad95-49cc-a0be-2c9adc4dfb0b Hotfix.
2014-08-18 15:42:58,573 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Please join the host 10.0.0.135 to 
XS pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
2014-08-18 15:42:58,574 INFO  [c.c.u.e.CSExceptionErrorCode] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Could not find exception: 
com.cloud.exception.DiscoveryException in error code list for exceptions
2014-08-18 15:42:58,574 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) other exceptions: 
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS 
pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS 
pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
at 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:245)
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:735)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy147.discoverHosts(Unknown Source)
at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedCont

Unble to Add Second XenServer to a Cluster

2014-08-18 Thread Venkata Suneel Babu Mallela
Hi All,

Recently I've upgraded ACS from 4.3.0 to 4.4.0 on CentOS 6.2. Successfully 
launched Advanced Zone with two XenServers (6.2 SP1) in one cluster.
Then created second cluster and added one XenServer (6.2 SP1) with separate NFS 
primary storage. When I tried to add the second node to second cluster it gives 
"Unable to add the host".
Can anyone please suggest why this is happening and how to fix it?
The log file is below,


2014-08-18 15:42:58,476 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-c5ca649a) 
===START===  10.0.1.100 -- POST  
command=addHost&response=json&sessionkey=T6UD6I3eZgkq93LhGHZE%2FTM7cyQ%3D
2014-08-18 15:42:58,486 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Received unknown parameters for 
command addHost. Unknown parameters : clustertype
2014-08-18 15:42:58,491 INFO  [c.c.r.ResourceManagerImpl] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Trying to add a new host at 
http://10.0.0.135 in data center 1
2014-08-18 15:42:58,570 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) host 10.0.0.135 does have 
996dd2e7-ad95-49cc-a0be-2c9adc4dfb0b Hotfix.
2014-08-18 15:42:58,573 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Please join the host 10.0.0.135 to 
XS pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
2014-08-18 15:42:58,574 INFO  [c.c.u.e.CSExceptionErrorCode] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) Could not find exception: 
com.cloud.exception.DiscoveryException in error code list for exceptions
2014-08-18 15:42:58,574 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-c5ca649a ctx-d087511c) other exceptions: 
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS 
pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS 
pool  e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it 
through CS UI
at 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:245)
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:735)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy147.discoverHosts(Unknown Source)
at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

RE: Failed to create Template from all child Snapshots

2014-07-10 Thread Venkata Suneel Babu Mallela
I've checked the ".vhd" and "template.proprties" files on first CloudStack 
setup(Healthy one).

In second CloudStack setup (Unhealthy one) ".vhd" and "template.properties" 
files are not creating while template creation. I'm able to create volumes from 
child snapshots.

The problem only with template creation from child snapshot.

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Thursday, July 10, 2014 12:20 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

You can compare on your two setups whether template.properties files which its 
trying to find and failing to get in case of child snapshot, is available in 
secondary storage at specified location for child snapshots .


 

-----Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Thursday, July 10, 2014 12:03 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Please help me, how to solve this?

Thank you,
Suneel Mallela

-----Original Message-
From: Venkata Suneel Babu Mallela 
Sent: Tuesday, July 8, 2014 6:17 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Thanks for your reply, 

This is happening only for one CloudStack setup. I checked with other 
CloudStack setup, it's working fine.

I compared the following things for both setups,

Cloud database tables   -   cloud.volumes, cloud.snapshots and 
cloud.snapshots
Secondary Storage   -   from SSVM checked the physical vhd files using 
vhd-utils

Please suggest if anything I missed, I'm using ACS 4.2.0 and XenServer 6.0.2, 
6.2.0

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Tuesday, July 8, 2014 5:50 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

This seems like a bug . Please go ahead and file a jira ticket for the same  .


Thanks
Shweta

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Tuesday, July 08, 2014 5:13 PM
To: users@cloudstack.apache.org
Subject: Failed to create Template from all child Snapshots

Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

" Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) "

Please help me how to resolve this.

Thank you,
Suneel Mallela


RE: Assign Static IP to a guest VM

2014-07-10 Thread Venkata Suneel Babu Mallela
Thank you very much.

-Original Message-
From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com] 
Sent: Thursday, July 10, 2014 12:08 PM
To: 
Subject: Re: Assign Static IP to a guest VM

Hi Suneel,

While deploying VM you can specify the ip address for the VM in API.
If the vm is already deployed then you can acquire secondary ip to the nic and 
configure the ip in the VM using ip addr command.

Thanks,
Jayapal


On 10-Jul-2014, at 12:00 PM, Venkata Suneel Babu Mallela 

 wrote:

> Hi All,
> 
> How can I assign my own static IP address to a guest VM from CloudStack UI 
> when DHCP is enabled in the Virtual Router?
> 
> Thank you,
> Suneel Mallela
> 



RE: Failed to create Template from all child Snapshots

2014-07-09 Thread Venkata Suneel Babu Mallela
Please help me, how to solve this?

Thank you,
Suneel Mallela

-Original Message-
From: Venkata Suneel Babu Mallela 
Sent: Tuesday, July 8, 2014 6:17 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Thanks for your reply, 

This is happening only for one CloudStack setup. I checked with other 
CloudStack setup, it's working fine.

I compared the following things for both setups,

Cloud database tables   -   cloud.volumes, cloud.snapshots and 
cloud.snapshots
Secondary Storage   -   from SSVM checked the physical vhd files using 
vhd-utils

Please suggest if anything I missed, I'm using ACS 4.2.0 and XenServer 6.0.2, 
6.2.0

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Tuesday, July 8, 2014 5:50 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

This seems like a bug . Please go ahead and file a jira ticket for the same  .


Thanks
Shweta

-Original Message-----
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Tuesday, July 08, 2014 5:13 PM
To: users@cloudstack.apache.org
Subject: Failed to create Template from all child Snapshots

Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

" Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) "

Please help me how to resolve this.

Thank you,
Suneel Mallela


Assign Static IP to a guest VM

2014-07-09 Thread Venkata Suneel Babu Mallela
Hi All,

How can I assign my own static IP address to a guest VM from CloudStack UI when 
DHCP is enabled in the Virtual Router?

Thank you,
Suneel Mallela



RE: Failed to create Template from all child Snapshots

2014-07-08 Thread Venkata Suneel Babu Mallela
Thanks for your reply, 

This is happening only for one CloudStack setup. I checked with other 
CloudStack setup, it's working fine.

I'm using ACS 4.2.0 and XenServer 6.0.2, 6.2.0.

I compared the following things for both setups,

Cloud database tables   -   cloud.volumes, cloud.snapshots and 
cloud.snapshots
Secondary Storage   -   from SSVM checked the physical vhd files using 
vhd-utils

Please suggest if anything I missed, I'm using ACS 4.2.0 and XenServer 6.0.2, 
6.2.0

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Tuesday, July 8, 2014 5:50 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

This seems like a bug . Please go ahead and file a jira ticket for the same  .


Thanks
Shweta

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Tuesday, July 08, 2014 5:13 PM
To: users@cloudstack.apache.org
Subject: Failed to create Template from all child Snapshots

Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

" Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) "

Please help me how to resolve this.

Thank you,
Suneel Mallela


RE: Failed to create Template from all child Snapshots

2014-07-08 Thread Venkata Suneel Babu Mallela
Thanks for your reply, 

This is happening only for one CloudStack setup. I checked with other 
CloudStack setup, it's working fine.

I'm using ACS 4.2.0 and XenServer 6.0.2, 6.2.0.

I compared the following things for both setups,

Cloud database tables   -   cloud.volumes, cloud.snapshots and 
cloud.snapshots



Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Tuesday, July 8, 2014 5:50 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

This seems like a bug . Please go ahead and file a jira ticket for the same  .


Thanks
Shweta

-Original Message-----
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Tuesday, July 08, 2014 5:13 PM
To: users@cloudstack.apache.org
Subject: Failed to create Template from all child Snapshots

Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

" Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) "

Please help me how to resolve this.

Thank you,
Suneel Mallela


Failed to create Template from all child Snapshots

2014-07-08 Thread Venkata Suneel Babu Mallela
Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

" Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) "

Please help me how to resolve this.

Thank you,
Suneel Mallela


select VPN Customer Gateway error

2014-07-04 Thread Venkata Suneel Babu Mallela
Hi all,

I went through the following steps,

Login to the CloudStack UI with root admin account --> clicked on Network tab 
--> I've selected 'VPN Customer Gateway' from Select view dropdown box,

Then I got the following error. Can you please conform why this error is coming 
and how can resolve this problem.

"Caught: com.mysql.jdbc.JDBC4PreparedStatement@12546083: SELECT 
s2s_customer_gateway.id, s2s_customer_gateway.uuid, s2s_customer_gateway.name, 
s2s_customer_gateway.gateway_ip, s2s_customer_gateway.guest_cidr_list, 
s2s_customer_gateway.ipsec_psk, s2s_customer_gateway.ike_policy, 
s2s_customer_gateway.esp_policy, s2s_customer_gateway.ike_lifetime, 
s2s_customer_gateway.esp_lifetime, s2s_customer_gateway.dpd, 
s2s_customer_gateway.domain_id, s2s_customer_gateway.account_id, 
s2s_customer_gateway.removed FROM s2s_customer_gateway INNER JOIN account ON 
s2s_customer_gateway.account_id=account.id WHERE s2s_customer_gateway.removed 
IS NULL AND (account.type != 5 ) ORDER BY s2s_customer_gateway.id DESC LIMIT 0, 
20"

Recently I've upgraded ACS 4.2.0 to ACS 4.3. Using 6.2 XenServers.

Thank you,
Suneel Mallela


RE: CloudStack Volume Life Cycle

2014-06-17 Thread Venkata Suneel Babu Mallela
Hi Len,

Thank you very much for your instructions.


-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com] 
Sent: Tuesday, June 17, 2014 2:39 PM
To: users@cloudstack.apache.org
Subject: RE: CloudStack Volume Life Cycle

Hi Suneel,

I've had this where I restarted the management servers while the volumes or vms 
were expunging.
Bear in mind that the volumes might still actually be expunging and can take a 
bit of time to finally disappear.

If you're absolutely sure that the volumes are stuck in that state, you can 
edit the database to force CS into  thinking the volumes have been deleted.

First back up the cloud database:
 mysqldump -u root -p cloud >/tmp/cloud_dbdump.sql

Log into mysql:
mysql -u root -p

use the Cloud database:
use cloud;

Verify which volumes are in the incorrect state:
select id, name, instance_id, uuid, folder from volumes where removed is null 
and state='Expunged'\G update volumes set removed=now() where id= 
;

This will remove the volume from the UI, the sytem will believe that the volume 
has been removed, but you must still manually remove the volume from the NFS 
share if need be.

-Original Message-----
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com]
Sent: 17 June 2014 10:01
To: users@cloudstack.apache.org
Subject: CloudStack Volume Life Cycle

Hi All,

I tried to delete a volume from CloudStack UI, but it is struck at "Expunging" 
state. Manually I've changed volume state from "Expunging" to "Destroy" in 
cloud.volumes table. After 60 seconds the state becomes "Expunging". I tried 
lot of times but still the state is at "Expunging". Is there any recommended 
way to remove the volumes from CloudStack UI and Physically.

Thank you,
Suneel Mallela


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


CloudStack Volume Life Cycle

2014-06-17 Thread Venkata Suneel Babu Mallela
Hi All,

I tried to delete a volume from CloudStack UI, but it is struck at "Expunging" 
state. Manually I've changed volume state from "Expunging" to "Destroy" in 
cloud.volumes table. After 60 seconds the state becomes "Expunging". I tried 
lot of times but still the state is at "Expunging". Is there any recommended 
way to remove the volumes from CloudStack UI and Physically.

Thank you,
Suneel Mallela


Unable to restore Volume Snapshots

2014-06-17 Thread Venkata Suneel Babu Mallela
Hi All,

I've scheduled daily, weekly and monthly volume snapshots. All are looking 
"BackedUP", some pieces were Struck at "CreatingOnPrimary" those are 
automatically destroyed when the number of snapshots reached maximum. Now I'm 
trying to restore one particular volume, It is taking nearly 4 to 5 Hours, then 
finally failed. I'm able to create volume from some snapshots, but those are 
blank.

What could be the problem, can anyone explain why this is happening.

Thank you,
Suneel Mallela


RE: Unable to create a Template from ROOT Volume Snapshot

2014-06-13 Thread Venkata Suneel Babu Mallela
Hi all,

I found that, CloudStack is not able to generate "template.properties" file.
How can we fix it?

Thank you,
Suneel.

-Original Message-----
From: Venkata Suneel Babu Mallela 
Sent: Friday, June 13, 2014 12:41 PM
To: users@cloudstack.apache.org
Subject: Unable to create a Template from ROOT Volume Snapshot

Hi All,



I tried to create a template from a ROOT volume snapshot and I got the 
following error



"Failed to create templatejava.io.FileNotFoundException: 
/mnt/SecStorage/*/template/tmpl/*/*/template.properties (No such file or 
directory)".



I'm using CloudStack 4.2.0 and XenServer 6.0.2.



Please help me to resolve this problem.



Thank you,

Suneel Mallela



Unable to create a Template from ROOT Volume Snapshot

2014-06-13 Thread Venkata Suneel Babu Mallela
Hi All,



I tried to create a template from a ROOT volume snapshot and I got the 
following error



"Failed to create templatejava.io.FileNotFoundException: 
/mnt/SecStorage/*/template/tmpl/*/*/template.properties (No such file or 
directory)".



I'm using CloudStack 4.2.0 and XenServer 6.0.2.



Please help me to resolve this problem.



Thank you,

Suneel Mallela



RE: Unable to create a Template from ROOT Volume Snapshot

2014-06-12 Thread Venkata Suneel Babu Mallela
I'm using Apache CloudStack 4.2.0 and XenServer 6.0.2.

Thank you,
Suneel Mallela

From: Venkata Suneel Babu Mallela
Sent: Friday, June 13, 2014 11:31 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Unable to create a Template from ROOT Volume Snapshot

Hi All,

I tried to create a template from a ROOT volume snapshot and I got the 
following error

"Failed to create templatejava.io.FileNotFoundException: 
/mnt/SecStorage/*/template/tmpl/*/*/template.properties (No such file or 
directory)"

Please help me to resolve this problem.

Thank you,
Suneel Mallela



Unable to create a Template from ROOT Volume Snapshot

2014-06-12 Thread Venkata Suneel Babu Mallela
Hi All,

I tried to create a template from a ROOT volume snapshot and I got the 
following error

"Failed to create templatejava.io.FileNotFoundException: 
/mnt/SecStorage/*/template/tmpl/*/*/template.properties (No such file or 
directory)"

Please help me to resolve this problem.

Thank you,
Suneel Mallela



Volume State Struck at Expunging

2014-06-11 Thread Venkata Suneel Babu Mallela
Hi all,

I'm trying to delete a volume from CloudStack UI. The Volume state struck at 
"Expunging".

I changed the Volume State from "Expunging" to "Destroy" in "cloud.volumes" 
table of cloud database.

Within a minute the volume state becomes "Expunging".

I tried lot of times, but still the state is at "Expunging".

How can I remove the Volume?

Thank you,
Suneel Mallela



RE: Update Hypervisor patches from cloudstack prospective

2014-06-08 Thread Venkata Suneel Babu Mallela
Hi Daan,

Suppose there are two XenServers in one cluster. I want to update individual 
Server. I've enabled maintenance mode for one XenServer and applied all the 
patches manually. Then, if I disabled the maintenance mode what happened, the 
two XenServers are having two different level of Patches. Is it allow the 
clustering?

Actual question is, 
Does CloudStack has the feature to update the underlying hypervisors or 
do we need to perform updates and patch at the hypervisor level.

Thank you
Suneel Mallela

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
Sent: Saturday, June 7, 2014 1:42 PM
To: users@cloudstack.apache.org
Cc: Prakash Rao Banuka
Subject: Re: Update Hypervisor patches from cloudstack prospective

put the host in maintenance mode. and wait till all vm are migrated away from 
it.

On Sat, Jun 7, 2014 at 6:19 AM, Venkata Suneel Babu Mallela 
 wrote:
> Hi all,
>
> Is there any provision to apply patches for a hypervisor from cloudstack 
> prospective?
>
> Thnak you,
> Suneel Mallela
> Sent from my Sony Xperia™ smartphone



--
Daan


Update Hypervisor patches from cloudstack prospective

2014-06-06 Thread Venkata Suneel Babu Mallela
Hi all,

Is there any provision to apply patches for a hypervisor from cloudstack 
prospective?

Thnak you,
Suneel Mallela
Sent from my Sony Xperia™ smartphone

RE: How to delete iso

2014-05-16 Thread Venkata Suneel Babu Mallela
Hi sandeep,

Can you post the error and log file?

Thank you,
Suneel Mallela.

Sent from my Sony Xperia™ smartphone

sandeep khandekar  wrote:


Dear All,

I want to delete one of my iso in which I have wrongly specified the path.
If I delete from User Interface it throws an error, If I remove the row
from my database, will the iso get deleted or do I need to do anything
more. like shutdown, management server then delete etc. I dont want to
distrub any other configurations.

Thank you
--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad


Re: When I reboot my system my ssvm stops

2014-05-15 Thread Venkata Suneel Babu Mallela
Hi sandeep,

Are primary storage and secondary storage configured correctly?

If yes, then

Change the system VM state from starting to stop in cloud DataBase.

Note:Before do any modifications in DataBase please take a backup of DataBase.

Can you provide the log file to find out the exact cause.

Thank you,
Suneel Malella.

Sent from my Sony Xperia™ smartphone

Ahmad Emneina  wrote:


cloudstack should give you a link local address in the UI. as soon as the
SSVM comes up, you'll want to stop the cloudstack service so it doesnt
power off the SSVM during your troubleshooting.


On Sun, May 4, 2014 at 10:02 PM, sandeep khandekar <
cloudstack.sand...@gmail.com> wrote:

> Dear Ahmad ,
> When SSVM keeps on creating new ssvms, How to figure out LinkLocal IP?
> Thankyou
>
>
> On Sun, May 4, 2014 at 1:06 PM, Ahmad Emneina  wrote:
>
>> you might find the following helpful, if not ping back:
>>
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting
>>
>>
>> On Sun, May 4, 2014 at 12:08 AM, sandeep khandekar <
>> cloudstack.sand...@gmail.com> wrote:
>>
>> > Dear All,
>> >
>> > I have rebooted my system and I see that my ssvm is not comming up, it
>> > keeps on creating, new ssvm 1,2,3,4,5,6 - - - - 100 - - . How to solve
>> > these problem?
>> >
>> > I have created primary storage and secondary storage on a single hard
>> disk,
>> > and I have only two partitions on my os,
>> > 1. /
>> > 2. swap
>> >
>> > What is the problem can any one tell me?
>> >
>> > Thankyou.
>> >
>> > --
>> > SANDEEP KHANDEKAR
>> > Assistant Professor
>> > Department of Computer science and engineering
>> > Sreenidhi Institute of science and Technology
>> > Hyderabad
>> >
>>
>
>
>
> --
> SANDEEP KHANDEKAR
> Assistant Professor
> Department of Computer science and engineering
> Sreenidhi Institute of science and Technology
> Hyderabad
>