Commit Graph

22142 Commits

Author SHA1 Message Date
Sachchidanand Vaidya 8b9f7afc92 Add L3VPN isolation method for contrail plugin
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-14 13:52:40 -08:00
sbalineni 65f639219c Make sure that Cloudstack DB should be atleast once synced with contrail api server
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-14 13:32:46 -08:00
Jessica Wang 69365836af CLOUDSTACK-5557: UI > Network > VPC > Router > Public IP Address > fix a bug that Configuration tab was wrongly hidden. 2014-01-14 10:54:58 -08:00
Devdeep Singh 5bf5d3669d CLOUDSTACK-5689: System vm creation on local storage fails for hyper-v. A
null pointer exception was getting generated when a VolumeTO object was
serialized to create an answer object. If a local storage is used the uri
field will be null. Added null checks for the same.
2014-01-14 19:53:26 +05:30
Santhosh Edukulla 00a5063107 Fix for CLOUDSTACK-5864
Fixed the mentioned issue.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-01-14 14:56:02 +01:00
Jayapal ac53932925 CLOUDSTACK-5747 Fixed network restart issue with SRX 2014-01-14 18:15:47 +05:30
jayapal b177015121 CLOUDSTACK-5867 Fixed SetMonitorServiceCommand command path 2014-01-14 18:14:28 +05:30
Girish Shilamkar c1cc3c7ea9 CLOUDTACK-5626: Made few changes to test_vpc_vm_life_cycle.py
Conflicts:
	test/integration/component/test_vpc_vm_life_cycle.py
2014-01-14 11:24:05 +05:30
Edison Su f2519cf5fc fix devcloud: user template's guest os type is changed 2014-01-13 15:37:52 -08:00
edison 8dda69952f CLOUDSTACK-5857: for some reasons, delete secondary pool failed during copy template from secondary storage to primary storage, but the volume is already copied to primary storage, we didn't clean up the volume on primary storage, then all the following copy the same template to primary storage failed, as we are always using the same uuid when creating a new volume, libvirt complaining that the volume already exists.
Current fix is ignoring "the delete secondary storage error".
2014-01-13 14:55:47 -08:00
Murali Reddy b6698f354c CLOUDSTACK-5861: networks that failed to implement can not be destroyed
introduces a force option in delete network to forcifully delete a
network. This comes handy in rare cases where network fails to implenet
and network is in shutdown state, but network shutdown to rollback
implement process fails as well.
2014-01-13 23:24:12 +05:30
Murali Reddy e1a15ea15b CLOUDSTACK-5849: Failed shutdown of the network causes network state to
be changed to 'Implemented'

Wrong network state transition

s_fsm.addTransition(State.Shutdown, Event.OperationFailed,State.Implemented

fix keeps state as Shutdown
2014-01-13 23:24:12 +05:30
Likitha Shetty 6bb15a0005 CLOUDSTACK-5707. Hitting multiple 'User unauthenticated' exceptions when vCenter is upgraded to 5.5 from 5.1.
We hit these excptions whenever a management server held session that was with the old 5.1 vCenter server
is used to make resource calls to the new 5.5 vCenter.
Validate a vCenter session context before it is being used to make a resource call.
And if the context is invalid then discard the context and retrieve a new one.
During the invalidation of an old context handle the context disconnect better
by catching the appropriate exception and returning a newly created context.
2014-01-13 21:57:39 +05:30
Gaurav Aradhye f18c7ba740 CLOUDSTACK-5748: Refactored code related to executing script 2014-01-13 12:18:01 +05:30
Daan Hoogland d03a47f0ea CLOUDSTACK-5848 make sure <number> is interpreted as 'vlan://'<number> 2014-01-11 21:23:15 +01:00
Marcus Sorensen 2db6c10c07 Fix Null pointer in CreateVlanIpRangeCmd 2014-01-11 10:10:33 -07:00
Kelven Yang b2d5e374d9 CLOUDSTACK-5734: Fix the regression caused by adding hyper-V support 2014-01-10 17:58:48 -08:00
sbalineni 343b6acae2 Contrail plugin 4.3 fixes
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-10 17:14:01 -08:00
Marcus Sorensen 9df5c18850 CLOUDSTACK-5843
For some reason the mgmt server is required to have access to the template
being registered in order to check its size against resource limits
during registration. This is bad, but worse, it's a sync call, so this
call can hang for up to the default HTTP connection timeout.

Reducing http timeout as a quick workaround, but this check needs to
1) be removed or 2) done later or 3)registerTemplate needs to be async
and 4) moved off the mgmt server (ssvm is the only thing that needs access to
template url).
2014-01-10 17:57:10 -07:00
Jessica Wang 69aed6fe0f CLOUDSTACK-5831: UI > Volumes > take snapshot > get "quiescevm" property from listVolumes API instead of listStoragePools API since regular-user/domain-admin don't have access to listStoragePools API. 2014-01-10 16:26:54 -08:00
Sheng Yang de262ac168 Revert "Contrail VRouter plugin major bug fixes for CS 4.3"
This reverts commit dc511dd95b.
2014-01-10 16:22:40 -08:00
sbalineni dc511dd95b Contrail VRouter plugin major bug fixes for CS 4.3
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-10 16:03:12 -08:00
Jessica Wang 5c4caf0b99 CLOUDSTACK-5492: UI > Routers > Group by zone/pod/cluster/account > (1) fix a bug that requiresUpgrade wrongly showed"No" when it should show "Yes".
(2) detailView > add new field "Total of Virtual Routers that require upgrade".
2014-01-10 15:57:18 -08:00
Marcus Sorensen 1f9ad23ba0 CLOUDSTACK-5502 createVlanIpRange, allow untagged to be accepted per previous use,
equate empty string to untagged in api parameter input
2014-01-10 16:30:43 -07:00
Jessica Wang ec191455f4 CLOUDSTACK-5614: UI > Infrastructure > Sockets > show "N/A" in Socketes column for hypervisors that don't support socket info. 2014-01-10 14:17:57 -08:00
rayeesn db02388eb0 Fix for defect CLOUDSTACK-5053, QEMU should be installed in KVM agent hosts 2014-01-10 14:01:00 -08:00
Jessica Wang 3d2d93ad5f CLOUDSTACK-5614: UI > Hosts > detailView > add new field "The Number of CPU Sockets". 2014-01-10 11:26:23 -08:00
Marcus Sorensen a80debbddf CLOUDSTACK-5853
Create two storage pools, one with storage tag X, one with storage tag Y.
Create a service offering with storage tag X.
Create a disk offering with storage tag Y.
Attempt to deploy a virtual machine with a datadisk, using given offerings, it fails.

Deployment planner keeps a global object 'avoid'. It loops through each volume to
be created, asking storage allocators for matching pools, passing this avoid object.

First disk matches a pool or pools, adds ALL other pools to avoid object, then
deployment planner attaches matching pools to a list for that disk.

Second disk matches a pool, adds all other pools to avoid object, then deployment
planner says "wait, matching pool is in avoid, can't use it". Oops. In fact, at this
point ALL pools are in avoid (unless there are other pools that have both tags).

Need to remove matching pool from the avoid set during each select phase.
2014-01-10 11:34:17 -07:00
Harikrishna Patnala 7a39b0a2e1 CLOUDSTACK-4904: Unable to see a derieved template if the
parent template is deleted. Modified template_view so that removed(or InActive) templates also be there in the view.
Previous behavior of listing templates and state column in vm_templates will be the same.
2014-01-10 10:24:35 -08:00
Bharat Kumar 35e09c81e6 CLOUDSTACK-5651 deployVm: customparameters param name has to be changed
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-01-10 09:42:33 -08:00
Murali Reddy db10acd8b3 CLOUDSTACK-5647 Adding F5 device to network service provider fails with
NoClassDefFoundError

adding back missing (removed from 4.3) dependency 'commons-discovery'
2014-01-10 22:01:55 +05:30
Kishan Kavala 202a935fcd CLOUDSTACK-5852: router search in DomainDouterDao using AllFieldsSearch filters few routers due to router_network_ref join. Created a seperate search to list running routers with filters. 2014-01-10 19:57:02 +05:30
SrikanteswaraRao Talluri 4d629bbfbf CLOUDSTACK-5113: Fix get_template method to return 'BUILTIN' template in ready state with
matching given ostype
2014-01-10 19:51:55 +05:30
Devdeep Singh 06a7795552 CLOUDSTACK-5657: Run the service as an account (hyper-v admin on host) so
that migration can work across hosts.
2014-01-10 17:09:26 +05:30
Devdeep Singh f417297bbb CLOUDSTACK-5639: If path field in the TO already has the complete path, do
not try to generate the path.
2014-01-10 16:34:06 +05:30
Edison Su eef4a8957d fix devcloud router start 2014-01-09 17:16:27 -08:00
Jessica Wang d758996b71 CLOUDSTACK-5656: UI > network > IP Address > configuration tab > Port Forwarding > add "State" column. 2014-01-09 16:10:41 -08:00
Edison Su 9583c47a3f fix devcloud: get back whatever we have before 2014-01-09 15:25:09 -08:00
Jessica Wang d11560d27b CLOUDSTACK-5557: UI > Network > Guest Network > IP Address > fix a bug that SourceNAT IP, VPC tier IP wrongly showed Configuration tab(firewall/portforwarding/loadbalancing).
SourceNAT IP, VPC tier IP should not show Configuration tab(firewall/portforwarding/loadbalancing).
2014-01-09 14:53:56 -08:00
Jessica Wang 277b93c19c CLOUDSTACK-5840: UI > Snapshots > create volume from snapshot dialog > add zone dropdown if region-wide secondary storage exists. 2014-01-09 14:35:48 -08:00
Min Chen 9a4a2911da CLOUDSTACK-5819:extractTemplate fails with Vmware host on migration of
NFS to S3.
2014-01-09 14:05:35 -08:00
Jessica Wang 644a9bc532 CLOUDSTACK-5840: UI > Secondary Storages > remove "prepareObjectStoreMigration" action (since prepareSecondaryStorageForMigration API has been removed from server-side). 2014-01-09 11:22:06 -08:00
Min Chen 072581b09c Remove old prepareSecondaryStorageForMigration from gen_toc.py. 2014-01-09 09:32:10 -08:00
Kishan Kavala ac68ebd631 CLOUDSTACK-5656: Removed Filtering of revoked rules while listing. API returns state as Deleting for revoked rules. 2014-01-09 22:00:32 +05:30
Olivier Lemasle d5277a81e6 CLOUDSTACK-5404: Fix timezone bug in network usage 2014-01-09 14:06:28 +01:00
SrikanteswaraRao Talluri 15cec79b5e CLOUDSTACK-5846: added updateCloudToUseObjectStore to known_category dict in gen_toc.py
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 17:03:49 +05:30
Rajani Karuturi 12f3568e97 CLOUDSTACK-5790: decrypted ldap hostname and port during upgrade as they are not encrypted now.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 15:43:21 +05:30
Rajani Karuturi dfabe2334b Revert "CLOUDSTACK-5435 enabled encryption for ldap params"
This reverts commit 24392c15f5.

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 15:43:21 +05:30
Milamber 7584cf9061 Update L10N strings from Transifex to repo (prepare 4.3 RC1) 2014-01-09 07:49:19 +00:00
Devdeep Singh 2ace4fe241 CLOUDSTACK-5795: Template.properties file wasn't created when a template
was created from a volume. Added a post creation change to create the file
with the necessary information.
2014-01-09 10:50:59 +05:30