Daan Hoogland
cd67382b69
Merge branch 'ui_domain_sort' of https://github.com/remibergsma/cloudstack
2015-04-13 07:10:39 -05:00
Gaurav Aradhye
8a5b1e60a4
CLOUDSTACK-8375: VCenter port group verification - return as PASS if no physical networks in zone
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-13 16:58:14 +05:30
Gaurav Aradhye
4d05c3b966
CLOUDSTACK-8375: Marvin - Code Improvement - related to verifying VCenter port groups corresponding to traffic types in a zone
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-13 16:58:13 +05:30
Rohit Yadav
ccf13ec04e
kvm: xml escape password
...
(cherry picked from commit 13de2691fd )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2015-04-13 16:10:42 +05:30
Rohit Yadav
7949d2922d
vmware: plugin improvements
...
- use sticky chmod 1777 on the mountpoint
- remove dead code
(cherry picked from commit eea716b791 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-13 15:49:01 +05:30
Rohit Yadav
04dccda3f0
vmware-base: get vsessiontimeout from client class
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 4d9a94ce69 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-13 15:48:11 +05:30
Rohit Yadav
a70947f9b1
CLOUDSTACK-7593: in 450to451 upgrade path copy vm_details from template for vmware
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 8e15070780 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-13 15:47:59 +05:30
Rohit Yadav
a07497b373
server: fix NPE case in VolumeApiServiceImpl
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit df934c9541 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-13 15:47:51 +05:30
Rohit Yadav
48ef7e5f28
utils: improve timeout to 60s, define generics properly
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d2471df0be )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-13 15:47:45 +05:30
Rohit Yadav
74e0a5f9ec
server: fix system account create logs
...
Don't output scary message, avoid logging network_group table not found and
log sane messages if system/admin account/user already exist.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 5599dee90d )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-13 15:47:36 +05:30
Rohit Yadav
37820e15f2
CLOUDSTACK-7593: allow nic type to be fetched from vm's details
...
(cherry picked from commit 43db75c319 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
2015-04-13 15:47:03 +05:30
Remi Bergsma
a7f8059fd3
CLOUDSTACK-6543 Sort domain lists in UI
...
As recently discussed on the dev list:
This sorts the domain lists based on their path.
Especially handy when having a lot of domains,
like in a public cloud.
2015-04-12 23:21:43 -05:00
Daan Hoogland
c158cff68c
rat: readable license in pom.xml
2015-04-12 20:03:02 -05:00
Daan Hoogland
e459ccfa6b
rat: new license copy from sibling test class
2015-04-12 19:56:00 -05:00
Daan Hoogland
951ffb1f03
empty comments needed for license?
2015-04-13 02:07:56 +02:00
Daan Hoogland
21e18b1e60
rats are rodents
2015-04-12 21:04:08 +02:00
Daan Hoogland
d3a98ab0d0
findbugs: comparison of wrapper classes should use equals
2015-04-12 21:00:21 +02:00
Daan Hoogland
67719b1be0
findbugs: pattern in used in split method
2015-04-12 20:57:20 +02:00
Daan Hoogland
6f2fb92364
findbugs: .equals() on wrapper class
2015-04-12 20:27:23 +02:00
Daan Hoogland
9f8a40acd5
findbugs: unnecesarry null return in utility function removed;
...
Category BAD_PRACTICE
2015-04-12 20:23:26 +02:00
Daan Hoogland
cb02a32f79
findbugs: boxing/unboxing removed
2015-04-12 20:16:13 +02:00
Daan Hoogland
72b2422623
findbugs: removed identical override for CitrixResourceBase method
...
transferManagementNetwork
2015-04-12 20:10:20 +02:00
Daan Hoogland
332da26cb9
findbugs: unused retry count causing unintended useless null guard
2015-04-12 19:58:05 +02:00
Daan Hoogland
015eef2f4b
findbugs: explicit default encoding
2015-04-12 19:39:25 +02:00
Ian Duffy
559b014953
Add *.md to the RAT exclude list
2015-04-11 16:23:03 +01:00
Ian Duffy
66cded75e0
Move Devcloud4 into main repository
2015-04-11 16:17:02 +01:00
Daan Hoogland
da233c7bf1
Merge branch 'master' of https://github.com/remibergsma/cloudstack
2015-04-10 15:08:01 -05:00
Rohit Yadav
d8eb2e5e48
systemvmtemplate: install open-vm-tools from wheezy-backports, install XStools
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-10 15:48:36 +05:30
Remi Bergsma
7bce656b40
make sure sync cannot block reboot
...
The recent discussed improvement has the risk that if 'sync' hangs, the reboot may be delayed in the same way as the 'reboot' command would do. To work around, we're adding a 5 second timeout. If it cannot sync in 5 seconds, it will not succeed anyway and we should proceed the reset.
@snuf: Could we use your OVM3 heartbeat script for other hypervisors as well? One way to do it seems like a nice idea :-)
2015-04-09 12:18:21 +02:00
Rohit Yadav
770297e8cb
db: move bigswitch related sqls to schema-451to460.sql
...
We ought not change older schema migrations, so moved sql statements to the latest
upgrade path.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 13:15:02 +05:30
KC Wang
01864ef77c
CLOUDSTACK-6697: bigswitch networking plugin update
...
1. provide compatibility with the Big Cloud Fabric (BCF) controller
L2 Connectivity Service in both VPC and non-VPC modes
2. virtual network terminology updates: VNS --> BCF_SEGMENT
3. uses HTTPS with trust-always certificate handling
4. topology sync support with BCF controller
5. support multiple (two) BCF controllers with HA
6. support VM migration
7. support Firewall, Static NAT, and Source NAT with NAT enabled option
8. add VifDriver for Indigo Virtual Switch (IVS)
This closes #151
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 13:02:02 +05:30
Rohit Yadav
72430247ed
CLOUDSTACK-8364: don't async poll for deleteVolume which is not an async API
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 1ef585f9e6 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 12:41:57 +05:30
sanjeev
40943e85ca
Hosts without tag are not listed while listing the hosts for migration for instance with tag
2015-04-09 10:53:59 +05:30
wilderrodrigues
cb2b9e870b
Fixing the communication with VM via Public IP
...
- Pub IP port forwarding and static NAT fixed for single VPCs
- Pub IP port forwarding fixed for redundant VPCs
[wip] fix static NAT for redundant VPCs
This closes #150
2015-04-08 16:04:55 +02:00
Rohit Yadav
aada8fe1d5
CLOUDSTACK-8372: Encrypt key column when saving key in keystore table
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6c5cf04d62 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-08 14:37:14 +05:30
shweta agarwal
974c56423d
Restore VM verification tests
...
This closes #148
Signed-off-by: SrikanteswaraRao Talluri<talluri@apache.org>
2015-04-08 12:39:16 +05:30
shweta agarwal
433e6a2bd4
added two test case related to restore VM functionality
2015-04-07 11:16:20 +05:30
wilderrodrigues
096d1b93b0
This closes #146
...
Refactoring the NetworkUsageCommand wrapper in order to cope with new design
- Unit tests added: 100% coverage
2015-04-05 13:24:45 +02:00
wilderrodrigues
02d1cdd49a
Refactoring the MigrateVolumeCommand wrapper in order to cope with new design
...
- Unit tests added: 43.1% coverage
- It's a bit difficult to test the Xen API classes due to their static nature
2015-04-05 09:23:10 +02:00
wilderrodrigues
f6e162afe4
Refactoring the MigrateWithStorageCompleteCommand wrapper in order to cope with new design
...
- Unit tests added: 50% coverage
- It's a bit difficult to test the Xen API classes due to their static nature
2015-04-05 09:23:10 +02:00
wilderrodrigues
d5414d26b4
Refactoring the MigrateWithStorageSendCommand wrapper in order to cope with new design
...
- Unit tests added: 47.2% coverage
- It's a bit difficult to test the Xen API classes due to their static nature
2015-04-05 09:23:10 +02:00
wilderrodrigues
c5a2f926e0
Refactoring the MigrateWithStorageReceiveCommand wrapper in order to cope with new design
...
- Unit tests added: 65% coverage
- It's a bit difficult to test the Xen API classes due to their static nature
2015-04-05 09:23:09 +02:00
wilderrodrigues
858b87f01c
Refactoring the MigrateWithStorageCommand wrapper in order to cope with new design
...
- Unit tests added: 30.1% coverage
- It's a bit difficult to test the Xen API classes due to their static nature
2015-04-05 09:23:09 +02:00
wilderrodrigues
240bcb8120
Refactoring the GetGPUStatsCommand wrapper in order to cope with new design
...
- Unit tests added: 100% coverage
2015-04-05 09:23:09 +02:00
wilderrodrigues
bcee7281c6
Started refctoring the remaining XenServer resources
...
- Just cleaning the formating
2015-04-05 09:23:09 +02:00
Remi Bergsma
c59308b0ee
write logfile just before rebooting the host
...
As discussed with @wido @pyr and @nuxro added an extra log line.
Tested it and it logs fine (tested to local disk) when syncing first:
Apr 3 15:31:23 mcctest2 heartbeat: kvmheartbeat.sh system because it was unable to write the heartbeat to the storage
By the way, it did also log to the agent.log but this extra log has the benefit of ending up in the system log so you'll probably find it easier there. Existing logs:
2015-04-03 15:27:23,943 WARN [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat failed: timeout, retry: 0
2015-04-03 15:28:23,944 WARN [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat failed: timeout, retry: 1
2015-04-03 15:29:23,946 WARN [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat failed: timeout, retry: 2
2015-04-03 15:30:23,948 WARN [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat failed: timeout, retry: 3
2015-04-03 15:31:23,950 WARN [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat failed: timeout, retry: 4
2015-04-03 15:31:23,950 WARN [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat failed: timeout; reboot the host
This closes #145
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-04 14:17:37 +05:30
Gaurav Aradhye
799a03398c
CLOUDSTACK-8361: Adding functionality in marvin to check the port groups in VCenter corresponding to configuration of traffics in physical networks
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This closes #144
2015-04-03 15:28:48 +05:30
wilderrodrigues
3f89cd6494
Adding license headers that made RAT fail
...
- Test classes affected
This closes #143
2015-04-03 10:43:30 +02:00
Sebastien Goasguen
b487074c5f
Exclude CONTRIBUTING from RAT and link it on README
2015-04-03 10:08:24 +02:00
Rohit Yadav
97ad1e24b8
systemvmtemplate: increase /opt parititon by 100MB
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-03 10:49:36 +05:30