Re: Recurring snapshot taking full every time

2015-09-17 Thread raja sekhar
Hi Abhinandan,

I have force reconnect the hosts but no use and i didn't find any error in
SMlog. please suggest me the error is still
generating.

Regards,
Rajasekhar.

On Wed, Sep 16, 2015 at 8:58 AM, Abhinandan Prateek <
abhinandan.prat...@shapeblue.com> wrote:

> Can you check in the SMlog on the concerned host if you see any error when
> the plugin is being invoked ?
>
> > On 14-Sep-2015, at 5:01 pm, raja sekhar  wrote:
> >
> > Hi abhinandan,
> >
> > Thanks for your reply.
> > We are facing the issue only for root volumes in that host. The snapshot
> > recurring policy for data disks in same host is working fine.
> > if the host configuration is not properly instrumented the policy for
> data
> > disks also fails, but it is working fine.
> > please suggest us.
> >
> > Note: The manual snapshots for root disk is working fine,and it is taking
> > child when second manual is configured , problem only with root daily
> > snapshots every day it is taking full instead of taking child snapshots
> > throwing error "*Failed to get parent snapshot**, due to There was a
> > failure communicating with the plugin*".
> >
> > Regards,
> > rajasekhar.
> >
> > On Mon, Sep 14, 2015 at 4:00 PM, Abhinandan Prateek <
> > abhinandan.prat...@shapeblue.com> wrote:
> >
> >> Looks like the host is not instrumented properly and management server
> is
> >> unable to invoke plugin on the host.
> >> Can you force-reconnect the host that is throwing this error ? That
> should
> >> recopy the plugins on to the host.
> >>
> >>> On 14-Sep-2015, at 3:15 pm, raja sekhar 
> wrote:
> >>>
> >>> Hi All,
> >>>
> >>> I am using CS 4.3.1 and xenserver 6.2
> >>> I have configured daily recurring snapshot policy for all the root
> >> volumes.
> >>> but recent three days onwards it is taking full snapshots and not
> taking
> >>> any child snapshots.
> >>> I have configured snapshot.delta.max to 16.
> >>> please help me my secondary storage is becoming full.
> >>>
> >>> The log file details shows:
> >>>
> >>> 2015-09-14 01:03:29,973 DEBUG [c.c.a.m.DirectAgentAttache]
> >>> (DirectAgent-24:ctx-d68622c5) Seq 4-482873005: Response Received:
> >>> 2015-09-14 01:03:29,973 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
> >>> (DirectAgent-24:ctx-d68622c5) Seq 4-482873005: MgmtId 195780927071877:
> >>> Resp: Routing to peer
> >>> 2015-09-14 01:03:32,233 DEBUG [c.c.c.ConsoleProxyManagerImpl]
> >>> (consoleproxy-1:ctx-b1db30de) Zone 1 is ready to launch console proxy
> >>> 2015-09-14 01:03:32,334 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> >>> (secstorage-1:ctx-e024d41b) Zone 1 is ready to launch secondary storage
> >> VM
> >>> 2015-09-14 01:03:33,934 WARN  [c.c.u.n.Link]
> (AgentManager-Selector:null)
> >>> SSL: Fail to find the generated keystore. Loading fail-safe one to
> >> continue.
> >>> 2015-09-14 01:03:34,044 DEBUG [c.c.a.t.Request]
> >>> (AgentManager-Handler-10:null) Seq 1-457572529: Executing:  { Cmd ,
> >> MgmtId:
> >>> 108371418365724, via: 1, Ver: v1, Flags: 100011,
> >>>
> >>
> [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"bcf7653a-33db-461a-9355-e5d518012679","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"165fb777-4225-326a-bc48-f5b465f9486b","id":1,"poolType":"NetworkFilesystem","host":"172.30.36.51","path":"/vS02304090GCSP_NAS05","port":2049,"url":"NetworkFilesystem://
> >>>
> >>
> 172.30.36.51//vS02304090GCSP_NAS05/?ROLE=Primary&STOREUUID=165fb777-4225-326a-bc48-f5b465f9486b
> >>>
> >>
> "}},"name":"ROOT-189","size":85899345920,"path":"9deefbf6-86e6-4359-acb3-99e1aebcb359","volumeId":696,"vmName":"i-11-189-VM","accountId":11,"format":"VHD","id":696,"deviceId":0,"hypervisorType":"XenServer"},"parentSnapshotPath":"3a6e9e1a-fd95-4530-ae67-03a368b3e2fd","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"u

Re: Recurring snapshot taking full every time

2015-09-14 Thread raja sekhar
Hi abhinandan,

Thanks for your reply.
We are facing the issue only for root volumes in that host. The snapshot
recurring policy for data disks in same host is working fine.
if the host configuration is not properly instrumented the policy for data
disks also fails, but it is working fine.
please suggest us.

Note: The manual snapshots for root disk is working fine,and it is taking
child when second manual is configured , problem only with root daily
snapshots every day it is taking full instead of taking child snapshots
throwing error "*Failed to get parent snapshot**, due to There was a
failure communicating with the plugin*".

Regards,
rajasekhar.

On Mon, Sep 14, 2015 at 4:00 PM, Abhinandan Prateek <
abhinandan.prat...@shapeblue.com> wrote:

> Looks like the host is not instrumented properly and management server is
> unable to invoke plugin on the host.
> Can you force-reconnect the host that is throwing this error ? That should
> recopy the plugins on to the host.
>
> > On 14-Sep-2015, at 3:15 pm, raja sekhar  wrote:
> >
> > Hi All,
> >
> > I am using CS 4.3.1 and xenserver 6.2
> > I have configured daily recurring snapshot policy for all the root
> volumes.
> > but recent three days onwards it is taking full snapshots and not taking
> > any child snapshots.
> > I have configured snapshot.delta.max to 16.
> > please help me my secondary storage is becoming full.
> >
> > The log file details shows:
> >
> > 2015-09-14 01:03:29,973 DEBUG [c.c.a.m.DirectAgentAttache]
> > (DirectAgent-24:ctx-d68622c5) Seq 4-482873005: Response Received:
> > 2015-09-14 01:03:29,973 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
> > (DirectAgent-24:ctx-d68622c5) Seq 4-482873005: MgmtId 195780927071877:
> > Resp: Routing to peer
> > 2015-09-14 01:03:32,233 DEBUG [c.c.c.ConsoleProxyManagerImpl]
> > (consoleproxy-1:ctx-b1db30de) Zone 1 is ready to launch console proxy
> > 2015-09-14 01:03:32,334 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> > (secstorage-1:ctx-e024d41b) Zone 1 is ready to launch secondary storage
> VM
> > 2015-09-14 01:03:33,934 WARN  [c.c.u.n.Link] (AgentManager-Selector:null)
> > SSL: Fail to find the generated keystore. Loading fail-safe one to
> continue.
> > 2015-09-14 01:03:34,044 DEBUG [c.c.a.t.Request]
> > (AgentManager-Handler-10:null) Seq 1-457572529: Executing:  { Cmd ,
> MgmtId:
> > 108371418365724, via: 1, Ver: v1, Flags: 100011,
> >
> [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"bcf7653a-33db-461a-9355-e5d518012679","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"165fb777-4225-326a-bc48-f5b465f9486b","id":1,"poolType":"NetworkFilesystem","host":"172.30.36.51","path":"/vS02304090GCSP_NAS05","port":2049,"url":"NetworkFilesystem://
> >
> 172.30.36.51//vS02304090GCSP_NAS05/?ROLE=Primary&STOREUUID=165fb777-4225-326a-bc48-f5b465f9486b
> >
> "}},"name":"ROOT-189","size":85899345920,"path":"9deefbf6-86e6-4359-acb3-99e1aebcb359","volumeId":696,"vmName":"i-11-189-VM","accountId":11,"format":"VHD","id":696,"deviceId":0,"hypervisorType":"XenServer"},"parentSnapshotPath":"3a6e9e1a-fd95-4530-ae67-03a368b3e2fd","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"165fb777-4225-326a-bc48-f5b465f9486b","id":1,"poolType":"NetworkFilesystem","host":"172.30.36.51","path":"/vS02304090GCSP_NAS05","port":2049,"url":"NetworkFilesystem://
> >
> 172.30.36.51//vS02304090GCSP_NAS05/?ROLE=Primary&STOREUUID=165fb777-4225-326a-bc48-f5b465f9486b
> "}},"vmName":"i-11-189-VM","name":"SAGXD02_ROOT-189_20150914090333","hypervisorType":"XenServer","id":6732,"quiescevm":false,"parents":["3a6e9e1a-fd95-4530-ae67-03a368b3e2fd"],"physicalSize":0}},"wait":0}}]
> > }
> > 2015-09-14 01:03:34,045 DEBUG [c.c.a.m.DirectAgentAttache]
> > (DirectAgent-333:ctx-c3e7c331) Seq 1-457572529: Executing request
> > 2015-09-14 01:03:35,421 WARN  [c.c.h.x.r.CitrixResourceBase]
> > (DirectAgent-333:ctx-c3e7c331) callHostPlugin failed for cmd:
> 

Recurring snapshot taking full every time

2015-09-14 Thread raja sekhar
Hi All,

I am using CS 4.3.1 and xenserver 6.2
I have configured daily recurring snapshot policy for all the root volumes.
but recent three days onwards it is taking full snapshots and not taking
any child snapshots.
I have configured snapshot.delta.max to 16.
please help me my secondary storage is becoming full.

The log file details shows:

2015-09-14 01:03:29,973 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-24:ctx-d68622c5) Seq 4-482873005: Response Received:
2015-09-14 01:03:29,973 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(DirectAgent-24:ctx-d68622c5) Seq 4-482873005: MgmtId 195780927071877:
Resp: Routing to peer
2015-09-14 01:03:32,233 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-b1db30de) Zone 1 is ready to launch console proxy
2015-09-14 01:03:32,334 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-e024d41b) Zone 1 is ready to launch secondary storage VM
2015-09-14 01:03:33,934 WARN  [c.c.u.n.Link] (AgentManager-Selector:null)
SSL: Fail to find the generated keystore. Loading fail-safe one to continue.
2015-09-14 01:03:34,044 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-10:null) Seq 1-457572529: Executing:  { Cmd , MgmtId:
108371418365724, via: 1, Ver: v1, Flags: 100011,
[{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"bcf7653a-33db-461a-9355-e5d518012679","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"165fb777-4225-326a-bc48-f5b465f9486b","id":1,"poolType":"NetworkFilesystem","host":"172.30.36.51","path":"/vS02304090GCSP_NAS05","port":2049,"url":"NetworkFilesystem://
172.30.36.51//vS02304090GCSP_NAS05/?ROLE=Primary&STOREUUID=165fb777-4225-326a-bc48-f5b465f9486b
"}},"name":"ROOT-189","size":85899345920,"path":"9deefbf6-86e6-4359-acb3-99e1aebcb359","volumeId":696,"vmName":"i-11-189-VM","accountId":11,"format":"VHD","id":696,"deviceId":0,"hypervisorType":"XenServer"},"parentSnapshotPath":"3a6e9e1a-fd95-4530-ae67-03a368b3e2fd","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"165fb777-4225-326a-bc48-f5b465f9486b","id":1,"poolType":"NetworkFilesystem","host":"172.30.36.51","path":"/vS02304090GCSP_NAS05","port":2049,"url":"NetworkFilesystem://
172.30.36.51//vS02304090GCSP_NAS05/?ROLE=Primary&STOREUUID=165fb777-4225-326a-bc48-f5b465f9486b"}},"vmName":"i-11-189-VM","name":"SAGXD02_ROOT-189_20150914090333","hypervisorType":"XenServer","id":6732,"quiescevm":false,"parents":["3a6e9e1a-fd95-4530-ae67-03a368b3e2fd"],"physicalSize":0}},"wait":0}}]
}
2015-09-14 01:03:34,045 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-333:ctx-c3e7c331) Seq 1-457572529: Executing request
2015-09-14 01:03:35,421 WARN  [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-333:ctx-c3e7c331) callHostPlugin failed for cmd: getVhdParent
with args snapshotUuid: 3a6e9e1a-fd95-4530-ae67-03a368b3e2fd, isISCSI:
false, primaryStorageSRUuid: a6a7f65a-a1d2-83e3-d3b0-f38792863fb6,  due to
There was a failure communicating with the plugin.
2015-09-14 01:03:35,421 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-333:ctx-c3e7c331) Failed to get parent snapshot
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
cmd: getVhdParent with args snapshotUuid:
3a6e9e1a-fd95-4530-ae67-03a368b3e2fd, isISCSI: false, primaryStorageSRUuid:
a6a7f65a-a1d2-83e3-d3b0-f38792863fb6,  due to There was a failure
communicating with the plugin.
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:4239)
at
com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.getVhdParent(XenServerStorageProcessor.java:879)
at
com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.createSnapshot(XenServerStorageProcessor.java:478)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:107)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:52)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
 at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
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
org.apache.clouds

Usage Sanity Check failed alert type 23

2015-09-04 Thread raja sekhar
Hi all,

Iam getting the below error in cloudstack dashboard.

Usage Sanity Check failed alert type 23

and in usage records same error is found and the records are not generating
after that.
Please help me i am using cloudstack 4.3.1 and xenserver 6.2

2015-09-05 04:49:37,539 WARN  [apache.cloudstack.alerts]
(Usage-Sanity-1:null)  alertType:: 23 // dataCenterId:: 0 // podId:: 0 //
clusterId:: null // message:: Usage Sanity Check failed
2015-09-05 04:49:37,575 DEBUG [cloud.usage.UsageAlertManagerImpl]
(Usage-Sanity-1:null) Have already sent: 1 emails for alert type '23' --
skipping send email

Regards,
Rajasekhar.


Usage Records are still generating even VM removed.

2015-08-17 Thread raja sekhar
Hi All,

The usage records are still generating even if the vm is removed from
cloudstack.
The actual scenario is:
The xenserver host went to alert state and the vms in it are not accessible.
we have removed the vms from backend by updating vm_instance,volume table.
can any one help me what is the exact table to update?
i am using cloudstack 4.2

waiting for your valuable suggestions.


regards,
rajasekhar.


Re: ACS 4.5.1 mgmt DB HA - not working - invalid load balancing strategy

2015-06-26 Thread raja sekhar
Andrija,

file is missing in that path.

Follow the steps to enable the database high availability in cloudstack.

1)   Go to the path:

*“/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/”*

Find the *“cloud-plugin-database-mysqlha-4.3.1.jar”  *file.

2)   Create the path:

*“/usr/share/cloudstack-mysql-ha/lib/”*

Copy the above file to this path.

3)   Edit the file *“/etc/cloudstack/management/catalina.properties”*

check the *“common.loader” *line looks like:

*“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”*

4)   Edit the file *“/etc/cloudstack/management/db.properties”*

*db.ha.enabled=true*

*db.cloud.slaves=*

*db.usage.slaves=*

5)   Restart the management server.

*“Service cloudstack-management restart”*



*Regards,*

*Rajasekhar.*

On Thu, Jun 11, 2015 at 8:52 PM, Andrija Panic 
wrote:

> HI Marcus, yes I'm familiar with that, that was my guess, based on some
> other ML thread :(
>
> Thx for confirmation...
>
> On 11 June 2015 at 17:03, Marcus  wrote:
>
> > When I build CloudStack RPMs on 4.5 branch I get mysql ha RPMs. Looking
> at
> > the specfile:
> >
> > %if "%{_ossnoss}" == "noredist"
> >
> > %package mysql-ha
> >
> > Summary: Apache CloudStack Balancing Strategy for MySQL
> >
> > Requires: mysql-connector-java
> >
> > Requires: %{_tomcatversion}
> >
> > Group: System Environmnet/Libraries
> >
> > %description mysql-ha
> >
> > Apache CloudStack Balancing Strategy for MySQL
> >
> >
> > %endif
> >
> >
> > Looks like you need to "./package.sh -p noredist" when packaging. Not
> sure
> > what the equivalent is for .deb packaging.  That means you also have to
> be
> > set up with the non-oss dependencies. If you're not familiar with that
> let
> > us know.
> >
> > On Thu, Jun 11, 2015 at 7:06 AM, Andrija Panic 
> > wrote:
> >
> > > Actually, on another ACS installation, there is file:
> > >
> > >
> >
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-database-mysqlha-4.3.2.jar
> > > (acs 4.3.2 :) )
> > >
> > > But on this 4.5.1 there is no such file.
> > >
> > > Is it possible that we didnt compile 4.5.1 in appropriate way ?
> > >
> > > Thanks,
> > > Andrija
> > >
> > > On 11 June 2015 at 15:14, Andrija Panic 
> wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm trying the DB HA setup, by chaning 3 lines in db.properties file
> > > > (enable HA, define slaves for cloud, define slaves for usage DB)
> > > >
> > > > After restart, mgmt server doesn start with folowing error, as it
> seems
> > > > invalid load balancing strategy variable...
> > > >
> > > > Any clues on this ?
> > > >
> > > > mysql setup is galera 3 node cluster, 1st node being used as master
> in
> > > > db.properties, and only second node being used as slave (galera2
> node)
> > > > I confirmed I can telnet, login etc... also mysql login from mgmt to
> > > these
> > > > master/slaves works of course...
> > > >
> > > >
> > > >
> > > > 2015-06-11 14:25:03,149 INFO  [c.c.u.d.T.Transaction] (main:null) Is
> > Data
> > > > Base High Availiability enabled? Ans : true
> > > > 2015-06-11 14:25:03,191 INFO  [c.c.u.d.T.Transaction] (main:null) The
> > > > slaves configured for Cloud Data base is/are : 10.20.10.6
> > > > 2015-06-11 14:25:03,269 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:927)
> > > > at
> > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
> > > > at com.mysql.jdbc.Util.loadExtensions(Util.java:602)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.LoadBalancingConnectionProxy.(LoadBalancingConnectionProxy.java:285)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.FailoverConnectionProxy.(FailoverConnectionProxy.java:67)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:430)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:343)
> > > > 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
> > > 

Unable to Deploy Own Router in CS 4.5.1

2015-06-26 Thread raja sekhar
Hi All,

I am using CS 4.5.1 and xen 6.2.
I want to deploy my own router instead of default CS router.
for that i have uploaded vyatta router into cloudstack as template. enabled
routing feature. changed global parameter " router.template.xenserver  "
to template id/uuid.
router is deployed from that template but it is still stuck at Starting
stage for a long time in CS UI, but it is running in xencenter.
What is the correct procedure to deploy our own router in cloudstack?
Is cloudstack support Vyatta router?
If not which 3rd party routers will support?
when vm is deployed under this router it is also stuck at starting stage.


Regards,
Rajasekhar.


Re: Routing Feature while registering template.

2015-05-04 Thread raja sekhar
but this will effect every account in cloudstack, is there any account
level setting in order to dedicate this router to a particular account.

Regards,
Rajasekhar.

On Mon, May 4, 2015 at 11:05 AM, raja sekhar 
wrote:

> hi prasanth,
>
> thanks for your reply.
> now i am getting router from an uploaded template.
>
>
> Regards,
> Rajasekhar.
>
> On Fri, May 1, 2015 at 5:24 AM, Prashant Kumar Mishra <
> prashantkumar.mis...@citrix.com> wrote:
>
>> Which template r u using ? ,Try with  default system vm template. After
>> registering  go to global settings and search for router.template ,depend
>> on hypervisor update the setting with template id/uuid .
>>
>> prashant
>>
>> On 5/1/15, 12:44 PM, "raja sekhar"  wrote:
>>
>> >Hi all,
>> >
>> >while we are uploading template,there is a feature called "Routing",when
>> >it
>> >is checked it is showing "check this if the template is used for
>> deploying
>> >router".
>> >but i am unable to deploy router from that template.
>> > can any one tell me how to use this feature?
>> > Is there any possibility to use our own router instead of using
>> >cloudstack
>> >router?
>> >please tell me the procedure how to use this in cs 4.4.3.
>> >
>> >Regards,
>> >Rajasekhar.
>>
>>
>


Re: Routing Feature while registering template.

2015-05-04 Thread raja sekhar
hi prasanth,

thanks for your reply.
now i am getting router from an uploaded template.


Regards,
Rajasekhar.

On Fri, May 1, 2015 at 5:24 AM, Prashant Kumar Mishra <
prashantkumar.mis...@citrix.com> wrote:

> Which template r u using ? ,Try with  default system vm template. After
> registering  go to global settings and search for router.template ,depend
> on hypervisor update the setting with template id/uuid .
>
> prashant
>
> On 5/1/15, 12:44 PM, "raja sekhar"  wrote:
>
> >Hi all,
> >
> >while we are uploading template,there is a feature called "Routing",when
> >it
> >is checked it is showing "check this if the template is used for deploying
> >router".
> >but i am unable to deploy router from that template.
> > can any one tell me how to use this feature?
> > Is there any possibility to use our own router instead of using
> >cloudstack
> >router?
> >please tell me the procedure how to use this in cs 4.4.3.
> >
> >Regards,
> >Rajasekhar.
>
>


Routing Feature while registering template.

2015-05-01 Thread raja sekhar
Hi all,

while we are uploading template,there is a feature called "Routing",when it
is checked it is showing "check this if the template is used for deploying
router".
but i am unable to deploy router from that template.
 can any one tell me how to use this feature?
 Is there any possibility to use our own router instead of using cloudstack
router?
please tell me the procedure how to use this in cs 4.4.3.

Regards,
Rajasekhar.


Re: Missing storage label in XenCenter after migrate

2015-04-15 Thread raja sekhar
Iam talking about xencenter storage labels.you have asked that one right?

Regards,
Rajasekhar.

On Wed, Apr 15, 2015 at 1:25 PM, S. Brüseke - proIO GmbH <
s.brues...@proio.com> wrote:

> Cannot confirm this! Are you talking about XenServer "name-label" or CS?
>
> Mit freundlichen Grüßen / With kind regards,
>
> Swen Brüseke
>
>
> Von: raja sekhar [mailto:rajsekhar@gmail.com]
> Gesendet: Mittwoch, 15. April 2015 09:43
> An: S. Brüseke - proIO GmbH
> Cc: dev@cloudstack.apache.org
> Betreff: Re: Missing storage label in XenCenter after migrate
>
> I have tested in ACS 4.3.1 with Xenserver 6.2 as hyperviser.
> When vm is down the name label remains same,but when the vm is live name
> label changes.
>
> On Wed, Apr 15, 2015 at 1:01 PM, S. Brüseke - proIO GmbH <
> s.brues...@proio.com> wrote:
> Hi,
>
> thank you for testing. In 4.3 the name label is empty even when the vm is
> down.
>
> Mit freundlichen Grüßen / With kind regards,
>
> Swen Brüseke
>
> Von: raja sekhar [mailto:rajsekhar@gmail.com]
> Gesendet: Dienstag, 14. April 2015 18:48
> An: dev@cloudstack.apache.org; S. Brüseke - proIO GmbH
> Betreff: Re: Missing storage label in XenCenter after migrate
>
> Bruseke,
>
> When the disks are live migrated from one primary to another this problem
> is arising, i'am also getting same problem, the disk labels are changed to
> "Cloud-".it seems to be a bug.
> how ever it doesn't happens when the vm is down.
>
> On Tue, Apr 14, 2015 at 6:11 PM, S. Brüseke - proIO GmbH <
> s.brues...@proio.com> wrote:
> Hi,
>
> can somebody please test this behavior in 4.5.1-rc2?
>
> 1. Create instance on XenServer hypervisor via CS.
> 2. Check "Name" of storage in XenCenter's storage tab for this instance.
> (should be ROOT-XXX)
> 3. Migrate primary storage to different storage via CS.
> 4. Take a look at "Name" of storage in XenCenter's storage tab again. (It
> is empty now)
>
> If this is the case on your installation I consider this a bug. Can please
> someone verify?
> Thank you very much!
>
> Mit freundlichen Grüßen / With kind regards,
>
> Swen Brüseke
>
>
>
>
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
> nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify
> the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>
>
>
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
> nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify
> the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
> nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify
> the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>


Re: Missing storage label in XenCenter after migrate

2015-04-15 Thread raja sekhar
I have tested in ACS 4.3.1 with Xenserver 6.2 as hyperviser.
When vm is down the name label remains same,but when the vm is live name
label changes.

On Wed, Apr 15, 2015 at 1:01 PM, S. Brüseke - proIO GmbH <
s.brues...@proio.com> wrote:

> Hi,
>
>
>
> thank you for testing. In 4.3 the name label is empty even when the vm is
> down.
>
>
>
> Mit freundlichen Grüßen / With kind regards,
>
>
>
> Swen Brüseke
>
>
>
> *Von:* raja sekhar [mailto:rajsekhar@gmail.com]
> *Gesendet:* Dienstag, 14. April 2015 18:48
> *An:* dev@cloudstack.apache.org; S. Brüseke - proIO GmbH
> *Betreff:* Re: Missing storage label in XenCenter after migrate
>
>
>
> Bruseke,
>
>
>
> When the disks are live migrated from one primary to another this problem
> is arising, i'am also getting same problem, the disk labels are changed to
> "Cloud-".it seems to be a bug.
>
> how ever it doesn't happens when the vm is down.
>
>
>
> On Tue, Apr 14, 2015 at 6:11 PM, S. Brüseke - proIO GmbH <
> s.brues...@proio.com> wrote:
>
> Hi,
>
> can somebody please test this behavior in 4.5.1-rc2?
>
> 1. Create instance on XenServer hypervisor via CS.
> 2. Check "Name" of storage in XenCenter's storage tab for this instance.
> (should be ROOT-XXX)
> 3. Migrate primary storage to different storage via CS.
> 4. Take a look at "Name" of storage in XenCenter's storage tab again. (It
> is empty now)
>
> If this is the case on your installation I consider this a bug. Can please
> someone verify?
> Thank you very much!
>
> Mit freundlichen Grüßen / With kind regards,
>
> Swen Brüseke
>
>
>
>
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
> nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify
> the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>
>
>
> --
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
>
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
>
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
> gestattet.
>
> This e-mail may contain confidential and/or privileged information.
>
> If you are not the intended recipient (or have received this e-mail in error) 
> please notify
> the sender immediately and destroy this e-mail.
>
> Any unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden.
>
>


Re: Missing storage label in XenCenter after migrate

2015-04-14 Thread raja sekhar
Bruseke,

When the disks are live migrated from one primary to another this problem
is arising, i'am also getting same problem, the disk labels are changed to
"Cloud-".it seems to be a bug.
how ever it doesn't happens when the vm is down.

On Tue, Apr 14, 2015 at 6:11 PM, S. Brüseke - proIO GmbH <
s.brues...@proio.com> wrote:

> Hi,
>
> can somebody please test this behavior in 4.5.1-rc2?
>
> 1. Create instance on XenServer hypervisor via CS.
> 2. Check "Name" of storage in XenCenter's storage tab for this instance.
> (should be ROOT-XXX)
> 3. Migrate primary storage to different storage via CS.
> 4. Take a look at "Name" of storage in XenCenter's storage tab again. (It
> is empty now)
>
> If this is the case on your installation I consider this a bug. Can please
> someone verify?
> Thank you very much!
>
> Mit freundlichen Grüßen / With kind regards,
>
> Swen Brüseke
>
>
>
>
> - proIO GmbH -
> Geschäftsführer: Swen Brüseke
> Sitz der Gesellschaft: Frankfurt am Main
>
> USt-IdNr. DE 267 075 918
> Registergericht: Frankfurt am Main - HRB 86239
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
> nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify
> the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>
>


Re: few templates lost, cause cannot download and launch vm from that

2015-02-26 Thread raja sekhar
Hi somesh,

I am able to deploy vm's when the template is in primary storage.i have
manually removed the template from xencenter primary storage, vm 's are not
creating at that moment.but the template is still in secondary storage.
how to create vm's when the template is removed from primary storage?

In this criteria template is not copying to primary storage second time.I
understood that cloudstack doesn't know that template has removed from
primary storage.


Regards,
Rajasekhar.


On Wed, Feb 25, 2015 at 9:38 PM, Somesh Naidu 
wrote:

> Raja,
>
> I am not sure if your understanding on how templates work is correct.
>
> You do not need to download a template to the primary storage. CS will do
> that as required. Also, CS will clean-up templates from primary if no
> associated VMs are running. This is expected behavior. The state of the
> template that you see in the UI refers to the status of the template on
> secondary storage.
>
> The exception you are getting while launching the VM seems to be a
> separate issue. You need to share more details and logs (use pastebin or
> similar).
>
> Regards,
> Somesh
>
>
> -Original Message-
> From: raja sekhar [mailto:rajsekhar@gmail.com]
> Sent: Wednesday, February 25, 2015 3:28 AM
> To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
> Subject: few templates lost, cause cannot download and launch vm from that
>
> Hi All,
>
> I am using CloudStack 4.3.1.
> some of the templates like *"Template "* in xencenter
> primary storage are lost.later that iam unable to deploy vm from that
> templates.saying the error
>
> 2015-02-19 11:09:10,541 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-206:ctx-0fd9a1dd) Seq 1-1636765165: Executing request
> 2015-02-19 11:09:10,597 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-206:ctx-0fd9a1dd) Catch Exception
> com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid
>  for uuid: a7406536-3a0a-4e16-a05c-8663af78a894 failed due to The uuid you
> supplied was invalid.
> 2015-02-19 11:09:10,597 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-206:ctx-0fd9a1dd) Unable to create volume;
> Pool=volumeTO[uuid=7a20df1c-3a98-46a2-92c7-5
>
> 6ca60a9ffaa|path=null|datastore=PrimaryDataStoreTO[uuid=9fb05625-5776-3e19-8317-4812aff592a0|name=null|id=1|pooltype=NetworkFilesystem]];
> Disk:
> com.cloud.utils.exception.CloudRuntimeException: Catch Exception
> com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
> a7406536-3a0a-4e16-a05c-8663af78a894 fa
> iled due to The uuid you supplied was invalid.
>
>
>
>
> 2015-02-19 11:09:10,604 INFO  [c.c.v.VirtualMachineManagerImpl]
> (consoleproxy-1:ctx-6d3b94af) Unable to contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1]
> is unreachable: Unable to create
> Vol[6|vm=6|ROOT]:com.cloud.utils.exception.CloudRuntimeException: Catch
> Exception com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
> a7406536-3a0a-4e16-a05c-8663af78a894 failed due to The uuid you supplied
> was invalid.
>
>
> i have observed that when creating vm first time the template is copying to
> primary storage in xencenter with name *"Template  number>", *unfortunately
> i have lost some of the templates in xencenter primary storage, but in
> cloudstack UI it is showing ready state and i have checked SSVM too, the
> template is present.
>
> how to copy template to xencenter primary storage?
> Is this BUG?
> please help me to deploy vm from that template..
>
>
> Regards,
> Rajasekhar.
>


few templates lost, cause cannot download and launch vm from that

2015-02-25 Thread raja sekhar
Hi All,

I am using CloudStack 4.3.1.
some of the templates like *"Template "* in xencenter
primary storage are lost.later that iam unable to deploy vm from that
templates.saying the error

2015-02-19 11:09:10,541 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-206:ctx-0fd9a1dd) Seq 1-1636765165: Executing request
2015-02-19 11:09:10,597 DEBUG [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-206:ctx-0fd9a1dd) Catch Exception
com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid
 for uuid: a7406536-3a0a-4e16-a05c-8663af78a894 failed due to The uuid you
supplied was invalid.
2015-02-19 11:09:10,597 WARN  [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-206:ctx-0fd9a1dd) Unable to create volume;
Pool=volumeTO[uuid=7a20df1c-3a98-46a2-92c7-5
6ca60a9ffaa|path=null|datastore=PrimaryDataStoreTO[uuid=9fb05625-5776-3e19-8317-4812aff592a0|name=null|id=1|pooltype=NetworkFilesystem]];
Disk:
com.cloud.utils.exception.CloudRuntimeException: Catch Exception
com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
a7406536-3a0a-4e16-a05c-8663af78a894 fa
iled due to The uuid you supplied was invalid.




2015-02-19 11:09:10,604 INFO  [c.c.v.VirtualMachineManagerImpl]
(consoleproxy-1:ctx-6d3b94af) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1]
is unreachable: Unable to create
Vol[6|vm=6|ROOT]:com.cloud.utils.exception.CloudRuntimeException: Catch
Exception com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
a7406536-3a0a-4e16-a05c-8663af78a894 failed due to The uuid you supplied
was invalid.


i have observed that when creating vm first time the template is copying to
primary storage in xencenter with name *"Template ", *unfortunately
i have lost some of the templates in xencenter primary storage, but in
cloudstack UI it is showing ready state and i have checked SSVM too, the
template is present.

how to copy template to xencenter primary storage?
Is this BUG?
please help me to deploy vm from that template..


Regards,
Rajasekhar.


Re: Usage Records not Generating.

2015-02-18 Thread raja sekhar
Hi Gopalakrishnan,

I have check the db.properties file in both usage and management, both
seems to be same and i have given usage.sanity.check.interval=1 in global
conf.

Regards,
Rajasekhar.


On Wed, Feb 18, 2015 at 6:03 PM, Gopalakrishnan S 
wrote:

> Hi RajaSekhar,
>
> You can review database connection settings in your management server
> db.properties file. also verify that
> usage.sanity.check.interval settings in your global conf.
>
> /etc/cloudstack/usage/db.properties
>
> /etc/cloudstack/management/db.properties
>
> Thank You.
> Gopalakrishnan.S
> Cloud Engineer - Fogpanel
>
> ----- Original Message - From: "raja sekhar" 
> To: 
> Cc: 
> Sent: Wednesday, February 18, 2015 5:53 PM
>
> Subject: Re: Usage Records not Generating.
>
>
>  Hi Kishan,
>>
>> I have restarted the usage server, but still i did not get the usage
>> records and even i generated the usage record from cloudmonkey,usage_job
>> host is showing NULL.The usage server is unable to get the host id in
>> usage_job.previously i am getting usage records,this issue arises after
>> the
>> directly reboot of one of my management server and slave database with out
>> taking any precautions.
>>
>> Any Suggesstions?
>> The configuration files also looks good.
>>
>> Regards,
>> Rajasekhar.
>>
>>
>>
>>
>> On Wed, Feb 18, 2015 at 4:59 PM, Kishan Kavala 
>> wrote:
>>
>>  Rajasekhar,
>>>  I do not see any errors in the usage server logs posted earlier. As per
>>> mgmt server heartbeat check, usage server is not updating usage_job
>>> tables
>>> also. Did you try restarting usage server?
>>>
>>>
>>> -Original Message-
>>> From: raja sekhar [mailto:rajsekhar@gmail.com]
>>> Sent: Wednesday, February 18, 2015 4:03 PM
>>> To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
>>> Subject: Re: Usage Records not Generating.
>>>
>>> Hi All,
>>>
>>> I have found this error in management server log file saying that usage
>>> server is not running,but usage server is still running. I am using two
>>> management servers, on Dec 27 2014 i have rebooted manually one of the
>>> management server,and the log is showing that date, from that date
>>> onwards
>>> iam not getting usage records.Is this BUG?
>>> I heard that this is fixed in 4.3.
>>> https://issues.apache.org/jira/browse/CLOUDSTACK-5613
>>>
>>> If not what is the procedure to generate usage records again?
>>>
>>> 2015-02-18 00:08:49,700 DEBUG [c.c.a.m.DirectAgentAttache]
>>> (DirectAgent-152:ctx-c1bbf117) Seq 1-1418147853: Executing request
>>> 2015-02-18 00:08:49,991 INFO  [c.c.h.HighAvailabilityManagerImpl]
>>> (HA-3:ctx-fc33e670) *checking health of usage server*
>>> 2015-02-18 00:08:49,994 DEBUG [c.c.h.HighAvailabilityManagerImpl]
>>> (HA-3:ctx-fc33e670) *usage server running? false*, heartbeat: *Sat Dec 27
>>> 23:14:50 PST* *2014*
>>> 2015-02-18 00:08:49,995 WARN  [o.a.c.alerts] (HA-3:ctx-fc33e670)
>>>  alertType:: 13 // dataCenterId:: 0 // podId:: 0 // clusterId:: null //
>>> message:: *No usage server process running*
>>> 2015-02-18 00:08:49,998 DEBUG [c.c.a.AlertManagerImpl]
>>> (HA-3:ctx-fc33e670)
>>> Have already sent: 1 emails for alert type '13' -- skipping send email
>>>
>>>
>>> Regards,
>>> Rajasekhar.
>>>
>>>
>>> On Mon, Feb 9, 2015 at 5:13 PM, raja sekhar 
>>> wrote:
>>>
>>> > Hi Wei,
>>> >
>>> > Thanks for your reply.
>>> > I have found the file in "cd > /etc/cloudstack/management/
>>> log4j-cloud.xml"
>>> > and "cd /etc/cloudstack/usage/log4j-cloud.xml".it is same as you told.
>>> >
>>> > The log file i have captured in "/var/log/cloudstack/usage/usage.log"
>>> > is:
>>> >
>>> >
>>> > 2014-12-28 07:15:05,773 DEBUG [db.Transaction.Transaction]
>>> > (Usage-Job-1:null) Transaction is not closed properly:
>>> > -UsageEventDaoImpl.getRecentEvents:99-ComponentInstantiationPostProces
>>> > sor$InterceptorDispatcher.intercept:125-UsageManagerImpl.parse:556-Usa
>>> > geManagerImpl.runInContextInternal:349-UsageManagerImpl$1.runInContext
>>> > :291-ManagedContextRunnable$1.run:49-DefaultManagedContext$1.call:56-D
>>> > efaultManagedContext.callWithContext:103-DefaultManagedContext.runWith
&

Re: Usage Records not Generating.

2015-02-18 Thread raja sekhar
Hi Kishan,

I have restarted the usage server, but still i did not get the usage
records and even i generated the usage record from cloudmonkey,usage_job
host is showing NULL.The usage server is unable to get the host id in
usage_job.previously i am getting usage records,this issue arises after the
directly reboot of one of my management server and slave database with out
taking any precautions.

Any Suggesstions?
The configuration files also looks good.

Regards,
Rajasekhar.




On Wed, Feb 18, 2015 at 4:59 PM, Kishan Kavala 
wrote:

> Rajasekhar,
>  I do not see any errors in the usage server logs posted earlier. As per
> mgmt server heartbeat check, usage server is not updating usage_job tables
> also. Did you try restarting usage server?
>
>
> -Original Message-
> From: raja sekhar [mailto:rajsekhar@gmail.com]
> Sent: Wednesday, February 18, 2015 4:03 PM
> To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
> Subject: Re: Usage Records not Generating.
>
> Hi All,
>
> I have found this error in management server log file saying that usage
> server is not running,but usage server is still running. I am using two
> management servers, on Dec 27 2014 i have rebooted manually one of the
> management server,and the log is showing that date, from that date onwards
> iam not getting usage records.Is this BUG?
> I heard that this is fixed in 4.3.
> https://issues.apache.org/jira/browse/CLOUDSTACK-5613
>
> If not what is the procedure to generate usage records again?
>
> 2015-02-18 00:08:49,700 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-152:ctx-c1bbf117) Seq 1-1418147853: Executing request
> 2015-02-18 00:08:49,991 INFO  [c.c.h.HighAvailabilityManagerImpl]
> (HA-3:ctx-fc33e670) *checking health of usage server*
> 2015-02-18 00:08:49,994 DEBUG [c.c.h.HighAvailabilityManagerImpl]
> (HA-3:ctx-fc33e670) *usage server running? false*, heartbeat: *Sat Dec 27
> 23:14:50 PST* *2014*
> 2015-02-18 00:08:49,995 WARN  [o.a.c.alerts] (HA-3:ctx-fc33e670)
>  alertType:: 13 // dataCenterId:: 0 // podId:: 0 // clusterId:: null //
> message:: *No usage server process running*
> 2015-02-18 00:08:49,998 DEBUG [c.c.a.AlertManagerImpl] (HA-3:ctx-fc33e670)
> Have already sent: 1 emails for alert type '13' -- skipping send email
>
>
> Regards,
> Rajasekhar.
>
>
> On Mon, Feb 9, 2015 at 5:13 PM, raja sekhar 
> wrote:
>
> > Hi Wei,
> >
> > Thanks for your reply.
> > I have found the file in "cd /etc/cloudstack/management/log4j-cloud.xml"
> > and "cd /etc/cloudstack/usage/log4j-cloud.xml".it is same as you told.
> >
> > The log file i have captured in "/var/log/cloudstack/usage/usage.log" is:
> >
> >
> > 2014-12-28 07:15:05,773 DEBUG [db.Transaction.Transaction]
> > (Usage-Job-1:null) Transaction is not closed properly:
> > -UsageEventDaoImpl.getRecentEvents:99-ComponentInstantiationPostProces
> > sor$InterceptorDispatcher.intercept:125-UsageManagerImpl.parse:556-Usa
> > geManagerImpl.runInContextInternal:349-UsageManagerImpl$1.runInContext
> > :291-ManagedContextRunnable$1.run:49-DefaultManagedContext$1.call:56-D
> > efaultManagedContext.callWithContext:103-DefaultManagedContext.runWith
> > Context:53-ManagedContextRunnable.run:46-UsageManagerImpl.run:288-Exec
> > utors$RunnableAdapter.call:471
> > :
> > -UsageEventDaoImpl.getRecentEvents:99-ComponentInstantiationPostProces
> > sor$InterceptorDispatcher.intercept:125-UsageManagerImpl.parse:556-Usa
> > geManagerImpl.runInContextInternal:349-UsageManagerImpl$1.runInContext
> > :291-ManagedContextRunnable$1.run:49-DefaultManagedContext$1.call:56-D
> > efaultManagedContext.callWithContext:103-DefaultManagedContext.runWith
> > Context:53-ManagedContextRunnable.run:46-UsageManagerImpl.run:288-Exec
> > utors$RunnableAdapter.call:471,
> > .  Called by
> > -TransactionLegacy.open:166-TransactionLegacy.open:126-UsageManagerImp
> > l.parse:786-UsageManagerImpl.runInContextInternal:349-UsageManagerImpl
> > $1.runInContext:291-ManagedContextRunnable$1.run:49-DefaultManagedCont
> > ext$1.call:56-DefaultManagedContext.callWithContext:103-DefaultManaged
> > Context.runWithContext:53-ManagedContextRunnable.run:46-UsageManagerIm
> > pl.run:288-Executors$RunnableAdapter.call:471
> > 2014-12-28 07:15:05,776 INFO  [cloud.usage.UsageManagerImpl]
> > (Usage-Job-1:null) usage job complete
> > 2014-12-29 06:39:27,416 INFO
> >  [context.support.ClassPathXmlApplicationContext] (main:null)
> > Refreshing
> >
> org.springframework.context.support.ClassPathXmlApplicationContext@1055e55f
> :
> > startup date [Sun Dec 28 22:39:27 PST 2014]; root o

Re: Usage Records not Generating.

2015-02-18 Thread raja sekhar
Hi All,

I have found this error in management server log file saying that usage
server is not running,but usage server is still running. I am using two
management servers, on Dec 27 2014 i have rebooted manually one of the
management server,and the log is showing that date, from that date onwards
iam not getting usage records.Is this BUG?
I heard that this is fixed in 4.3.
https://issues.apache.org/jira/browse/CLOUDSTACK-5613

If not what is the procedure to generate usage records again?

2015-02-18 00:08:49,700 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-152:ctx-c1bbf117) Seq 1-1418147853: Executing request
2015-02-18 00:08:49,991 INFO  [c.c.h.HighAvailabilityManagerImpl]
(HA-3:ctx-fc33e670) *checking health of usage server*
2015-02-18 00:08:49,994 DEBUG [c.c.h.HighAvailabilityManagerImpl]
(HA-3:ctx-fc33e670) *usage server running? false*, heartbeat: *Sat Dec 27
23:14:50 PST* *2014*
2015-02-18 00:08:49,995 WARN  [o.a.c.alerts] (HA-3:ctx-fc33e670)
 alertType:: 13 // dataCenterId:: 0 // podId:: 0 // clusterId:: null //
message:: *No usage server process running*
2015-02-18 00:08:49,998 DEBUG [c.c.a.AlertManagerImpl] (HA-3:ctx-fc33e670)
Have already sent: 1 emails for alert type '13' -- skipping send email


Regards,
Rajasekhar.


On Mon, Feb 9, 2015 at 5:13 PM, raja sekhar  wrote:

> Hi Wei,
>
> Thanks for your reply.
> I have found the file in "cd /etc/cloudstack/management/log4j-cloud.xml"
> and "cd /etc/cloudstack/usage/log4j-cloud.xml".it is same as you told.
>
> The log file i have captured in "/var/log/cloudstack/usage/usage.log" is:
>
>
> 2014-12-28 07:15:05,773 DEBUG [db.Transaction.Transaction]
> (Usage-Job-1:null) Transaction is not closed properly:
> -UsageEventDaoImpl.getRecentEvents:99-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-UsageManagerImpl.parse:556-UsageManagerImpl.runInContextInternal:349-UsageManagerImpl$1.runInContext:291-ManagedContextRunnable$1.run:49-DefaultManagedContext$1.call:56-DefaultManagedContext.callWithContext:103-DefaultManagedContext.runWithContext:53-ManagedContextRunnable.run:46-UsageManagerImpl.run:288-Executors$RunnableAdapter.call:471
> :
> -UsageEventDaoImpl.getRecentEvents:99-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-UsageManagerImpl.parse:556-UsageManagerImpl.runInContextInternal:349-UsageManagerImpl$1.runInContext:291-ManagedContextRunnable$1.run:49-DefaultManagedContext$1.call:56-DefaultManagedContext.callWithContext:103-DefaultManagedContext.runWithContext:53-ManagedContextRunnable.run:46-UsageManagerImpl.run:288-Executors$RunnableAdapter.call:471,
> .  Called by
> -TransactionLegacy.open:166-TransactionLegacy.open:126-UsageManagerImpl.parse:786-UsageManagerImpl.runInContextInternal:349-UsageManagerImpl$1.runInContext:291-ManagedContextRunnable$1.run:49-DefaultManagedContext$1.call:56-DefaultManagedContext.callWithContext:103-DefaultManagedContext.runWithContext:53-ManagedContextRunnable.run:46-UsageManagerImpl.run:288-Executors$RunnableAdapter.call:471
> 2014-12-28 07:15:05,776 INFO  [cloud.usage.UsageManagerImpl]
> (Usage-Job-1:null) usage job complete
> 2014-12-29 06:39:27,416 INFO
>  [context.support.ClassPathXmlApplicationContext] (main:null) Refreshing
> org.springframework.context.support.ClassPathXmlApplicationContext@1055e55f:
> startup date [Sun Dec 28 22:39:27 PST 2014]; root of context hierarchy
> 2014-12-29 06:39:27,664 INFO  [factory.xml.XmlBeanDefinitionReader]
> (main:null) Loading XML bean definitions from class path resource
> [usageApplicationContext.xml]
> 2014-12-29 06:39:28,929 INFO
>  [context.annotation.ClassPathBeanDefinitionScanner] (main:null) JSR-330
> 'javax.inject.Named' annotation found and supported for component scanning
> 2014-12-29 06:39:30,436 INFO
>  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:null)
> JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
> 2014-12-29 06:39:30,912 INFO
>  [context.support.ClassPathXmlApplicationContext] (main:null) Bean
> 'transactionContextBuilder' of type [class
> com.cloud.utils.db.TransactionContextBuilder] is not eligible for getting
> processed by all BeanPostProcessors (for example: not eligible for
> auto-proxying)
> 2014-12-29 06:39:30,992 INFO  [factory.support.DefaultListableBeanFactory]
> (main:null) Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@259e215b:
> defining beans
> [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,volumeUsageParser,vmDiskUsageParser,portForw

Re: Usage Records not Generating.

2015-02-09 Thread raja sekhar
o.UsageEventDetailsDaoImpl_EnhancerByCloudStack_b6db41b5
2015-02-09 07:28:36,955 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.usage.dao.UsageVMInstanceDaoImpl_EnhancerByCloudStack_b6089cd2
2015-02-09 07:28:36,955 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.usage.dao.UsagePortForwardingRuleDaoImpl_EnhancerByCloudStack_73c7b4b4
2015-02-09 07:28:36,961 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.configuration.dao.ResourceLimitDaoImpl_EnhancerByCloudStack_5c979895
2015-02-09 07:28:36,962 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.event.dao.UsageEventDaoImpl_EnhancerByCloudStack_dd119339
2015-02-09 07:28:36,962 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.usage.dao.UsageNetworkDaoImpl_EnhancerByCloudStack_76dc9de4
2015-02-09 07:28:36,963 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.user.dao.UserAccountDaoImpl_EnhancerByCloudStack_d40fb7ef
2015-02-09 07:28:36,972 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.alert.dao.AlertDaoImpl_EnhancerByCloudStack_57f37338
2015-02-09 07:28:36,973 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.user.dao.VmDiskStatisticsDaoImpl_EnhancerByCloudStack_943707d0
2015-02-09 07:28:36,973 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_d49ff81c
2015-02-09 07:28:36,974 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.usage.dao.UsageVMSnapshotDaoImpl_EnhancerByCloudStack_4eb66eb
2015-02-09 07:28:36,980 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.event.dao.EventJoinDaoImpl_EnhancerByCloudStack_57783042
2015-02-09 07:28:36,981 INFO  [utils.component.ComponentContext]
(main:null) Configuring
com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_d6c7aeb5
2015-02-09 07:28:36,981 DEBUG [cloud.usage.UsageManagerImpl] (main:null)
Checking to see if usage.vmops.pid exists.
2015-02-09 07:28:36,981 INFO  [cloud.usage.UsageManagerImpl] (main:null)
Implementation Version is 4.3.1


and there are no records generated between 2014-12-29 06:39:41
and 2015-02-09 07:23:49.

waiting for your reply.

Regards,
Rajasekhar.


On Mon, Feb 9, 2015 at 3:49 PM, Wei ZHOU  wrote:

> anything in /var/log/cloudstack/usage/usage.log ?
> I guess log4j-cloud.xml is missing ? (it should be log4j-cloud.xml , not
> log4j-cloud-usage.xml)
>
> 2015-02-09 10:47 GMT+01:00 raja sekhar :
>
> > Hi All,
> >
> > I am using CloudStack 4.3.1.Previously the usage records are
> generated,but
> > when i observed recently the usage records are not generating.The usage
> > records ends at 2014-12-27
> >
> > mysql>select * from job_usage\G
> >
> > id: 79
> > host: testcs01.test.local/xx.xx.xx.xx
> >  pid: 1675
> > job_type: 0
> >scheduled: 0
> > start_millis: 141963840
> >   end_millis: 141972479
> >exec_time: 963
> >   start_date: 2014-12-27 00:00:00
> > end_date: 2014-12-27 23:59:59
> >  success: 1
> >heartbeat: 2014-12-28 07:14:50
> >
> > This is last record i found in usage_job.
> >
> > when i manually generate the usage records from cloudmonkey,it shows
> > "success", but the usage records are not generated in cloud_usage table.
> >
> > cloudmonkey> generate usagerecords startdate=2014-12-28
> enddate=2015-02-08
> > success = true
> >
> > I found an entry in cloud_job table,after generating usage records
> through
> > cloudmonkey.
> >
> > id: 80
> > host: NULL
> >  pid: 0
> > job_type: 1
> >scheduled: 0
> > start_millis: 0
> >   end_millis: 0
> >exec_time: 0
> >   start_date: NULL
> > end_date: NULL
> >  success: NULL
> >heartbeat: 2015-02-09 09:12:20
> >
> > it is showing host "NULL".
> >
> > Any Suggestions??
> >
> >
> > Regards,
> > Rajasekhar.
> >
>


Usage Records not Generating.

2015-02-09 Thread raja sekhar
Hi All,

I am using CloudStack 4.3.1.Previously the usage records are generated,but
when i observed recently the usage records are not generating.The usage
records ends at 2014-12-27

mysql>select * from job_usage\G

id: 79
host: testcs01.test.local/xx.xx.xx.xx
 pid: 1675
job_type: 0
   scheduled: 0
start_millis: 141963840
  end_millis: 141972479
   exec_time: 963
  start_date: 2014-12-27 00:00:00
end_date: 2014-12-27 23:59:59
 success: 1
   heartbeat: 2014-12-28 07:14:50

This is last record i found in usage_job.

when i manually generate the usage records from cloudmonkey,it shows
"success", but the usage records are not generated in cloud_usage table.

cloudmonkey> generate usagerecords startdate=2014-12-28 enddate=2015-02-08
success = true

I found an entry in cloud_job table,after generating usage records through
cloudmonkey.

id: 80
host: NULL
 pid: 0
job_type: 1
   scheduled: 0
start_millis: 0
  end_millis: 0
   exec_time: 0
  start_date: NULL
end_date: NULL
 success: NULL
   heartbeat: 2015-02-09 09:12:20

it is showing host "NULL".

Any Suggestions??


Regards,
Rajasekhar.


Re: 答复: unable to test Network Throttling.

2014-12-09 Thread raja sekhar
hi prasanth,

In cloudstack i have given network rate as 1024Mb/s but in xencenter qos
properties it is showing 25Mb/s for that VM.

Andrija Panic/Prashant if i change the interface property(bandwidth)
through xencenter or commandline process in
http://xmodulo.com/how-to-rate-limit-xenserver-vms-network-interfaces.html ,
if i shutdown the VM from cloudstack that VM wil be disabled from
xencenter, when ever i start the VM, the qos value will be same or it will
changed to 25Mb/s.

waiting for your reply.

Regards,
Rajasekhar.


On Tue, Dec 9, 2014 at 12:05 AM, Prashant Kumar Mishra <
prashantkumar.mis...@citrix.com> wrote:
>
> From the  xencenter you can check interface property (look for QoS
> settings) for that particular vm .
>
> -Original Message-
> From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> Sent: Tuesday, December 09, 2014 1:30 PM
> To: dev@cloudstack.apache.org
> Cc: us...@cloudstack.apache.org
> Subject: Re: 答复: unable to test Network Throttling.
>
> Recent reply from Vadim:
> http://xmodulo.com/how-to-rate-limit-xenserver-vms-network-interfaces.html
>
> On 9 December 2014 at 08:40, raja sekhar  wrote:
>
> > Hi Star,
> >
> > Thanks for your reply. I'm using XenServer 6.2 and cloudstack 4.3.1.
> > how can i check the band width rate of the VM, is there any command
> > for xenserver host?
> >
> > waiting for your reply.
> >
> > Regards,
> > Rajasekhar.
> >
> > On Mon, Dec 8, 2014 at 10:56 PM, Star Guo  wrote:
> > >
> > > Hi,
> > >
> > > There is a priority: the network rate of compute offering > the
> > > network rate of global configuration.
> > > If you deploy on kvm host, you can use virsh command to dumpxml of
> > > the VM and focus on   ... .
> > >
> > > Best Regards,
> > > Star Guo
> > >
> > > -邮件原件-
> > > 发件人: raja sekhar [mailto:rajsekhar@gmail.com]
> > > 发送时间: 2014年12月9日 14:28
> > > 收件人: dev@cloudstack.apache.org; us...@cloudstack.apache.org
> > > 主题: unable to test Network Throttling.
> > >
> > > Hi all,
> > >
> > > i have created one compute offering(2 CPU , 4 GB) and given the
> > > Network Rate as 1024 Mb/s, a VM is deployed from that compute
> > > offering and in global settings i didn't changed any Network
> > > Throttling Rate(default 200
> > > Mb/s) and i'm unable to test the network bandwidth rate.
> > >
> > > please suggest me how to test the bandwidth rate of the VM.
> > >
> > >
> > >
> > > Regards,
> > > Rajasekhar.
> > >
> > >
> >
>
>
>
> --
>
> Andrija Panić
>


Re: 答复: unable to test Network Throttling.

2014-12-08 Thread raja sekhar
Hi Star,

Thanks for your reply. I'm using XenServer 6.2 and cloudstack 4.3.1.
how can i check the band width rate of the VM, is there any command for
xenserver host?

waiting for your reply.

Regards,
Rajasekhar.

On Mon, Dec 8, 2014 at 10:56 PM, Star Guo  wrote:
>
> Hi,
>
> There is a priority: the network rate of compute offering > the network
> rate of global configuration.
> If you deploy on kvm host, you can use virsh command to dumpxml of the VM
> and focus on   ... .
>
> Best Regards,
> Star Guo
>
> -邮件原件-
> 发件人: raja sekhar [mailto:rajsekhar@gmail.com]
> 发送时间: 2014年12月9日 14:28
> 收件人: dev@cloudstack.apache.org; us...@cloudstack.apache.org
> 主题: unable to test Network Throttling.
>
> Hi all,
>
> i have created one compute offering(2 CPU , 4 GB) and given the Network
> Rate as 1024 Mb/s, a VM is deployed from that compute offering and in
> global settings i didn't changed any Network Throttling Rate(default 200
> Mb/s) and i'm unable to test the network bandwidth rate.
>
> please suggest me how to test the bandwidth rate of the VM.
>
>
>
> Regards,
> Rajasekhar.
>
>


unable to test Network Throttling.

2014-12-08 Thread raja sekhar
Hi all,

i have created one compute offering(2 CPU , 4 GB) and given the Network
Rate as 1024 Mb/s, a VM is deployed from that compute offering and in
global settings i didn't changed any Network Throttling Rate(default 200
Mb/s) and i'm unable to test the network bandwidth rate.

please suggest me how to test the bandwidth rate of the VM.



Regards,
Rajasekhar.


[ERROR] Failed create template from snapshot The uuid you supplied was invalid.

2014-09-23 Thread raja sekhar
Hi All,

I have upgraded ACS 4.3 to 4.4.0.From that time onwards the root volume
snapshots are not taking properly, sometimes the snapshots are taking and
sometimes the snapshots stuck in "ERROR" state. when ever i want to create
template from a backedup snapshot i'm getting the error "Failed create
template from snapshot
The uuid you supplied was invalid."

The log file shows,

2014-09-23 18:55:54,197 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-5e74939f) Acquiring hosts for clusters already owned by this
management server
2014-09-23 18:55:54,199 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-5e74939f) Completed acquiring hosts for clusters already owned by
this management server
2014-09-23 18:55:54,199 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-5e74939f) Acquiring hosts for clusters not owned by any
management server
2014-09-23 18:55:54,200 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager
Timer:ctx-5e74939f) Completed acquiring hosts for clusters not owned by any
management server
2014-09-23 18:56:02,808 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-2:null) SeqA 23-69610: Processing Seq 23-69610:  {
Cmd , MgmtId: -1, via: 23, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":155,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
2014-09-23 18:56:02,813 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-2:null) SeqA 23-69610: Sending Seq 23-69610:  { Ans:
, MgmtId: 52244012385, via: 23, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-09-23 18:56:07,809 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-4:null) SeqA 23-69611: Processing Seq 23-69611:  {
Cmd , MgmtId: -1, via: 23, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":155,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
2014-09-23 18:56:07,814 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-4:null) SeqA 23-69611: Sending Seq 23-69611:  { Ans:
, MgmtId: 52244012385, via: 23, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-09-23 18:56:10,833 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-120d1e42) Zone 1 is ready to launch console proxy
2014-09-23 18:56:10,949 DEBUG [o.a.c.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-2b827d35) Zone 1 is ready to launch secondary storage VM
2014-09-23 18:56:16,215 DEBUG [c.c.a.ApiServlet]
(catalina-exec-2:ctx-1b03b697) ===START===  10.0.1.100 -- GET
 
command=createTemplate&response=json&sessionkey=bKgNoaskvKmQI0pYS%2F9DuT4raSA%3D&snapshotid=907fc0ec-d782-4407-8560-83e335f5c79e&name=testtmp&displayText=testtmp&osTypeId=d84de96a-1495-11e4-ba8d-000c29a411ce&isPublic=false&passwordEnabled=false&isdynamicallyscalable=false&_=1411524124265
2014-09-23 18:56:16,246 DEBUG [c.c.t.TemplateManagerImpl]
(catalina-exec-2:ctx-1b03b697 ctx-11184fc3) This template is getting
created from other template, setting source template Id to: 5
2014-09-23 18:56:16,292 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(catalina-exec-2:ctx-1b03b697 ctx-11184fc3) submit async job-4429, details:
AsyncJobVO {id:4429, userId: 2, accountId: 2, instanceType: Template,
instanceId: 230, cmd:
org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin,
cmdInfo:
{"sessionkey":"bKgNoaskvKmQI0pYS/9DuT4raSA\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"d84de96a-1495-11e4-ba8d-000c29a411ce","isPublic":"false","isdynamicallyscalable":"false","response":"json","id":"230","ctxDetails":"{\"com.cloud.storage.Snapshot\":\"907fc0ec-d782-4407-8560-83e335f5c79e\",\"com.cloud.template.VirtualMachineTemplate\":\"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea\",\"com.cloud.storage.GuestOS\":\"d84de96a-1495-11e4-ba8d-000c29a411ce\"}","displayText":"testtmp","snapshotid":"907fc0ec-d782-4407-8560-83e335f5c79e","passwordEnabled":"false","name":"testtmp","_":"1411524124265","uuid":"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea","ctxAccountId":"2","ctxStartEventId":"16996"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 52244012385, completeMsid: null, lastUpdated: null,
lastPolled: null, created: null}
2014-09-23 18:56:16,293 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
(API-Job-Executor-65:ctx-5c66f5fd job-4429) Add job-4429 into job monitoring
2014-09-23 18:56:16,293 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-65:ctx-5c66f5fd job-4429) Executing AsyncJobVO {id:4429,
userId: 2, accountId: 2, instanceType: Template, instanceId: 230, cmd:
org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin,
cmdInfo:
{"sessionkey":"bKgNoaskvKmQI0pYS/9DuT4raSA\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"d84de96a-1495-11e4-ba8d-000c29a411ce","isPublic":"false","isdynamicallyscalable":"false","response":"json","id":"230","ctxDetails":"{\"com.cloud.storage.Snapshot\":\"907fc0e

console view not coming

2014-05-05 Thread raja sekhar
hii all,

After upgrading from cloudstack 4.2 to cloudstack 4.3,when i click on
console view it shows that google crome(The server refused the connection)
and firefox(can't establish a connection to the server).



regards,
rajasekhar


Re: cloudstack login page - http error 4

2014-04-04 Thread raja sekhar
hii prakash,
just restart the cloud setup once again and try.

regards,
rajasekhar.


On Fri, Apr 4, 2014 at 1:37 PM, Prakash Rao Banuka  wrote:

> Hi All:
>
> Installed multimode, it was working fine but next day
> When I turn it on , while accessing cloudstack login page, it says http
> error 404
>
> Any highlights on this please
>
> Thank you
> Prakash
>
>


Re: Review Request 19635: CLOUDSTACK-6015: Add tests for adding/deleting new user account, adding/deleting user.

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar



On Wed, Mar 26, 2014 at 2:28 AM, Yichi Lu  wrote:

>
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19635/
> ---
>
> Review request for cloudstack and Sebastien Goasguen.
>
>
> Repository: cloudstack-git
>
>
> Description
> ---
>
> CLOUDSTACK-6015
> Following tests are new (need to be run in the order displayed):
> adduseraccount_test.py
> adduser_test.py
> login_logout_as_JohnD_test.py(new account's username is JohnD)
> deleteuser_test.py
> deleteuseraccount_test.py
>
>
> Diffs
> -
>
>   test/selenium/common/shared.py b4f537f
>   test/selenium/cspages/accounts/accountspage.py PRE-CREATION
>   test/selenium/cspages/accounts/userspage.py PRE-CREATION
>   test/selenium/cspages/cspage.py PRE-CREATION
>   test/selenium/cspages/dashboard/dashboardpage.py 4394199
>   test/selenium/cspages/login/loginpage.py e7795d9
>   test/selenium/cstests/smoketests/adduser_test.py PRE-CREATION
>   test/selenium/cstests/smoketests/adduseraccount_test.py PRE-CREATION
>   test/selenium/cstests/smoketests/deleteuser_test.py PRE-CREATION
>   test/selenium/cstests/smoketests/deleteuseraccount_test.py PRE-CREATION
>   test/selenium/cstests/smoketests/login_logout_as_JohnD_test.py
> PRE-CREATION
>   test/selenium/cstests/smoketests/smokecfg.py 8bbb350
>
> Diff: https://reviews.apache.org/r/19635/diff/
>
>
> Testing
> ---
>
> tested against CloudStack 4.5.0-SNAPSHOT. Patch generated against the
> latest master.
> (Hope this time I did it right)
>
>
> Thanks,
>
> Yichi Lu
>
>


Re: [QUESTION] Unsupported operation on VMware?

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar



On Wed, Mar 26, 2014 at 2:30 AM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> I can create a VM from an ISO, but I don't think the CopyCommand is
> involved there.
>
>
> On Tue, Mar 25, 2014 at 2:59 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
> > I assume - regardless of the hosts in my VMware cluster - that the
> > commands the management server sends should be to the vCenter Server,
> right?
> >
> >
> > On Tue, Mar 25, 2014 at 2:58 PM, Mike Tutkowski <
> > mike.tutkow...@solidfire.com> wrote:
> >
> >> Hi,
> >>
> >> I've noticed the following exception on VMware on 4.4 (when trying to
> >> create a VM from a template and when trying to create a template from a
> >> volume):
> >>
> >> Unsupported command
> >> issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure
> you
> >> got the right type of server?
> >>
> >> Any thoughts on why I might be getting this error?
> >>
> >> Thanks,
> >>
> >> --
> >> *Mike Tutkowski*
> >> *Senior CloudStack Developer, SolidFire Inc.*
> >> e: mike.tutkow...@solidfire.com
> >> o: 303.746.7302
> >> Advancing the way the world uses the cloud<
> http://solidfire.com/solution/overview/?video=play>
> >> *(tm)*
> >>
> >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the cloud<
> http://solidfire.com/solution/overview/?video=play>
> > *(tm)*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *(tm)*
>


Re: 4.5 version is missing in Jira

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar



On Wed, Mar 26, 2014 at 2:24 AM, David Nalley  wrote:

> Done
>
>
> On Tue, Mar 25, 2014 at 1:33 PM, Alena Prokharchyk
>  wrote:
> > I've noticed that 4.5 version is missing in Apache CS Jira. Whoever has
> an admin privileges, can you please add it?
> >
> > Thanks!
> > Alena.
>


Re: Review Request 19676: CLOUDSTACK-5674: Added few fixes for the bug

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar





On Wed, Mar 26, 2014 at 4:14 PM, Santhosh Edukulla <
santhosh.eduku...@citrix.com> wrote:

>
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19676/
> ---
>
> Review request for cloudstack and Girish Shilamkar.
>
>
> Bugs: CLOUDSTACK-5674
> https://issues.apache.org/jira/browse/CLOUDSTACK-5674
>
>
> Repository: cloudstack-git
>
>
> Description
> ---
>
> Added few changes for CLOUDSTACK-5674
>
>
> Diffs
> -
>
>   tools/marvin/marvin/lib/common.py 77527ad
>   tools/marvin/marvin/marvinInit.py 5059cdb
>   tools/marvin/marvin/marvinPlugin.py 222b357
>
> Diff: https://reviews.apache.org/r/19676/diff/
>
>
> Testing
> ---
>
> Tested locally to run changes and it works.
>
>
> Thanks,
>
> Santhosh Edukulla
>
>