[jira] [Created] (CLOUDSTACK-7355) [automation] test_netscaler_configs.py uses hardcoded NetScaler credentials

2014-08-15 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-7355:
--

 Summary: [automation] test_netscaler_configs.py uses hardcoded 
NetScaler credentials
 Key: CLOUDSTACK-7355
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7355
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
 Fix For: 4.5.0


test_netscaler_configs.py uses hardcoded NetScaler credentials.  This makes it 
impossible to execute this code without first editing it.

Suggest adding the NetScaler credentials to Marvin test_data



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-7355) [automation] test_netscaler_configs.py uses hardcoded NetScaler credentials

2014-08-15 Thread Doug Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14099252#comment-14099252
 ] 

Doug Clark commented on CLOUDSTACK-7355:


https://reviews.apache.org/r/24749/

 [automation] test_netscaler_configs.py uses hardcoded NetScaler credentials
 ---

 Key: CLOUDSTACK-7355
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7355
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
 Fix For: 4.5.0


 test_netscaler_configs.py uses hardcoded NetScaler credentials.  This makes 
 it impossible to execute this code without first editing it.
 Suggest adding the NetScaler credentials to Marvin test_data



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CLOUDSTACK-7281) Marvin test_vm_life_cycle.py:test_basicZoneVirtualRouter fails due to invalid debug statement

2014-08-07 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-7281:
--

 Summary: Marvin test_vm_life_cycle.py:test_basicZoneVirtualRouter 
fails due to invalid debug statement
 Key: CLOUDSTACK-7281
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7281
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Blocker
 Fix For: Future, 4.5.0


Debug line in test_vm_life_cycle.py:test_basicZoneVirtualRouter references 
invalid attribute of self:

'TestDeployVM' object has no attribute 'virtual_machine2'

This is a regression caused by this commit: 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=1e3a689793278bb58a864a6fce266240f8f2c827



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-7281) Marvin test_vm_life_cycle.py:test_basicZoneVirtualRouter fails due to invalid debug statement

2014-08-07 Thread Doug Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14089266#comment-14089266
 ] 

Doug Clark commented on CLOUDSTACK-7281:


https://reviews.apache.org/r/24452/

 Marvin test_vm_life_cycle.py:test_basicZoneVirtualRouter fails due to invalid 
 debug statement
 -

 Key: CLOUDSTACK-7281
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7281
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Blocker
 Fix For: Future, 4.5.0

   Original Estimate: 2.4h
  Remaining Estimate: 2.4h

 Debug line in test_vm_life_cycle.py:test_basicZoneVirtualRouter references 
 invalid attribute of self:
 'TestDeployVM' object has no attribute 'virtual_machine2'
 This is a regression caused by this commit: 
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=1e3a689793278bb58a864a6fce266240f8f2c827



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CLOUDSTACK-7269) test_escalations_instances.py tries to expunge VM from non-Admin account

2014-08-07 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark resolved CLOUDSTACK-7269.


Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=a75646b1852bb6b9f23e62b06e57b7c2afc7115b

 test_escalations_instances.py tries to expunge VM from non-Admin account
 

 Key: CLOUDSTACK-7269
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7269
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Critical
 Fix For: Future, 4.5.0

   Original Estimate: 2.4h
  Remaining Estimate: 2.4h

 test_01_list_instances_pagination and test_04_list_Destroyed_vm both try and 
 expunge a VM from a non-Admin account resulting in API failure:
 {errorcode : 530, errortext : u'Parameter expunge can be passed by Admin 
 only'}
 This bug was introduced by this change set:
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=c32b19a07d0eaa6dc0195ecf1aa9b952a91dc997



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CLOUDSTACK-7256) test_06_destroy_vm smoke test failing due to incorrect expunge parameter

2014-08-07 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark resolved CLOUDSTACK-7256.


Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=f7c72cdedc0f91a1ef3038e2ab2075add712e665

 test_06_destroy_vm smoke test failing due to incorrect expunge parameter
 

 Key: CLOUDSTACK-7256
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7256
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Blocker
 Fix For: Future, 4.5.0

   Original Estimate: 2.4h
  Remaining Estimate: 2.4h

 test_06_destroy_vm smoke test fails because the test expunges the VM.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CLOUDSTACK-7281) Marvin test_vm_life_cycle.py:test_basicZoneVirtualRouter fails due to invalid debug statement

2014-08-07 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark resolved CLOUDSTACK-7281.


Resolution: Fixed

 Marvin test_vm_life_cycle.py:test_basicZoneVirtualRouter fails due to invalid 
 debug statement
 -

 Key: CLOUDSTACK-7281
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7281
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Blocker
 Fix For: Future, 4.5.0

   Original Estimate: 2.4h
  Remaining Estimate: 2.4h

 Debug line in test_vm_life_cycle.py:test_basicZoneVirtualRouter references 
 invalid attribute of self:
 'TestDeployVM' object has no attribute 'virtual_machine2'
 This is a regression caused by this commit: 
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=1e3a689793278bb58a864a6fce266240f8f2c827



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CLOUDSTACK-7287) listIsos returns empty status

2014-08-07 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-7287:
--

 Summary: listIsos returns empty status
 Key: CLOUDSTACK-7287
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7287
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: API, Management Server
Affects Versions: 4.5.0
 Environment: Advanced Zone deployment: 1 Zone, 1 Pod, 1 Custer, 2x 
XenServer 6.2.0 hosts
Reporter: Doug Clark
Priority: Critical
 Fix For: 4.5.0


This issues cases basic validation tests to fail 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle.test_10_attachAndDetach_iso)

*Steps to reproduce:*
1 - Register an ISO - this appears to succeed
{noformat}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Payload: 
{'account': u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', 
'domainid': u'8b113124-1e41-11e4-93e7-928e4d7c768a', 'name': u'ISO 1', 
'ispublic': True, 'isextractable': True, 'zoneid': 
u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', 'isfeatured': True, 'apiKey': 
u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
 'displaytext': u'Test ISO 1', 'ostypeid': 
u'8b23076e-1e41-11e4-93e7-928e4d7c768a', 'signature': 
'nzuaT3TOXRHHmlofoKzunO+sYq0=', 'url': 
u'http://people.apache.org/~tsp/dummy.iso', 'command': 'registerIso', 
'response': 'json'}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Sending 
GET Cmd : registerIso===
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.220.135.8
requests.packages.urllib3.connectionpool: DEBUG: GET 
/client/api?account=test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8Tdomainid=8b113124-1e41-11e4-93e7-928e4d7c768aname=ISO+1isfeatured=Trueispublic=Trueisextractable=Truezoneid=6c65f2f9-5dc3-4884-80fb-b78b85fd3f9curl=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.isoapiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQdisplaytext=Test+ISO+1ostypeid=8b23076e-1e41-11e4-93e7-928e4d7c768asignature=nzuaT3TOXRHHmlofoKzunO%2BsYq0%3Dcommand=registerIsoresponse=json
 HTTP/1.1 200 630
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Response : 
[{status : u'', ostypename : u'CentOS 5.6 (64-bit)', isready : False, domainid 
: u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created : 
u'2014-08-07T15:38:46+', bootable : True, isdynamicallyscalable : False, 
ispublic : True, account : 
u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', isextractable : True, 
zoneid : u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', isfeatured : False, 
displaytext : u'Test ISO 1', ostypeid : 
u'8b23076e-1e41-11e4-93e7-928e4d7c768a', domain : u'ROOT', crossZones : False, 
id : u'a093a29a-f12b-4b48-856f-d385dadc5478', tags : [], zonename : 
u'XenRT-Zone-0'}]
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Successfully 
created ISO with ID: a093a29a-f12b-4b48-856f-d385dadc5478
{noformat}

2 - Call listIsos - the ISO from step 1 is listed but the status parameter is 
empty 
{noformat}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Payload: 
{'apiKey': 
u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
 'response': 'json', 'command': 'listIsos', 'signature': 
'aiTQBwVzDZ1QZFLIMDz4PP4dckA=', 'id': u'a093a29a-f12b-4b48-856f-d385dadc5478'}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Sending 
GET Cmd : listIsos===
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.220.135.8
requests.packages.urllib3.connectionpool: DEBUG: GET 
/client/api?id=a093a29a-f12b-4b48-856f-d385dadc5478apiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQcommand=listIsosresponse=jsonsignature=aiTQBwVzDZ1QZFLIMDz4PP4dckA%3D
 HTTP/1.1 200 628
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Response : 
[{status : u' ', ostypename : u'CentOS 5.6 (64-bit)', isready : False, domainid 
: u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created : 
u'2014-08-07T15:38:46+', bootable : True, isdynamicallyscalable : False, 
ispublic : True, account : 
u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', isextractable : True, 
zoneid : u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', isfeatured : False, 
displaytext : u'Test ISO 1', ostypeid : 
u'8b23076e-1e41-11e4-93e7-928e4d7c768a', domain : u'ROOT', crossZones : False, 
id : u'a093a29a-f12b-4b48-856f-d385dadc5478', tags : [], zonename : 
u'XenRT-Zone-0'}]
{noformat}




--
This message was sent by Atlassian JIRA

[jira] [Updated] (CLOUDSTACK-7287) listIsos returns empty status

2014-08-07 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-7287:
---

Attachment: management-server.log

 listIsos returns empty status
 -

 Key: CLOUDSTACK-7287
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7287
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API, Management Server
Affects Versions: 4.5.0
 Environment: Advanced Zone deployment: 1 Zone, 1 Pod, 1 Custer, 2x 
 XenServer 6.2.0 hosts
Reporter: Doug Clark
Priority: Critical
 Fix For: 4.5.0

 Attachments: management-server.log


 This issues cases basic validation tests to fail 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle.test_10_attachAndDetach_iso)
 *Steps to reproduce:*
 1 - Register an ISO - this appears to succeed
 {noformat}
 test_10_attachAndDetach_iso 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Payload: 
 {'account': u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', 
 'domainid': u'8b113124-1e41-11e4-93e7-928e4d7c768a', 'name': u'ISO 1', 
 'ispublic': True, 'isextractable': True, 'zoneid': 
 u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', 'isfeatured': True, 'apiKey': 
 u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
  'displaytext': u'Test ISO 1', 'ostypeid': 
 u'8b23076e-1e41-11e4-93e7-928e4d7c768a', 'signature': 
 'nzuaT3TOXRHHmlofoKzunO+sYq0=', 'url': 
 u'http://people.apache.org/~tsp/dummy.iso', 'command': 'registerIso', 
 'response': 'json'}
 test_10_attachAndDetach_iso 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: 
 Sending GET Cmd : registerIso===
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.220.135.8
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?account=test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8Tdomainid=8b113124-1e41-11e4-93e7-928e4d7c768aname=ISO+1isfeatured=Trueispublic=Trueisextractable=Truezoneid=6c65f2f9-5dc3-4884-80fb-b78b85fd3f9curl=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.isoapiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQdisplaytext=Test+ISO+1ostypeid=8b23076e-1e41-11e4-93e7-928e4d7c768asignature=nzuaT3TOXRHHmlofoKzunO%2BsYq0%3Dcommand=registerIsoresponse=json
  HTTP/1.1 200 630
 test_10_attachAndDetach_iso 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Response : 
 [{status : u'', ostypename : u'CentOS 5.6 (64-bit)', isready : False, 
 domainid : u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created 
 : u'2014-08-07T15:38:46+', bootable : True, isdynamicallyscalable : 
 False, ispublic : True, account : 
 u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', isextractable : 
 True, zoneid : u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', isfeatured : False, 
 displaytext : u'Test ISO 1', ostypeid : 
 u'8b23076e-1e41-11e4-93e7-928e4d7c768a', domain : u'ROOT', crossZones : 
 False, id : u'a093a29a-f12b-4b48-856f-d385dadc5478', tags : [], zonename : 
 u'XenRT-Zone-0'}]
 test_10_attachAndDetach_iso 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Successfully 
 created ISO with ID: a093a29a-f12b-4b48-856f-d385dadc5478
 {noformat}
 2 - Call listIsos - the ISO from step 1 is listed but the status parameter is 
 empty 
 {noformat}
 test_10_attachAndDetach_iso 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Payload: 
 {'apiKey': 
 u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
  'response': 'json', 'command': 'listIsos', 'signature': 
 'aiTQBwVzDZ1QZFLIMDz4PP4dckA=', 'id': u'a093a29a-f12b-4b48-856f-d385dadc5478'}
 test_10_attachAndDetach_iso 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: 
 Sending GET Cmd : listIsos===
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.220.135.8
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?id=a093a29a-f12b-4b48-856f-d385dadc5478apiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQcommand=listIsosresponse=jsonsignature=aiTQBwVzDZ1QZFLIMDz4PP4dckA%3D
  HTTP/1.1 200 628
 test_10_attachAndDetach_iso 
 (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Response : 
 [{status : u' ', ostypename : u'CentOS 5.6 (64-bit)', isready : False, 
 domainid : u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created 
 : u'2014-08-07T15:38:46+', bootable : True, isdynamicallyscalable : 
 False, ispublic : True, account : 
 u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', isextractable : 
 True, zoneid : 

[jira] [Updated] (CLOUDSTACK-7287) listIsos returns empty status

2014-08-07 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-7287:
---

Description: 
This issues cases basic validation tests to fail 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle.test_10_attachAndDetach_iso)

*Steps to reproduce:*
1 - Register an ISO - this appears to succeed
{noformat}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Payload: 
{'account': u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', 
'domainid': u'8b113124-1e41-11e4-93e7-928e4d7c768a', 'name': u'ISO 1', 
'ispublic': True, 'isextractable': True, 'zoneid': 
u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', 'isfeatured': True, 'apiKey': 
u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
 'displaytext': u'Test ISO 1', 'ostypeid': 
u'8b23076e-1e41-11e4-93e7-928e4d7c768a', 'signature': 
'nzuaT3TOXRHHmlofoKzunO+sYq0=', 'url': 
u'http://people.apache.org/~tsp/dummy.iso', 'command': 'registerIso', 
'response': 'json'}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Sending 
GET Cmd : registerIso===
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.220.135.8
requests.packages.urllib3.connectionpool: DEBUG: GET 
/client/api?account=test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8Tdomainid=8b113124-1e41-11e4-93e7-928e4d7c768aname=ISO+1isfeatured=Trueispublic=Trueisextractable=Truezoneid=6c65f2f9-5dc3-4884-80fb-b78b85fd3f9curl=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.isoapiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQdisplaytext=Test+ISO+1ostypeid=8b23076e-1e41-11e4-93e7-928e4d7c768asignature=nzuaT3TOXRHHmlofoKzunO%2BsYq0%3Dcommand=registerIsoresponse=json
 HTTP/1.1 200 630
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Response : 
[{status : u'', ostypename : u'CentOS 5.6 (64-bit)', isready : False, domainid 
: u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created : 
u'2014-08-07T15:38:46+', bootable : True, isdynamicallyscalable : False, 
ispublic : True, account : 
u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', isextractable : True, 
zoneid : u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', isfeatured : False, 
displaytext : u'Test ISO 1', ostypeid : 
u'8b23076e-1e41-11e4-93e7-928e4d7c768a', domain : u'ROOT', crossZones : False, 
id : u'a093a29a-f12b-4b48-856f-d385dadc5478', tags : [], zonename : 
u'XenRT-Zone-0'}]
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Successfully 
created ISO with ID: a093a29a-f12b-4b48-856f-d385dadc5478
{noformat}

2 - Call listIsos - the ISO from step 1 is listed but the status parameter is 
empty 
{noformat}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Payload: 
{'apiKey': 
u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
 'response': 'json', 'command': 'listIsos', 'signature': 
'aiTQBwVzDZ1QZFLIMDz4PP4dckA=', 'id': u'a093a29a-f12b-4b48-856f-d385dadc5478'}
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Sending 
GET Cmd : listIsos===
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.220.135.8
requests.packages.urllib3.connectionpool: DEBUG: GET 
/client/api?id=a093a29a-f12b-4b48-856f-d385dadc5478apiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQcommand=listIsosresponse=jsonsignature=aiTQBwVzDZ1QZFLIMDz4PP4dckA%3D
 HTTP/1.1 200 628
test_10_attachAndDetach_iso 
(integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG: Response : 
[{status : u' ', ostypename : u'CentOS 5.6 (64-bit)', isready : False, domainid 
: u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created : 
u'2014-08-07T15:38:46+', bootable : True, isdynamicallyscalable : False, 
ispublic : True, account : 
u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', isextractable : True, 
zoneid : u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', isfeatured : False, 
displaytext : u'Test ISO 1', ostypeid : 
u'8b23076e-1e41-11e4-93e7-928e4d7c768a', domain : u'ROOT', crossZones : False, 
id : u'a093a29a-f12b-4b48-856f-d385dadc5478', tags : [], zonename : 
u'XenRT-Zone-0'}]
{noformat}

From apilog.log
{noformat}
2014-08-07 15:39:47,039 INFO  [a.c.c.a.ApiServer] (catalina-exec-9:ctx-500db984 
ctx-8881134d ctx-61bad595) (userId=2 accountId=2 sessionId=null) 10.220.135.9 
-- GET 
id=a093a29a-f12b-4b48-856f-d385dadc5478apiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQcommand=listIsosresponse=jsonsignature=aiTQBwVzDZ1QZFLIMDz4PP4dckA%3D
 200 { listisosresponse : { count:1 ,iso : [  

[jira] [Created] (CLOUDSTACK-7269) test_escalations_instances.py tries to expunge VM from non-Admin account

2014-08-06 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-7269:
--

 Summary: test_escalations_instances.py tries to expunge VM from 
non-Admin account
 Key: CLOUDSTACK-7269
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7269
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Critical
 Fix For: Future, 4.5.0


test_01_list_instances_pagination and test_04_list_Destroyed_vm both try and 
expunge a VM from a non-Admin account resulting in API failure:
{errorcode : 530, errortext : u'Parameter expunge can be passed by Admin only'}

This bug was introduced by this change set:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=c32b19a07d0eaa6dc0195ecf1aa9b952a91dc997




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-7269) test_escalations_instances.py tries to expunge VM from non-Admin account

2014-08-06 Thread Doug Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14087621#comment-14087621
 ] 

Doug Clark commented on CLOUDSTACK-7269:


https://reviews.apache.org/r/24379/

 test_escalations_instances.py tries to expunge VM from non-Admin account
 

 Key: CLOUDSTACK-7269
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7269
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Critical
 Fix For: Future, 4.5.0

   Original Estimate: 2.4h
  Remaining Estimate: 2.4h

 test_01_list_instances_pagination and test_04_list_Destroyed_vm both try and 
 expunge a VM from a non-Admin account resulting in API failure:
 {errorcode : 530, errortext : u'Parameter expunge can be passed by Admin 
 only'}
 This bug was introduced by this change set:
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=c32b19a07d0eaa6dc0195ecf1aa9b952a91dc997



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CLOUDSTACK-7256) test_06_destroy_vm smoke test failing due to incorrect expunge parameter

2014-08-05 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-7256:
--

 Summary: test_06_destroy_vm smoke test failing due to incorrect 
expunge parameter
 Key: CLOUDSTACK-7256
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7256
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Blocker
 Fix For: Future, 4.5.0


test_06_destroy_vm smoke test fails because the test expunges the VM.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CLOUDSTACK-7256) test_06_destroy_vm smoke test failing due to incorrect expunge parameter

2014-08-05 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-7256:
---


https://reviews.apache.org/r/23986/

 test_06_destroy_vm smoke test failing due to incorrect expunge parameter
 

 Key: CLOUDSTACK-7256
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7256
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: marvin
Affects Versions: Future, 4.5.0
Reporter: Doug Clark
Assignee: Doug Clark
Priority: Blocker
 Fix For: Future, 4.5.0

   Original Estimate: 2.4h
  Remaining Estimate: 2.4h

 test_06_destroy_vm smoke test fails because the test expunges the VM.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CLOUDSTACK-7029) listCapacity fails when podid argument is specified

2014-07-01 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-7029:
--

 Summary: listCapacity fails when podid argument is specified
 Key: CLOUDSTACK-7029
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7029
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: API
Affects Versions: 4.4.0
 Environment: 1 Zone, 1 Pod, 1 Cluster, 1 XS Host
Reporter: Doug Clark
Priority: Critical


Calling the listCapacity API specifying the Pod ID results in a DB exception

From apilog.log
{noformat}
2014-07-01 12:39:07,154 INFO  [a.c.c.a.ApiServer] (catalina-exec-5:ctx-b22b8e7b 
ctx-19f7ceca ctx-099c67b3) (userId=2 accountId=2 sessionId=null) 10.80.239.138 
-- GET 
apiKey=buIo2P4zkk6bxAk2JCutucJFJ1delkqemNhFFatyL-B7lkbROWsmwTJDc1VwNaTgYIrYHXnYgAp7CLPlVrU5vQcommand=listPodssignature=cbkbEaiBVX1i0jI7AKmlf8EUqSY%3Dresponse=json
 200 { listpodsresponse : { count:1 ,pod : [  
{id:02c77dca-2420-4392-a907-c59781b2995a,name:XenRT-Zone-0-Pod-0,zoneid:efbfd0c3-e76f-44ef-bbb9-9da1d2117d1a,zonename:XenRT-Zone-0,gateway:10.81.40.1,netmask:255.255.248.0,startip:10.81.43.185,endip:10.81.43.194,allocationstate:Enabled}
 ] } }
2014-07-01 12:39:19,378 INFO  [a.c.c.a.ApiServer] (catalina-exec-7:ctx-91d92c6b 
ctx-a47679b5 ctx-9231a22d) (userId=2 accountId=2 sessionId=null) 10.80.239.138 
-- GET 
apiKey=buIo2P4zkk6bxAk2JCutucJFJ1delkqemNhFFatyL-B7lkbROWsmwTJDc1VwNaTgYIrYHXnYgAp7CLPlVrU5vQpodid=02c77dca-2420-4392-a907-c59781b2995acommand=listCapacitysignature=1vSFrwd%2FWU3g76%2BiCVbZuFJ164c%3Dresponse=json
 530 DB Exception on: SELECT pci, type, SUM(vmcount) FROM (SELECT 
MAX(IF(offering.name = 'pciDevice',value,'')) AS pci, MAX(IF(offering.name = 
'vgpuType', value,'')) AS type, COUNT(DISTINCT vm.id) AS vmcount FROM 
service_offering_details offering INNER JOIN vm_instance vm ON 
offering.service_offering_id = vm.service_offering_id INNER JOIN `cloud`.`host` 
ON vm.host_id = host.id WHERE vm.state = 'Running' AND host.data_center_id = ?  
AND host.pod_id = ?GROUP BY offering.service_offering_id) results GROUP BY pci, 
type
{noformat}

From MS log (attached):
{noformat}
2014-07-01 12:39:19,355 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-91d92c6b) 
===START===  10.80.239.138 -- GET  
apiKey=buIo2P4zkk6bxAk2JCutucJFJ1delkqemNhFFatyL-B7lkbROWsmwTJDc1VwNaTgYIrYHXnYgAp7CLPlVrU5vQpodid=02c77dca-2420-4392-a907-c59781b2995acommand=listCapacitysignature=1vSFrwd%2FWU3g76%2BiCVbZuFJ164c%3Dresponse=json
2014-07-01 12:39:19,367 ERROR [c.c.a.ApiServer] (catalina-exec-7:ctx-91d92c6b 
ctx-a47679b5 ctx-9231a22d) unhandled exception executing api command: 
[Ljava.lang.String;@ff062d
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: SELECT pci, 
type, SUM(vmcount) FROM (SELECT MAX(IF(offering.name = 'pciDevice',value,'')) 
AS pci, MAX(IF(offering.name = 'vgpuType', value,'')) AS type, COUNT(DISTINCT 
vm.id) AS vmcount FROM service_offering_details offering INNER JOIN vm_instance 
vm ON offering.service_offering_id = vm.service_offering_id INNER JOIN 
`cloud`.`host` ON vm.host_id = host.id WHERE vm.state = 'Running' AND 
host.data_center_id = ?  AND host.pod_id = ?GROUP BY 
offering.service_offering_id) results GROUP BY pci, type
at 
com.cloud.vm.dao.VMInstanceDaoImpl.countVgpuVMs(VMInstanceDaoImpl.java:683)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy53.countVgpuVMs(Unknown Source)
at com.cloud.api.ApiDBUtils.getVgpuVmsCount(ApiDBUtils.java:1115)
at 
com.cloud.api.ApiResponseHelper.createCapacityResponse(ApiResponseHelper.java:1744)
at 
org.apache.cloudstack.api.command.admin.resource.ListCapacityCmd.execute(ListCapacityCmd.java:129)
 

[jira] [Updated] (CLOUDSTACK-7029) listCapacity fails when podid argument is specified

2014-07-01 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-7029:
---

Description: 
Calling the listCapacity API specifying the Pod ID results in a DB exception

From apilog.log
{noformat}
2014-07-01 12:39:07,154 INFO  [a.c.c.a.ApiServer] (catalina-exec-5:ctx-b22b8e7b 
ctx-19f7ceca ctx-099c67b3) (userId=2 accountId=2 sessionId=null) 10.80.239.138 
-- GET 
apiKey=buIo2P4zkk6bxAk2JCutucJFJ1delkqemNhFFatyL-B7lkbROWsmwTJDc1VwNaTgYIrYHXnYgAp7CLPlVrU5vQcommand=listPodssignature=cbkbEaiBVX1i0jI7AKmlf8EUqSY%3Dresponse=json
 200 { listpodsresponse : { count:1 ,pod : [  
{id:02c77dca-2420-4392-a907-c59781b2995a,name:XenRT-Zone-0-Pod-0,zoneid:efbfd0c3-e76f-44ef-bbb9-9da1d2117d1a,zonename:XenRT-Zone-0,gateway:10.81.40.1,netmask:255.255.248.0,startip:10.81.43.185,endip:10.81.43.194,allocationstate:Enabled}
 ] } }
2014-07-01 12:39:19,378 INFO  [a.c.c.a.ApiServer] (catalina-exec-7:ctx-91d92c6b 
ctx-a47679b5 ctx-9231a22d) (userId=2 accountId=2 sessionId=null) 10.80.239.138 
-- GET 
apiKey=buIo2P4zkk6bxAk2JCutucJFJ1delkqemNhFFatyL-B7lkbROWsmwTJDc1VwNaTgYIrYHXnYgAp7CLPlVrU5vQpodid=02c77dca-2420-4392-a907-c59781b2995acommand=listCapacitysignature=1vSFrwd%2FWU3g76%2BiCVbZuFJ164c%3Dresponse=json
 530 DB Exception on: SELECT pci, type, SUM(vmcount) FROM (SELECT 
MAX(IF(offering.name = 'pciDevice',value,'')) AS pci, MAX(IF(offering.name = 
'vgpuType', value,'')) AS type, COUNT(DISTINCT vm.id) AS vmcount FROM 
service_offering_details offering INNER JOIN vm_instance vm ON 
offering.service_offering_id = vm.service_offering_id INNER JOIN `cloud`.`host` 
ON vm.host_id = host.id WHERE vm.state = 'Running' AND host.data_center_id = ?  
AND host.pod_id = ?GROUP BY offering.service_offering_id) results GROUP BY pci, 
type
{noformat}

From MS log (attached):
{noformat}
2014-07-01 12:39:19,355 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-91d92c6b) 
===START===  10.80.239.138 -- GET  
apiKey=buIo2P4zkk6bxAk2JCutucJFJ1delkqemNhFFatyL-B7lkbROWsmwTJDc1VwNaTgYIrYHXnYgAp7CLPlVrU5vQpodid=02c77dca-2420-4392-a907-c59781b2995acommand=listCapacitysignature=1vSFrwd%2FWU3g76%2BiCVbZuFJ164c%3Dresponse=json
2014-07-01 12:39:19,367 ERROR [c.c.a.ApiServer] (catalina-exec-7:ctx-91d92c6b 
ctx-a47679b5 ctx-9231a22d) unhandled exception executing api command: 
[Ljava.lang.String;@ff062d
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: SELECT pci, 
type, SUM(vmcount) FROM (SELECT MAX(IF(offering.name = 'pciDevice',value,'')) 
AS pci, MAX(IF(offering.name = 'vgpuType', value,'')) AS type, COUNT(DISTINCT 
vm.id) AS vmcount FROM service_offering_details offering INNER JOIN vm_instance 
vm ON offering.service_offering_id = vm.service_offering_id INNER JOIN 
`cloud`.`host` ON vm.host_id = host.id WHERE vm.state = 'Running' AND 
host.data_center_id = ?  AND host.pod_id = ?GROUP BY 
offering.service_offering_id) results GROUP BY pci, type
at 
com.cloud.vm.dao.VMInstanceDaoImpl.countVgpuVMs(VMInstanceDaoImpl.java:683)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy53.countVgpuVMs(Unknown Source)
at com.cloud.api.ApiDBUtils.getVgpuVmsCount(ApiDBUtils.java:1115)
at 
com.cloud.api.ApiResponseHelper.createCapacityResponse(ApiResponseHelper.java:1744)
at 
org.apache.cloudstack.api.command.admin.resource.ListCapacityCmd.execute(ListCapacityCmd.java:129)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
  

[jira] [Reopened] (CLOUDSTACK-6496) addHost fails for XenServer with vSwitch networking

2014-06-18 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark reopened CLOUDSTACK-6496:



This is a behaviour change in 4.4 that could be confusing to CS users.  If 
adding XS hosts with vSwitch network backend is not permitted in 4.4 basic mode 
that is ok but there should be a clear error reported telling the user why the 
addHost operation has failed.

This change in behaviour has also been discussed on the mailing list: 
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201405.mbox/%3cCAGQtxvYw65a1qJ+nL80UW1ecZAyviqK=Du+5LeB=ng5v6iy...@mail.gmail.com%3e


 addHost fails for XenServer with vSwitch networking
 ---

 Key: CLOUDSTACK-6496
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6496
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: ACS Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
Reporter: Doug Clark
Assignee: Anthony Xu
Priority: Critical
 Fix For: 4.4.0

 Attachments: management-server.log


 Attempt to add a XenServer host (with the default vSwitch networking) to a 
 Basic Networking Zone fails.  Adding a XenServer host configured to use 
 bridge works ok.
 From MS log (attached):
 {noformat}
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Failed to configure brige firewall
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Check host 10.81.40.102 for CSP is installed or 
 not and check network mode for bridge
 2014-04-24 13:41:07,361 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: Response Received:
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (DirectAgent-1:ctx-3e360a0c) 
 Seq 1-7133701809754865665: Processing:  { Ans: , MgmtId: 275410316893143, 
 via: 1, Ver: v1, Flags: 110, [{com.cloud.agent.api.Set
 upAnswer:{_reconnect:true,result:false,details:Failed to configure 
 brige firewall,wait:0}}] }
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Seq 1-7133701809754865665: Received:  { Ans: , 
 MgmtId: 275410316893143, via: 1, Ver: v1, Flags: 110,
 { SetupAnswer } }
 2014-04-24 13:41:07,363 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to setup 
 agent 1 due to Failed to configure brige firewall
 2014-04-24 13:41:07,364 INFO  [c.c.u.e.CSExceptionErrorCode] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Could not find 
 exception: com.cloud.exception.ConnectionException in error code list for
  exceptions
 2014-04-24 13:41:07,364 WARN  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Monitor 
 XcpServerDiscoverer says there is an error in the connect process for 1 due 
 to Reini
 tialize agent after setup.
 2014-04-24 13:41:07,364 INFO  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Host 1 is 
 disconnecting with event AgentDisconnected
 2014-04-24 13:41:07,364 DEBUG [c.c.a.m.AgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: No more commands found
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) The next status of 
 agent 1is Alert, current status is Connecting
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Deregistering link 
 for 1 with state Alert
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Remove Agent : 1
 {noformat}
 ...snip...
 {noformat}
 2014-04-24 13:41:07,460 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Sending Disconnect 
 to listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl
 2014-04-24 13:41:07,460 DEBUG [c.c.h.Status] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Transition:[Resource state = Enabled, Agent event 
 = AgentDisconnected, Host id = 1, name = xrtuk-09-03]
 2014-04-24 13:41:07,766 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Notifying other 
 nodes of to disconnect
 2014-04-24 13:41:07,770 WARN  [c.c.r.ResourceManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to connect 
 due to
 com.cloud.exception.ConnectionException: Reinitialize agent after setup.
 at 
 

[jira] [Commented] (CLOUDSTACK-6496) addHost fails for XenServer with vSwitch networking

2014-05-16 Thread Doug Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14000449#comment-14000449
 ] 

Doug Clark commented on CLOUDSTACK-6496:


This makes sense - but were Security Groups enabled by default in Felton?
I¹ve not seen this problem when creating Felton Basic zones on XS with
vSwitch.

Thanks, Doug. 





 addHost fails for XenServer with vSwitch networking
 ---

 Key: CLOUDSTACK-6496
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6496
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: ACS Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
Reporter: Doug Clark
Assignee: Anthony Xu
Priority: Critical
 Fix For: 4.4.0

 Attachments: management-server.log


 Attempt to add a XenServer host (with the default vSwitch networking) to a 
 Basic Networking Zone fails.  Adding a XenServer host configured to use 
 bridge works ok.
 From MS log (attached):
 {noformat}
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Failed to configure brige firewall
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Check host 10.81.40.102 for CSP is installed or 
 not and check network mode for bridge
 2014-04-24 13:41:07,361 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: Response Received:
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (DirectAgent-1:ctx-3e360a0c) 
 Seq 1-7133701809754865665: Processing:  { Ans: , MgmtId: 275410316893143, 
 via: 1, Ver: v1, Flags: 110, [{com.cloud.agent.api.Set
 upAnswer:{_reconnect:true,result:false,details:Failed to configure 
 brige firewall,wait:0}}] }
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Seq 1-7133701809754865665: Received:  { Ans: , 
 MgmtId: 275410316893143, via: 1, Ver: v1, Flags: 110,
 { SetupAnswer } }
 2014-04-24 13:41:07,363 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to setup 
 agent 1 due to Failed to configure brige firewall
 2014-04-24 13:41:07,364 INFO  [c.c.u.e.CSExceptionErrorCode] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Could not find 
 exception: com.cloud.exception.ConnectionException in error code list for
  exceptions
 2014-04-24 13:41:07,364 WARN  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Monitor 
 XcpServerDiscoverer says there is an error in the connect process for 1 due 
 to Reini
 tialize agent after setup.
 2014-04-24 13:41:07,364 INFO  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Host 1 is 
 disconnecting with event AgentDisconnected
 2014-04-24 13:41:07,364 DEBUG [c.c.a.m.AgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: No more commands found
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) The next status of 
 agent 1is Alert, current status is Connecting
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Deregistering link 
 for 1 with state Alert
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Remove Agent : 1
 {noformat}
 ...snip...
 {noformat}
 2014-04-24 13:41:07,460 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Sending Disconnect 
 to listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl
 2014-04-24 13:41:07,460 DEBUG [c.c.h.Status] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Transition:[Resource state = Enabled, Agent event 
 = AgentDisconnected, Host id = 1, name = xrtuk-09-03]
 2014-04-24 13:41:07,766 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Notifying other 
 nodes of to disconnect
 2014-04-24 13:41:07,770 WARN  [c.c.r.ResourceManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to connect 
 due to
 com.cloud.exception.ConnectionException: Reinitialize agent after setup.
 at 
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657)
 at 
 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:514)
 at 
 com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1428)
 at 
 

[jira] [Updated] (CLOUDSTACK-6617) [Automation] detach / resize volume test cases failing with permission error

2014-05-15 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6617:
---

Attachment: management-server.log

Added MS log

 [Automation] detach / resize volume test cases failing  with permission error 
 --

 Key: CLOUDSTACK-6617
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6617
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Volumes, Xen
Affects Versions: 4.4.0
Reporter: Rayees Namathponnan
Assignee: Min Chen
 Fix For: 4.4.0

 Attachments: management-server.log


 This issue is observed in 4.4-forward automation in Xen, test case 
 integration.smoke.test_volumes.TestVolumes.test_06_download_detached_volume 
 failing with permission error 
 integration.smoke.test_volumes.TestVolumes.test_08_resize_volume 
 Execute cmd: attachvolume failed, due to: errorCode: 531, 
 errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources
   begin captured stdout  -
 === TestName: test_06_download_detached_volume | Status : EXCEPTION ===
 -  end captured stdout  --
   begin captured logging  
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: STARTED : 
 TC: test_06_download_detached_volume :::
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Extract detached Volume 
 ID: 885ac921-4728-4903-9621-b07c5353e9bc
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'apiKey': 
 u'WnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYSpo6sGXsioEZbYjX7CQpMG3vJe-eCMHn_uffuYKoPpOQRuQ',
  'virtualmachineid': u'2e1ef913-b207-4688-bbaa-408797810d3a', 'id': 
 u'885ac921-4728-4903-9621-b07c5353e9bc', 'command': 'attachVolume', 
 'signature': 'hnLR1wCmFp5EtwMZRaS1e3J75S8=', 'response': 'json'}
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Sending GET Cmd 
 : attachVolume===
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.220.76.63
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=WnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYSpo6sGXsioEZbYjX7CQpMG3vJe-eCMHn_uffuYKoPpOQRuQvirtualmachineid=2e1ef913-b207-4688-bbaa-408797810d3aid=885ac921-4728-4903-9621-b07c5353e9bccommand=attachVolumesignature=hnLR1wCmFp5EtwMZRaS1e3J75S8%3Dresponse=json
  HTTP/1.1 531 212
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): ERROR: Exception:['Traceback 
 (most recent call last):\n', '  File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py,
  line 313, in __parseAndGetResponse\nresponse_cls)\n', '  File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py,
  line 151, in getResultObj\nraise 
 cloudstackException.CloudstackAPIException(respname, errMsg)\n', 
 'CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCode: 
 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources\n']
 Traceback (most recent call last):
   File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py,
  line 313, in __parseAndGetResponse
 response_cls)
   File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py,
  line 151, in getResultObj
 raise cloudstackException.CloudstackAPIException(respname, errMsg)
 CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCode: 
 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): ERROR: marvinRequest : CmdName: 
 marvin.cloudstackAPI.attachVolume.attachVolumeCmd object at 0x36ccf90 
 Exception: ['Traceback (most recent call last):\n', '  File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py,
  line 380, in marvinRequest\nraise self.__lastError\n', 
 'CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCode: 
 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these 

[jira] [Issue Comment Deleted] (CLOUDSTACK-6617) [Automation] detach / resize volume test cases failing with permission error

2014-05-14 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6617:
---

Comment: was deleted

(was: Full test output available here: 
http://jenkins-ccp.citrix.com/view/XenRT/job/xenrt-bvt-basic-xs/lastCompletedBuild/testReport/integration.smoke.test_volumes/TestVolumes/test_06_download_detached_volume/

MS logs available here: 
http://xenrt.hq.xensource.com/share/control/logs/job/692214/Logs/CCPLogs/browse)

 [Automation] detach / resize volume test cases failing  with permission error 
 --

 Key: CLOUDSTACK-6617
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6617
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Volumes, Xen
Affects Versions: 4.4.0
Reporter: Rayees Namathponnan
Assignee: Min Chen
 Fix For: 4.4.0

 Attachments: management-server.log


 This issue is observed in 4.4-forward automation in Xen, test case 
 integration.smoke.test_volumes.TestVolumes.test_06_download_detached_volume 
 failing with permission error 
 integration.smoke.test_volumes.TestVolumes.test_08_resize_volume 
 Execute cmd: attachvolume failed, due to: errorCode: 531, 
 errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources
   begin captured stdout  -
 === TestName: test_06_download_detached_volume | Status : EXCEPTION ===
 -  end captured stdout  --
   begin captured logging  
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: STARTED : 
 TC: test_06_download_detached_volume :::
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Extract detached Volume 
 ID: 885ac921-4728-4903-9621-b07c5353e9bc
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'apiKey': 
 u'WnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYSpo6sGXsioEZbYjX7CQpMG3vJe-eCMHn_uffuYKoPpOQRuQ',
  'virtualmachineid': u'2e1ef913-b207-4688-bbaa-408797810d3a', 'id': 
 u'885ac921-4728-4903-9621-b07c5353e9bc', 'command': 'attachVolume', 
 'signature': 'hnLR1wCmFp5EtwMZRaS1e3J75S8=', 'response': 'json'}
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Sending GET Cmd 
 : attachVolume===
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.220.76.63
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=WnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYSpo6sGXsioEZbYjX7CQpMG3vJe-eCMHn_uffuYKoPpOQRuQvirtualmachineid=2e1ef913-b207-4688-bbaa-408797810d3aid=885ac921-4728-4903-9621-b07c5353e9bccommand=attachVolumesignature=hnLR1wCmFp5EtwMZRaS1e3J75S8%3Dresponse=json
  HTTP/1.1 531 212
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): ERROR: Exception:['Traceback 
 (most recent call last):\n', '  File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py,
  line 313, in __parseAndGetResponse\nresponse_cls)\n', '  File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py,
  line 151, in getResultObj\nraise 
 cloudstackException.CloudstackAPIException(respname, errMsg)\n', 
 'CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCode: 
 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources\n']
 Traceback (most recent call last):
   File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py,
  line 313, in __parseAndGetResponse
 response_cls)
   File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py,
  line 151, in getResultObj
 raise cloudstackException.CloudstackAPIException(respname, errMsg)
 CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCode: 
 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): ERROR: marvinRequest : CmdName: 
 marvin.cloudstackAPI.attachVolume.attachVolumeCmd object at 0x36ccf90 
 Exception: ['Traceback (most recent call last):\n', '  File 
 

[jira] [Commented] (CLOUDSTACK-6617) [Automation] detach / resize volume test cases failing with permission error

2014-05-14 Thread Doug Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13993555#comment-13993555
 ] 

Doug Clark commented on CLOUDSTACK-6617:


Full test output available here: 
http://jenkins-ccp.citrix.com/view/XenRT/job/xenrt-bvt-basic-xs/lastCompletedBuild/testReport/integration.smoke.test_volumes/TestVolumes/test_06_download_detached_volume/

MS logs available here: 
http://xenrt.hq.xensource.com/share/control/logs/job/692214/Logs/CCPLogs/browse

 [Automation] detach / resize volume test cases failing  with permission error 
 --

 Key: CLOUDSTACK-6617
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6617
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Volumes, Xen
Affects Versions: 4.4.0
Reporter: Rayees Namathponnan
 Fix For: 4.4.0

 Attachments: management-server.log


 This issue is observed in 4.4-forward automation in Xen, test case 
 integration.smoke.test_volumes.TestVolumes.test_06_download_detached_volume 
 failing with permission error 
 integration.smoke.test_volumes.TestVolumes.test_08_resize_volume 
 Execute cmd: attachvolume failed, due to: errorCode: 531, 
 errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources
   begin captured stdout  -
 === TestName: test_06_download_detached_volume | Status : EXCEPTION ===
 -  end captured stdout  --
   begin captured logging  
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: STARTED : 
 TC: test_06_download_detached_volume :::
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Extract detached Volume 
 ID: 885ac921-4728-4903-9621-b07c5353e9bc
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Payload: {'apiKey': 
 u'WnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYSpo6sGXsioEZbYjX7CQpMG3vJe-eCMHn_uffuYKoPpOQRuQ',
  'virtualmachineid': u'2e1ef913-b207-4688-bbaa-408797810d3a', 'id': 
 u'885ac921-4728-4903-9621-b07c5353e9bc', 'command': 'attachVolume', 
 'signature': 'hnLR1wCmFp5EtwMZRaS1e3J75S8=', 'response': 'json'}
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): DEBUG: Sending GET Cmd 
 : attachVolume===
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.220.76.63
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=WnMdlxbiBLwGB6wX4NfasgbMfoaHqAiiY9oHcyYSpo6sGXsioEZbYjX7CQpMG3vJe-eCMHn_uffuYKoPpOQRuQvirtualmachineid=2e1ef913-b207-4688-bbaa-408797810d3aid=885ac921-4728-4903-9621-b07c5353e9bccommand=attachVolumesignature=hnLR1wCmFp5EtwMZRaS1e3J75S8%3Dresponse=json
  HTTP/1.1 531 212
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): ERROR: Exception:['Traceback 
 (most recent call last):\n', '  File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py,
  line 313, in __parseAndGetResponse\nresponse_cls)\n', '  File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py,
  line 151, in getResultObj\nraise 
 cloudstackException.CloudstackAPIException(respname, errMsg)\n', 
 'CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCode: 
 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources\n']
 Traceback (most recent call last):
   File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py,
  line 313, in __parseAndGetResponse
 response_cls)
   File 
 /local/jenkins/workspace/xenrt-bvt-basic-xs/work.41/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py,
  line 151, in getResultObj
 raise cloudstackException.CloudstackAPIException(respname, errMsg)
 CloudstackAPIException: Execute cmd: attachvolume failed, due to: errorCode: 
 531, errorText:Acct[c0a951a5-6a6c-4845-8d0e-f815ad18c770-admin] does not have 
 permission to perform this operation on these resources
 test_06_download_detached_volume 
 (integration.smoke.test_volumes.TestVolumes): ERROR: marvinRequest : CmdName: 
 marvin.cloudstackAPI.attachVolume.attachVolumeCmd object at 0x36ccf90 
 Exception: ['Traceback (most recent call last):\n', '  File 
 

[jira] [Created] (CLOUDSTACK-6496) addHost fails for XenServer with vSwitch networking

2014-04-24 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-6496:
--

 Summary: addHost fails for XenServer with vSwitch networking
 Key: CLOUDSTACK-6496
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6496
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: XenServer
Affects Versions: Future
 Environment: MS: ACS Master 
(http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
XenServer 6.2
Reporter: Doug Clark
Priority: Critical


Attempt to add a XenServer host (with the default vSwitch networking) to a 
Basic Networking Zone fails.  Adding a XenServer host configured to use bridge 
works ok.

From MS log (attached):
{noformat}
2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-1:ctx-3e360a0c) Failed to configure brige firewall
2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-1:ctx-3e360a0c) Check host 10.81.40.102 for CSP is installed or 
not and check network mode for bridge
2014-04-24 13:41:07,361 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: Response Received:
2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (DirectAgent-1:ctx-3e360a0c) 
Seq 1-7133701809754865665: Processing:  { Ans: , MgmtId: 275410316893143, via: 
1, Ver: v1, Flags: 110, [{com.cloud.agent.api.Set
upAnswer:{_reconnect:true,result:false,details:Failed to configure 
brige firewall,wait:0}}] }
2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (catalina-exec-2:ctx-407da4e1 
ctx-e02434c0 ctx-a13beb18) Seq 1-7133701809754865665: Received:  { Ans: , 
MgmtId: 275410316893143, via: 1, Ver: v1, Flags: 110,
{ SetupAnswer } }
2014-04-24 13:41:07,363 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to setup agent 
1 due to Failed to configure brige firewall
2014-04-24 13:41:07,364 INFO  [c.c.u.e.CSExceptionErrorCode] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Could not find 
exception: com.cloud.exception.ConnectionException in error code list for
 exceptions
2014-04-24 13:41:07,364 WARN  [c.c.a.m.AgentManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Monitor 
XcpServerDiscoverer says there is an error in the connect process for 1 due to 
Reini
tialize agent after setup.
2014-04-24 13:41:07,364 INFO  [c.c.a.m.AgentManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Host 1 is 
disconnecting with event AgentDisconnected
2014-04-24 13:41:07,364 DEBUG [c.c.a.m.AgentAttache] 
(DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: No more commands found
2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) The next status of 
agent 1is Alert, current status is Connecting
2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Deregistering link for 
1 with state Alert
2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Remove Agent : 1
{noformat}
...snip...
{noformat}
2014-04-24 13:41:07,460 DEBUG [c.c.a.m.AgentManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Sending Disconnect to 
listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl
2014-04-24 13:41:07,460 DEBUG [c.c.h.Status] (catalina-exec-2:ctx-407da4e1 
ctx-e02434c0 ctx-a13beb18) Transition:[Resource state = Enabled, Agent event = 
AgentDisconnected, Host id = 1, name = xrtuk-09-03]
2014-04-24 13:41:07,766 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Notifying other nodes 
of to disconnect
2014-04-24 13:41:07,770 WARN  [c.c.r.ResourceManagerImpl] 
(catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to connect due 
to
com.cloud.exception.ConnectionException: Reinitialize agent after setup.
at 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657)
at 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:514)
at 
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1428)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1767)
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:773)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at 

[jira] [Updated] (CLOUDSTACK-6496) addHost fails for XenServer with vSwitch networking

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6496:
---

Attachment: management-server.log

 addHost fails for XenServer with vSwitch networking
 ---

 Key: CLOUDSTACK-6496
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6496
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future
 Environment: MS: ACS Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
Reporter: Doug Clark
Priority: Critical
 Attachments: management-server.log


 Attempt to add a XenServer host (with the default vSwitch networking) to a 
 Basic Networking Zone fails.  Adding a XenServer host configured to use 
 bridge works ok.
 From MS log (attached):
 {noformat}
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Failed to configure brige firewall
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Check host 10.81.40.102 for CSP is installed or 
 not and check network mode for bridge
 2014-04-24 13:41:07,361 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: Response Received:
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (DirectAgent-1:ctx-3e360a0c) 
 Seq 1-7133701809754865665: Processing:  { Ans: , MgmtId: 275410316893143, 
 via: 1, Ver: v1, Flags: 110, [{com.cloud.agent.api.Set
 upAnswer:{_reconnect:true,result:false,details:Failed to configure 
 brige firewall,wait:0}}] }
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Seq 1-7133701809754865665: Received:  { Ans: , 
 MgmtId: 275410316893143, via: 1, Ver: v1, Flags: 110,
 { SetupAnswer } }
 2014-04-24 13:41:07,363 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to setup 
 agent 1 due to Failed to configure brige firewall
 2014-04-24 13:41:07,364 INFO  [c.c.u.e.CSExceptionErrorCode] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Could not find 
 exception: com.cloud.exception.ConnectionException in error code list for
  exceptions
 2014-04-24 13:41:07,364 WARN  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Monitor 
 XcpServerDiscoverer says there is an error in the connect process for 1 due 
 to Reini
 tialize agent after setup.
 2014-04-24 13:41:07,364 INFO  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Host 1 is 
 disconnecting with event AgentDisconnected
 2014-04-24 13:41:07,364 DEBUG [c.c.a.m.AgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: No more commands found
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) The next status of 
 agent 1is Alert, current status is Connecting
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Deregistering link 
 for 1 with state Alert
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Remove Agent : 1
 {noformat}
 ...snip...
 {noformat}
 2014-04-24 13:41:07,460 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Sending Disconnect 
 to listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl
 2014-04-24 13:41:07,460 DEBUG [c.c.h.Status] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Transition:[Resource state = Enabled, Agent event 
 = AgentDisconnected, Host id = 1, name = xrtuk-09-03]
 2014-04-24 13:41:07,766 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Notifying other 
 nodes of to disconnect
 2014-04-24 13:41:07,770 WARN  [c.c.r.ResourceManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to connect 
 due to
 com.cloud.exception.ConnectionException: Reinitialize agent after setup.
 at 
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657)
 at 
 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:514)
 at 
 com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1428)
 at 
 com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1767)
 at 
 com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:773)
 at 
 

[jira] [Updated] (CLOUDSTACK-6496) addHost fails for XenServer with vSwitch networking

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6496:
---

Affects Version/s: 4.4.0

 addHost fails for XenServer with vSwitch networking
 ---

 Key: CLOUDSTACK-6496
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6496
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: ACS Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
Reporter: Doug Clark
Priority: Critical
 Attachments: management-server.log


 Attempt to add a XenServer host (with the default vSwitch networking) to a 
 Basic Networking Zone fails.  Adding a XenServer host configured to use 
 bridge works ok.
 From MS log (attached):
 {noformat}
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Failed to configure brige firewall
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Check host 10.81.40.102 for CSP is installed or 
 not and check network mode for bridge
 2014-04-24 13:41:07,361 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: Response Received:
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (DirectAgent-1:ctx-3e360a0c) 
 Seq 1-7133701809754865665: Processing:  { Ans: , MgmtId: 275410316893143, 
 via: 1, Ver: v1, Flags: 110, [{com.cloud.agent.api.Set
 upAnswer:{_reconnect:true,result:false,details:Failed to configure 
 brige firewall,wait:0}}] }
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Seq 1-7133701809754865665: Received:  { Ans: , 
 MgmtId: 275410316893143, via: 1, Ver: v1, Flags: 110,
 { SetupAnswer } }
 2014-04-24 13:41:07,363 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to setup 
 agent 1 due to Failed to configure brige firewall
 2014-04-24 13:41:07,364 INFO  [c.c.u.e.CSExceptionErrorCode] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Could not find 
 exception: com.cloud.exception.ConnectionException in error code list for
  exceptions
 2014-04-24 13:41:07,364 WARN  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Monitor 
 XcpServerDiscoverer says there is an error in the connect process for 1 due 
 to Reini
 tialize agent after setup.
 2014-04-24 13:41:07,364 INFO  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Host 1 is 
 disconnecting with event AgentDisconnected
 2014-04-24 13:41:07,364 DEBUG [c.c.a.m.AgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: No more commands found
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) The next status of 
 agent 1is Alert, current status is Connecting
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Deregistering link 
 for 1 with state Alert
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Remove Agent : 1
 {noformat}
 ...snip...
 {noformat}
 2014-04-24 13:41:07,460 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Sending Disconnect 
 to listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl
 2014-04-24 13:41:07,460 DEBUG [c.c.h.Status] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Transition:[Resource state = Enabled, Agent event 
 = AgentDisconnected, Host id = 1, name = xrtuk-09-03]
 2014-04-24 13:41:07,766 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Notifying other 
 nodes of to disconnect
 2014-04-24 13:41:07,770 WARN  [c.c.r.ResourceManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to connect 
 due to
 com.cloud.exception.ConnectionException: Reinitialize agent after setup.
 at 
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657)
 at 
 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:514)
 at 
 com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1428)
 at 
 com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1767)
 at 
 com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:773)
 at 
 

[jira] [Updated] (CLOUDSTACK-6496) addHost fails for XenServer with vSwitch networking

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6496:
---

Affects Version/s: (was: 4.4.0)

 addHost fails for XenServer with vSwitch networking
 ---

 Key: CLOUDSTACK-6496
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6496
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future
 Environment: MS: ACS Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
Reporter: Doug Clark
Priority: Critical
 Attachments: management-server.log


 Attempt to add a XenServer host (with the default vSwitch networking) to a 
 Basic Networking Zone fails.  Adding a XenServer host configured to use 
 bridge works ok.
 From MS log (attached):
 {noformat}
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Failed to configure brige firewall
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Check host 10.81.40.102 for CSP is installed or 
 not and check network mode for bridge
 2014-04-24 13:41:07,361 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: Response Received:
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (DirectAgent-1:ctx-3e360a0c) 
 Seq 1-7133701809754865665: Processing:  { Ans: , MgmtId: 275410316893143, 
 via: 1, Ver: v1, Flags: 110, [{com.cloud.agent.api.Set
 upAnswer:{_reconnect:true,result:false,details:Failed to configure 
 brige firewall,wait:0}}] }
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Seq 1-7133701809754865665: Received:  { Ans: , 
 MgmtId: 275410316893143, via: 1, Ver: v1, Flags: 110,
 { SetupAnswer } }
 2014-04-24 13:41:07,363 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to setup 
 agent 1 due to Failed to configure brige firewall
 2014-04-24 13:41:07,364 INFO  [c.c.u.e.CSExceptionErrorCode] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Could not find 
 exception: com.cloud.exception.ConnectionException in error code list for
  exceptions
 2014-04-24 13:41:07,364 WARN  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Monitor 
 XcpServerDiscoverer says there is an error in the connect process for 1 due 
 to Reini
 tialize agent after setup.
 2014-04-24 13:41:07,364 INFO  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Host 1 is 
 disconnecting with event AgentDisconnected
 2014-04-24 13:41:07,364 DEBUG [c.c.a.m.AgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: No more commands found
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) The next status of 
 agent 1is Alert, current status is Connecting
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Deregistering link 
 for 1 with state Alert
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Remove Agent : 1
 {noformat}
 ...snip...
 {noformat}
 2014-04-24 13:41:07,460 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Sending Disconnect 
 to listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl
 2014-04-24 13:41:07,460 DEBUG [c.c.h.Status] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Transition:[Resource state = Enabled, Agent event 
 = AgentDisconnected, Host id = 1, name = xrtuk-09-03]
 2014-04-24 13:41:07,766 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Notifying other 
 nodes of to disconnect
 2014-04-24 13:41:07,770 WARN  [c.c.r.ResourceManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to connect 
 due to
 com.cloud.exception.ConnectionException: Reinitialize agent after setup.
 at 
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657)
 at 
 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:514)
 at 
 com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1428)
 at 
 com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1767)
 at 
 com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:773)
 at 
 

[jira] [Created] (CLOUDSTACK-6497) SSVM running but not operational for XenServer deployment

2014-04-24 Thread Doug Clark (JIRA)
Doug Clark created CLOUDSTACK-6497:
--

 Summary: SSVM running but not operational for XenServer deployment
 Key: CLOUDSTACK-6497
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6497
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: Master 
(http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
XenServer 6.2
NFS storage (for primary and secondary)
Reporter: Doug Clark
Priority: Blocker
 Fix For: 4.4.0


Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
XenServer.

The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
created on the hypervisors and are running.

The resources view doesn't report the capacity information for SS (see 
screenshot).

There are no alerts shown in the UI.

The MS doesn't attempt to download the built-in CentOS template.

There are no obvious related exceptions in the MS log but the following appears 
a number of times:
{noformat}
2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for secondary 
storage host nfs://10.81.40.30/nfs/676963-u1VtYo
{noformat}

After some time the original SSVM enters a paused state and a new SSVM instance 
is created (see screenshot) - this does resolve anything.




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CLOUDSTACK-6496) addHost fails for XenServer with vSwitch networking

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6496:
---

Affects Version/s: 4.4.0
Fix Version/s: 4.4.0

 addHost fails for XenServer with vSwitch networking
 ---

 Key: CLOUDSTACK-6496
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6496
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: ACS Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
Reporter: Doug Clark
Priority: Critical
 Fix For: 4.4.0

 Attachments: management-server.log


 Attempt to add a XenServer host (with the default vSwitch networking) to a 
 Basic Networking Zone fails.  Adding a XenServer host configured to use 
 bridge works ok.
 From MS log (attached):
 {noformat}
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Failed to configure brige firewall
 2014-04-24 13:41:07,361 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-1:ctx-3e360a0c) Check host 10.81.40.102 for CSP is installed or 
 not and check network mode for bridge
 2014-04-24 13:41:07,361 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: Response Received:
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (DirectAgent-1:ctx-3e360a0c) 
 Seq 1-7133701809754865665: Processing:  { Ans: , MgmtId: 275410316893143, 
 via: 1, Ver: v1, Flags: 110, [{com.cloud.agent.api.Set
 upAnswer:{_reconnect:true,result:false,details:Failed to configure 
 brige firewall,wait:0}}] }
 2014-04-24 13:41:07,363 DEBUG [c.c.a.t.Request] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Seq 1-7133701809754865665: Received:  { Ans: , 
 MgmtId: 275410316893143, via: 1, Ver: v1, Flags: 110,
 { SetupAnswer } }
 2014-04-24 13:41:07,363 WARN  [c.c.h.x.d.XcpServerDiscoverer] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to setup 
 agent 1 due to Failed to configure brige firewall
 2014-04-24 13:41:07,364 INFO  [c.c.u.e.CSExceptionErrorCode] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Could not find 
 exception: com.cloud.exception.ConnectionException in error code list for
  exceptions
 2014-04-24 13:41:07,364 WARN  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Monitor 
 XcpServerDiscoverer says there is an error in the connect process for 1 due 
 to Reini
 tialize agent after setup.
 2014-04-24 13:41:07,364 INFO  [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Host 1 is 
 disconnecting with event AgentDisconnected
 2014-04-24 13:41:07,364 DEBUG [c.c.a.m.AgentAttache] 
 (DirectAgent-1:ctx-3e360a0c) Seq 1-7133701809754865665: No more commands found
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) The next status of 
 agent 1is Alert, current status is Connecting
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Deregistering link 
 for 1 with state Alert
 2014-04-24 13:41:07,366 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Remove Agent : 1
 {noformat}
 ...snip...
 {noformat}
 2014-04-24 13:41:07,460 DEBUG [c.c.a.m.AgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Sending Disconnect 
 to listener: com.cloud.network.router.VirtualNetworkApplianceManagerImpl
 2014-04-24 13:41:07,460 DEBUG [c.c.h.Status] (catalina-exec-2:ctx-407da4e1 
 ctx-e02434c0 ctx-a13beb18) Transition:[Resource state = Enabled, Agent event 
 = AgentDisconnected, Host id = 1, name = xrtuk-09-03]
 2014-04-24 13:41:07,766 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Notifying other 
 nodes of to disconnect
 2014-04-24 13:41:07,770 WARN  [c.c.r.ResourceManagerImpl] 
 (catalina-exec-2:ctx-407da4e1 ctx-e02434c0 ctx-a13beb18) Unable to connect 
 due to
 com.cloud.exception.ConnectionException: Reinitialize agent after setup.
 at 
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:657)
 at 
 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:514)
 at 
 com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1428)
 at 
 com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1767)
 at 
 com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:773)
 at 
 

[jira] [Updated] (CLOUDSTACK-6497) SSVM running but not operational for XenServer deployment

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6497:
---

Attachment: SS capacity not shown.jpg

 SSVM running but not operational for XenServer deployment
 -

 Key: CLOUDSTACK-6497
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6497
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
 NFS storage (for primary and secondary)
Reporter: Doug Clark
Priority: Blocker
 Fix For: 4.4.0

 Attachments: Original SSVM paused - new instance created.jpg, SS 
 capacity not shown.jpg


 Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
 XenServer.
 The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
 created on the hypervisors and are running.
 The resources view doesn't report the capacity information for SS (see 
 screenshot).
 There are no alerts shown in the UI.
 The MS doesn't attempt to download the built-in CentOS template.
 There are no obvious related exceptions in the MS log but the following 
 appears a number of times:
 {noformat}
 2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
 (StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for 
 secondary storage host nfs://10.81.40.30/nfs/676963-u1VtYo
 {noformat}
 After some time the original SSVM enters a paused state and a new SSVM 
 instance is created (see screenshot) - this does resolve anything.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CLOUDSTACK-6497) SSVM running but not operational for XenServer deployment

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6497:
---

Attachment: Original SSVM paused - new instance created.jpg

 SSVM running but not operational for XenServer deployment
 -

 Key: CLOUDSTACK-6497
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6497
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
 NFS storage (for primary and secondary)
Reporter: Doug Clark
Priority: Blocker
 Fix For: 4.4.0

 Attachments: Original SSVM paused - new instance created.jpg


 Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
 XenServer.
 The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
 created on the hypervisors and are running.
 The resources view doesn't report the capacity information for SS (see 
 screenshot).
 There are no alerts shown in the UI.
 The MS doesn't attempt to download the built-in CentOS template.
 There are no obvious related exceptions in the MS log but the following 
 appears a number of times:
 {noformat}
 2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
 (StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for 
 secondary storage host nfs://10.81.40.30/nfs/676963-u1VtYo
 {noformat}
 After some time the original SSVM enters a paused state and a new SSVM 
 instance is created (see screenshot) - this does resolve anything.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CLOUDSTACK-6497) SSVM running but not operational for XenServer deployment

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6497:
---

Description: 
Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
XenServer.

The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
created on the hypervisors and are running.

The resources view doesn't report the capacity information for SS (see 
screenshot).

There are no alerts shown in the UI.

The MS doesn't attempt to download the built-in CentOS template.

There are no obvious related exceptions in the MS log (attached) but the 
following appears a number of times:
{noformat}
2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for secondary 
storage host nfs://10.81.40.30/nfs/676963-u1VtYo
{noformat}

After some time the original SSVM enters a paused state and a new SSVM instance 
is created (see screenshot) - this does resolve anything.


  was:
Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
XenServer.

The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
created on the hypervisors and are running.

The resources view doesn't report the capacity information for SS (see 
screenshot).

There are no alerts shown in the UI.

The MS doesn't attempt to download the built-in CentOS template.

There are no obvious related exceptions in the MS log but the following appears 
a number of times:
{noformat}
2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for secondary 
storage host nfs://10.81.40.30/nfs/676963-u1VtYo
{noformat}

After some time the original SSVM enters a paused state and a new SSVM instance 
is created (see screenshot) - this does resolve anything.



 SSVM running but not operational for XenServer deployment
 -

 Key: CLOUDSTACK-6497
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6497
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
 NFS storage (for primary and secondary)
Reporter: Doug Clark
Priority: Blocker
 Fix For: 4.4.0

 Attachments: Original SSVM paused - new instance created.jpg, SS 
 capacity not shown.jpg


 Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
 XenServer.
 The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
 created on the hypervisors and are running.
 The resources view doesn't report the capacity information for SS (see 
 screenshot).
 There are no alerts shown in the UI.
 The MS doesn't attempt to download the built-in CentOS template.
 There are no obvious related exceptions in the MS log (attached) but the 
 following appears a number of times:
 {noformat}
 2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
 (StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for 
 secondary storage host nfs://10.81.40.30/nfs/676963-u1VtYo
 {noformat}
 After some time the original SSVM enters a paused state and a new SSVM 
 instance is created (see screenshot) - this does resolve anything.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CLOUDSTACK-6497) SSVM running but not operational for XenServer deployment

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark updated CLOUDSTACK-6497:
---

Attachment: management-server.log

 SSVM running but not operational for XenServer deployment
 -

 Key: CLOUDSTACK-6497
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6497
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
 NFS storage (for primary and secondary)
Reporter: Doug Clark
Priority: Blocker
 Fix For: 4.4.0

 Attachments: Original SSVM paused - new instance created.jpg, SS 
 capacity not shown.jpg, management-server.log


 Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
 XenServer.
 The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
 created on the hypervisors and are running.
 The resources view doesn't report the capacity information for SS (see 
 screenshot).
 There are no alerts shown in the UI.
 The MS doesn't attempt to download the built-in CentOS template.
 There are no obvious related exceptions in the MS log (attached) but the 
 following appears a number of times:
 {noformat}
 2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
 (StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for 
 secondary storage host nfs://10.81.40.30/nfs/676963-u1VtYo
 {noformat}
 After some time the original SSVM enters a paused state and a new SSVM 
 instance is created (see screenshot) - this does resolve anything.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CLOUDSTACK-6497) SSVM running but not operational for XenServer deployment

2014-04-24 Thread Doug Clark (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Clark resolved CLOUDSTACK-6497.


Resolution: Invalid

I was using the incorrect system VM template 
(systemvm64template-2014-01-14-master-xen.vhd.bz2) - it might be good 
enhancement if the MS could detect that the wrong system template was being 
used and inform the user - instead of this silent failure.

 SSVM running but not operational for XenServer deployment
 -

 Key: CLOUDSTACK-6497
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6497
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: XenServer
Affects Versions: Future, 4.4.0
 Environment: MS: Master 
 (http://jenkins.buildacloud.org/job/package-rhel63-master/2647)
 XenServer 6.2
 NFS storage (for primary and secondary)
Reporter: Doug Clark
Priority: Blocker
 Fix For: 4.4.0

 Attachments: Original SSVM paused - new instance created.jpg, SS 
 capacity not shown.jpg, management-server.log


 Create a basic networking 1 Zone, 1 Pod, 1 Cluster, 2 host deployment using 
 XenServer.
 The Zone is shown as enabled.  A SSVM and Console Proxy VM have both been 
 created on the hypervisors and are running.
 The resources view doesn't report the capacity information for SS (see 
 screenshot).
 There are no alerts shown in the UI.
 The MS doesn't attempt to download the built-in CentOS template.
 There are no obvious related exceptions in the MS log (attached) but the 
 following appears a number of times:
 {noformat}
 2014-04-24 13:44:38,387 DEBUG [c.c.s.StatsCollector] 
 (StatsCollector-3:ctx-4bea82df) There is no secondary storage VM for 
 secondary storage host nfs://10.81.40.30/nfs/676963-u1VtYo
 {noformat}
 After some time the original SSVM enters a paused state and a new SSVM 
 instance is created (see screenshot) - this does resolve anything.



--
This message was sent by Atlassian JIRA
(v6.2#6252)