[jira] [Commented] (CLOUDSTACK-9026) Modifying testpath for adding missing parameter

2016-02-19 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153959#comment-15153959
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9026:


Github user shwetaag commented on the pull request:

https://github.com/apache/cloudstack/pull/1031#issuecomment-186124001
  
did cod walk thought. Looks good to me .


> Modifying testpath for adding missing parameter
> ---
>
> Key: CLOUDSTACK-9026
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9026
> Project: CloudStack
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Reporter: Priti Sarap
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CLOUDSTACK-9291) Query to traffic sentinel requesting for usage stats is too long resulting in traffic sentinel sending HTTP 414 error response.

2016-02-19 Thread Kshitij Kansal (JIRA)
Kshitij Kansal created CLOUDSTACK-9291:
--

 Summary: Query to traffic sentinel requesting for usage stats is 
too long resulting in traffic sentinel sending HTTP 414 error response.
 Key: CLOUDSTACK-9291
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9291
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Kshitij Kansal
Assignee: Kshitij Kansal


The query sent to traffic sentinel resource(sent via GET method), is too long. 
Resulting in the HTTP ERROR 414 - URI too long. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9026) Modifying testpath for adding missing parameter

2016-02-19 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154113#comment-15154113
 ] 

ASF subversion and git services commented on CLOUDSTACK-9026:
-

Commit ee150aa631e66910a7d1cb1203147c6ed5495737 in cloudstack's branch 
refs/heads/master from sanjeev
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ee150aa ]

Merge pull request #1031 from 
pritisarap12/CLOUDSTACK-9026-Modifying-testpath-for-adding-missing-parameter

CLOUDSTACK-9026: Modifying testpath for adding missing parameterAdding 
service_offering creation in testpath_storage_migration.py testpath which is 
missing right now

* pr/1031:
  CLOUDSTACK-9026: Modifying testpath for adding missing parameter

Signed-off-by: sanjeev 


> Modifying testpath for adding missing parameter
> ---
>
> Key: CLOUDSTACK-9026
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9026
> Project: CloudStack
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Reporter: Priti Sarap
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9026) Modifying testpath for adding missing parameter

2016-02-19 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154111#comment-15154111
 ] 

ASF subversion and git services commented on CLOUDSTACK-9026:
-

Commit 207b7e3b5004b930abbb0b2ecbda5aa79909ee5f in cloudstack's branch 
refs/heads/master from [~pritisarap12]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=207b7e3 ]

CLOUDSTACK-9026: Modifying testpath for adding missing parameter


> Modifying testpath for adding missing parameter
> ---
>
> Key: CLOUDSTACK-9026
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9026
> Project: CloudStack
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Reporter: Priti Sarap
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9026) Modifying testpath for adding missing parameter

2016-02-19 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154112#comment-15154112
 ] 

ASF subversion and git services commented on CLOUDSTACK-9026:
-

Commit ee150aa631e66910a7d1cb1203147c6ed5495737 in cloudstack's branch 
refs/heads/master from sanjeev
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ee150aa ]

Merge pull request #1031 from 
pritisarap12/CLOUDSTACK-9026-Modifying-testpath-for-adding-missing-parameter

CLOUDSTACK-9026: Modifying testpath for adding missing parameterAdding 
service_offering creation in testpath_storage_migration.py testpath which is 
missing right now

* pr/1031:
  CLOUDSTACK-9026: Modifying testpath for adding missing parameter

Signed-off-by: sanjeev 


> Modifying testpath for adding missing parameter
> ---
>
> Key: CLOUDSTACK-9026
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9026
> Project: CloudStack
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Reporter: Priti Sarap
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9026) Modifying testpath for adding missing parameter

2016-02-19 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154114#comment-15154114
 ] 

ASF subversion and git services commented on CLOUDSTACK-9026:
-

Commit ee150aa631e66910a7d1cb1203147c6ed5495737 in cloudstack's branch 
refs/heads/master from sanjeev
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ee150aa ]

Merge pull request #1031 from 
pritisarap12/CLOUDSTACK-9026-Modifying-testpath-for-adding-missing-parameter

CLOUDSTACK-9026: Modifying testpath for adding missing parameterAdding 
service_offering creation in testpath_storage_migration.py testpath which is 
missing right now

* pr/1031:
  CLOUDSTACK-9026: Modifying testpath for adding missing parameter

Signed-off-by: sanjeev 


> Modifying testpath for adding missing parameter
> ---
>
> Key: CLOUDSTACK-9026
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9026
> Project: CloudStack
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Reporter: Priti Sarap
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9026) Modifying testpath for adding missing parameter

2016-02-19 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154115#comment-15154115
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9026:


Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/1031


> Modifying testpath for adding missing parameter
> ---
>
> Key: CLOUDSTACK-9026
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9026
> Project: CloudStack
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Reporter: Priti Sarap
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9209) Database HA not working on a fresh install on Ubuntu 12.04

2016-02-19 Thread Simon Weller (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154586#comment-15154586
 ] 

Simon Weller commented on CLOUDSTACK-9209:
--

Have you got the MySQL ha jar working on Centos 7, with 4.7.x?

> Database HA not working on a fresh install on Ubuntu 12.04
> --
>
> Key: CLOUDSTACK-9209
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9209
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Install and Setup
>Affects Versions: 4.7.0
> Environment: Two Ubuntu 12.04 Management Servers, Mysql Master Master 
> Replication, Official community repository: 
> http://cloudstack.apt-get.eu/ubuntu/dists/precise/4.7/
>Reporter: Thomas
>Priority: Blocker
>
> The cloudstack-management service will not come up because of this error:
> 2016-01-05 16:15:00,899 INFO  [c.c.u.d.T.Transaction] (main:null) (logid:) Is 
> Data Base High Availiability enabled? Ans : true
> 2016-01-05 16:15:00,924 INFO  [c.c.u.d.T.Transaction] (main:null) (logid:) 
> The slaves configured for Cloud Data base is/are : 192.168.0.90
> 2016-01-05 16:15:00,974 ERROR [c.c.u.d.Merovingian2] (main:null) (logid:) 
> 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:279)
> 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:202)
> at com.cloud.utils.db.Merovingian2.(Merovingian2.java:68)
> at 
> com.cloud.utils.db.Merovingian2.createLockMaster(Merovingian2.java:88)
> at 
> com.cloud.server.LockMasterListener.(LockMasterListener.java:33)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at 
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
> at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
> at 
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1077)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:981)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
> at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
> at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
> a

[jira] [Commented] (CLOUDSTACK-9211) Support passing vRAM size over to Esxi hypervisor to support 3D GPU on Vmware

2016-02-19 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155106#comment-15155106
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9211:


Github user nvazquez commented on the pull request:

https://github.com/apache/cloudstack/pull/1310#issuecomment-186444960
  
Hi @bhaisaab sorry I couldn't post this earlier but I've been working on 
another pull request and couldn't be able to test this one before.

As my chages affects vm deployments, I only ran 
test_deploy_vms_with_varied_deploymentplanners.py, 
test_reset_vm_on_reboot.py and test_vm_life_cycle.py 
but I can run all the test if you want

```
# nosetests --with-marvin --marvin-config=setup/dev/advanced.cfg.new 
test/integration/smoke/test_deploy_vms_with_varied_deploymentplanners.py 
test/integration/smoke/test_reset_vm_on_reboot.py

 Marvin Init Started 

=== Marvin Parse Config Successful ===

=== Marvin Setting TestData Successful===

 Log Folder Path: /tmp//MarvinLogs//Feb_19_2016_14_55_40_UF5PE3. All 
logs will be available here 

=== Marvin Init Logging Successful===

 Marvin Init Successful 
===final results are now copied to: 
/tmp//MarvinLogs/test_reset_vm_on_reboot_S6H4PW===
```

```
# cat /tmp//MarvinLogs/test_reset_vm_on_reboot_S6H4PW/results.txt
Test to deploy vm with a first fit offering ... === TestName: 
test_deployvm_firstfit | Status : SUCCESS ===
ok
Test deploy VMs using user concentrated planner ... === TestName: 
test_deployvm_userconcentrated | Status : SUCCESS ===
ok
Test deploy VMs using user dispersion planner ... === TestName: 
test_deployvm_userdispersing | Status : SUCCESS ===
ok
Test reset virtual machine on reboot ... === TestName: 
test_01_reset_vm_on_reboot | Status : SUCCESS ===
ok

--
Ran 4 tests in 571.499s

OK
```






> Support passing vRAM size over to Esxi hypervisor to support 3D GPU on Vmware
> -
>
> Key: CLOUDSTACK-9211
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9211
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: VMware
>Affects Versions: 4.8.0
>Reporter: Nicolas Vazquez
> Fix For: 4.8.0
>
>
> CS support passing hypervisor options by creating entries in 
> {{vm_template_details}} or {{user_vm_details}}
> To enable software 3D GPU 4 options needs to be added:
> ||name||value||
> |mks.enable3d|true|
> |mks.use3dRenderer|automatic|
> |svga.autodetect|false|
> |svga.vramSize|(size in KB) e.g. 131072|
> Currently all options except {{svga.vramSize}} works, VMs always get 
> configured with default 64Mb videoRAM instead of the one provided on the 
> option.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CLOUDSTACK-9292) Failed to create snapshot with Swift on KVM

2016-02-19 Thread Yuriy Karpel (JIRA)
Yuriy Karpel created CLOUDSTACK-9292:


 Summary: Failed to create snapshot with Swift on KVM
 Key: CLOUDSTACK-9292
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9292
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: KVM, Secondary Storage, Snapshot
Affects Versions: 4.7.0
 Environment: CentOS 7, Cloudstack 4.7, Ceph V9.2.0 INFERNALIS.
Reporter: Yuriy Karpel


Failed to create snapshot with Swift on KVM
Steps to Reproduce:
=
1.Bring up CS with KVM cluster using Swift(radosgw) for secondary, NFS for 
secondary staging, and rbd for primary
2.Deploy guest vm using default cent os template with both root and data disk
3.Create snapshot on root/data disk
Result:
=
Snapshot creation failed with CloudRuntimeException: unsupported protocol

Snapshot is created on secondary staging storage but failed to copy to 
secondary storage.
Following is the log snippet:


{code}
2016-02-20 10:25:46,977 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-13:ctx-4728df07 ctx-3a589bea) (logid:e2d53208) submit async 
job-2728, details: AsyncJobVO {id:2728, userId: 10, accountId: 7, instanceType: 
Snapshot, instanceId: 19, cmd: 
org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdInfo: 
{"quiescevm":"false","httpmethod":"GET","ctxAccountId":"7","uuid":"09a17747-dc55-438f-83b0-49538c1eef78","cmdEventType":"SNAPSHOT.CREATE","response":"json","ctxUserId":"10","volumeId":"9ddc9e9a-e98a-4049-b5e8-59f670e3f077","name":"test","ctxStartEventId":"7582","id":"19","ctxDetails":"{\"interface
 
com.cloud.storage.Snapshot\":\"09a17747-dc55-438f-83b0-49538c1eef78\",\"interface
 
com.cloud.storage.Volume\":\"9ddc9e9a-e98a-4049-b5e8-59f670e3f077\"}","_":"1455953146647"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 90212275930085, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2016-02-20 10:25:46,979 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-4728df07 
ctx-3a589bea) (logid:e2d53208) ===END===  10.30.10.41 -- GET  
command=createSnapshot&response=json&volumeId=9ddc9e9a-e98a-4049-b5e8-59f670e3f077&quiescevm=false&name=test&_=1455953146647
2016-02-20 10:25:46,982 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-2:ctx-22ae7862 job-2728) (logid:a5032eea) Executing 
AsyncJobVO {id:2728, userId: 10, accountId: 7, instanceType: Snapshot, 
instanceId: 19, cmd: 
org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdInfo: 
{"quiescevm":"false","httpmethod":"GET","ctxAccountId":"7","uuid":"09a17747-dc55-438f-83b0-49538c1eef78","cmdEventType":"SNAPSHOT.CREATE","response":"json","ctxUserId":"10","volumeId":"9ddc9e9a-e98a-4049-b5e8-59f670e3f077","name":"test","ctxStartEventId":"7582","id":"19","ctxDetails":"{\"interface
 
com.cloud.storage.Snapshot\":\"09a17747-dc55-438f-83b0-49538c1eef78\",\"interface
 
com.cloud.storage.Volume\":\"9ddc9e9a-e98a-4049-b5e8-59f670e3f077\"}","_":"1455953146647"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 90212275930085, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2016-02-20 10:25:48,127 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Work-Job-Executor-2:ctx-6fb5a754 job-2728/job-2731) (logid:a5032eea) Executing 
AsyncJobVO {id:2731, userId: 10, accountId: 7, instanceType: null, instanceId: 
null, cmd: com.cloud.vm.VmWorkTakeVolumeSnapshot, cmdInfo: 
rO0ABXNyACVjb20uY2xvdWQudm0uVm1Xb3JrVGFrZVZvbHVtZVNuYXBzaG90BL5gG4Li1c8CAARaAAlxdWllc2NlVm1MAAhwb2xpY3lJZHQAEExqYXZhL2xhbmcvTG9uZztMAApzbmFwc2hvdElkcQB-AAFMAAh2b2x1bWVJZHEAfgABeHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAcACgBpdAAUVm9sdW1lQXBpU2VydmljZUltcGwAc3IADmphdmEubGFuZy5Mb25nO4vkkMyPI98CAAFKAAV2YWx1ZXhyABBqYXZhLmxhbmcuTnVtYmVyhqyVHQuU4IsCAAB4cAAAc3EAfgAGABNzcQB-AAYBfg,
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 90212275930085, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: Sat Feb 20 10:25:47 MSK 2016}
2016-02-20 10:25:48,128 DEBUG [c.c.v.VmWorkJobDispatcher] 
(Work-Job-Executor-2:ctx-6fb5a754 job-2728/job-2731) (logid:a5032eea) Run VM 
work job: com.cloud.vm.VmWorkTakeVolumeSnapshot for VM 105, job origin: 2728
2016-02-20 10:25:48,137 DEBUG [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-2:ctx-6fb5a754 job-2728/job-2731 ctx-5ae19c97) 
(logid:a5032eea) Execute VM work job: 
com.cloud.vm.VmWorkTakeVolumeSnapshot{"volumeId":382,"policyId":0,"snapshotId":19,"quiesceVm":false,"userId":10,"accountId":7,"vmId":105,"handlerName":"VolumeApiServiceImpl"}
2016-02-20 10:25:48,407 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] 
(Work-Jo