Alex Huang
ee9eadef47
bug 12054: added details level to make it faster if so desired by the admin. Reviewed-by: Alena, Will
2011-11-16 17:32:56 -08:00
Alex Huang
013b14dffe
print out the statement on closing for better debugging output
2011-11-16 16:24:02 -08:00
Kelven Yang
fc1854681a
bug 12039, 12041: forgot one more place. Reviewed-by: kelven
2011-11-16 11:26:12 -08:00
root
1db4e8b3f5
bug 11938: Remove thread.sleep() from HostCapacityChecker. cpu and memory capacities can be null for host in maintenance so check for that, wrap the host capacity checker thread with try and catch to make it more robust. Add more logging for entry and exit of thread.
...
status 11938: resolved fixed
reviewed-by: Abhi
2011-11-16 20:13:07 +05:30
Kelven Yang
e790059a34
bug 12039, 12041: detach all disks before destroy worker VM to avoid accidentally delete the underlying disk along with the worker VM. Reviewed-by: Kelven
2011-11-15 19:05:53 -08:00
Alex Huang
67aa34f46d
bug 12040: fixed the problem where if the connection is not retrievable, we cause a classcastexception
...
Reviewed-by: Anthony
2011-11-15 12:12:50 -08:00
keshav
58a09e00a7
Don't need to specify source NAT IP address and public VLAN tag in interface NAT mode.
2011-11-14 19:01:34 -08:00
frank
536a93d16a
Bug 12007 - OVM - Addition of OVM host fails - NPE (edit)
...
fix a typo
reviewed-by: edison
2011-11-14 16:59:55 -08:00
Alena Prokharchyk
f084445901
bug 11938: don't index usage tables when do upgrade from 2211 to 2212.
...
status 11938: resolved fixed
reviewed-by: Frank Zhang
This fix would cover following scenario:
* the customer is upgrading from 2.2.11 to 2.2.13.
* the incorrect indexes are being dropped as a part of 2.2.12 to 2.2.13 upgarde, but we still insert them as a part of 2.2.11 to 2.2.12, and it might lead to the db upgrade failure. The only one way to handle this case - remove them from 2.2.11 to 2.2.12 upgrade path
2011-11-14 16:00:28 -08:00
frank
7c231c98f6
Bug 12007 - OVM - Addition of OVM host fails - NPE (edit)
...
skip scanning stopped VMs on primary storage if it is not existing, because first time fullsync() called the
primary storage has not been mounted
status 12007: resolved fixed
reviewed-by: edison
2011-11-14 10:26:03 -08:00
Edison Su
04e5c842f8
bug 11991: don't duplicate templates into other secondary storages
...
status 11911: resolved fixed
Reviewed-by: anthony
2011-11-11 14:22:01 -08:00
Abhinandan Prateek
89d046a62b
bug 11987: changing virtualmachineimpl to reoccuring listener
...
reviewed-by: nitin
2011-11-11 19:22:56 +05:30
kishan
601ce4ca62
bug 11889: Revert earlier commit. use sshkeypair instead of keypair in API response
...
status 11889: resolved fixed
reviewed-by: Nitin
2011-11-11 14:12:22 +05:30
kishan
c15dbd561a
bug 11961: Before creating template usage_storage records, check if entry already exists. In multiple secondary storage case, duplicate usage events will be ignored.
...
status 11961: resolved fixed
reviewed-by: Nitin
2011-11-11 13:44:20 +05:30
Abhinandan Prateek
4b074600eb
bug 11979: if a VM is absent on the cluster, it is effectively in stopped state.
...
reviewed-by: kishan
2011-11-11 10:53:33 +05:30
Edison Su
7fe51e06b6
bug 11835: don't return error if it's delete firewall rules
...
status 11835: resolved fixed
Reviewed-by: frank
2011-11-10 17:58:37 -08:00
frank
e3240664ab
fix a typo
...
Host.Type.SecondaryStorageVM is the correct type of StartupSecondaryStorageCommand
2011-11-10 17:36:59 -08:00
frank
0821023aa5
Don't allow Agent send out StartupCommand if it can not get its local IP address,
...
otherwise mgmt server will get an incomplete StartupCommand
2011-11-10 17:34:44 -08:00
frank
bb7293c9a5
Bug 11933 - Unable to add Primary Storage (OCFS2) to a OVM Cluster
...
Don't allow character beyond [A-Z0-9] in OCFS2 cluster name
it is not allowed by OCFS2 configure script
reviewed-by: edison
2011-11-10 17:06:46 -08:00
Edison Su
e12368da5f
bug 11981: upgrade snapshot version number from 2.1 to 2.2 if it's a root volume
...
status 11981: resolved fixed
Reviewed-by: Anthony
2011-11-10 16:21:23 -08:00
frank
888a982d9e
Bug 11933 - Unable to add Primary Storage (OCFS2) to a OVM Cluster
...
Bug 11948 - Cannot add a new OVM host to an existing OVM cluster
Bug 11699 - OVM - add host previously used in other OVM cluster > host went to alert state> host cleanup procedure needed
status 11933: resolve fixed
status 11948: resolve fixed
status 11699: resolve fixed
replace ovs-agent ocfs2 functions with our implementation.
ovs-agent's implementation doesn't check error condition, it can only run if everything is correct.
we also add check for used host without clean up, clean up procedure will print out as error message
reviewed-by: edison
2011-11-10 14:53:26 -08:00
Kelven Yang
84e50db0ee
bug 11973: Escape VM name to prevent from XSS attack. Reviewed-by: Alex huang
2011-11-10 12:01:36 -08:00
Kelven Yang
f9bea27d0b
bug 11940: apply disk controller selection only to ROOT disks
...
Reviewed-by: Annothy Xu
2011-11-10 10:55:07 -08:00
Abhinandan Prateek
02c97f90ce
bug 11910: during full sync ignoring VMs which have been into starting state shortly
...
reviewed-by: kishan
2011-11-10 11:59:08 +05:30
frank
3cc37ed3fb
refine the logic seraching ssvm when generate firewall configuration
2011-11-09 14:37:36 -08:00
Alena Prokharchyk
56e5255cdc
bug 11573: made network wait timeout configurable
...
status 11573: resolved fixed
reviewed-by: Alex Huang
2011-11-09 13:13:49 -08:00
Edison Su
883058ed1a
bug 11919: if volume is dettached, instance id is null
...
status 11919: resolved fixed
Reviewed-by: frank
2011-11-09 10:41:14 -08:00
Alena Prokharchyk
b16777994f
bug 11924: don't return ISO entries where removed != null
...
status 11924: resolved fixed
reviewed by: Will Chan
2011-11-09 09:39:31 -08:00
Naredula Janardhana Reddy
516ea0ee0f
Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y
2011-11-09 16:37:03 +05:30
kishan
4a80506448
bug 11938: Removed unique constraint on usage_network_offering table.
...
status 11938: resolved fixed
reviewed-by: Abhi
2011-11-09 16:27:31 +05:30
Naredula Janardhana Reddy
1148ebfdcd
bug 11590:
...
reviewed-by: Abhi
Summary of Changes:
while adding a primary address to the domR interface, previous primaray addresses(ip) are removed and added as with 32-bit netmask.
This is to avoid two same ip's with different netmask attached to the interface.
2011-11-09 16:24:42 +05:30
Abhinandan Prateek
884b9f3a35
bug 11880: host status is now in sync
2011-11-08 16:44:48 +05:30
kishan
6ad712d1c4
bug 11851: When Add VPN user fails, remove the user entry from db instead of leaving in Add state.
...
status 11851: resolved fixed
reviewed-by: Abhi
2011-11-08 15:53:32 +05:30
Alena Prokharchyk
657edb1a56
bug 11923: don't expose command name in the exception response when command is not available
...
status 11923: resolved fixed
reviewed-by: Will Chan
2011-11-07 18:00:11 -08:00
anthony
1660ae3890
bug 11800: update DB for upgrade
2011-11-07 14:50:02 -08:00
Nitin
e9b21dad49
bug 11428: For volumes use findIdIncludingRemoved since volumes can be removed
...
Reviewed by - Kishan
status 11428: resolved fixed
2011-11-07 19:05:44 +05:30
Nitin
18a243e1d6
bug 11428: Under VMware with current version, for snapshot related related operations,
...
1) if snapshot is originally created from root volume, allow only
CreateTemplateCommand from snapshot
2) if snapshot is originally created from data volume, allow only
CreateVolumeCommand from snapshot
Reviewed by - Kishan
status 11428: resolved fixed
2011-11-07 18:30:24 +05:30
Nitin
fff9e275b1
bug 11778: Make sure that there exist no PF/LB rules before enabling static nat on an ip and vice versa. Reviewed by - Jana
...
status 11778: resolved fixed
2011-11-07 17:08:58 +05:30
anthony
dd272ee1a7
Upgrade: no error for this statement
2011-11-04 20:35:06 -07:00
anthony
cd9d8829ff
Upgrade : script fix
2011-11-04 15:43:19 -07:00
Edison Su
7a1a844e6b
bug 11759: fedora still uses cloud-qemu-img to take snapshot
...
status 11759: resolved fixed
2011-11-04 13:36:15 -07:00
anthony
067e3f9fbf
bug 11903: create local link when host is connected
...
status 11903: resolved fixed
2011-11-04 12:00:35 -07:00
Chiradeep Vittal
52dfd3a7fd
bug 11336: better message
2011-11-04 11:30:24 -07:00
Chiradeep Vittal
cc5e459be0
bug 11336: limit the number of outstanding messages sent to a host to conserve memory
2011-11-04 11:30:13 -07:00
anthony
5c98da6cc4
upgrade : fix script
2011-11-04 10:37:12 -07:00
Abhinandan Prateek
8ff85363a8
removing some debug statements
2011-11-04 18:14:19 +05:30
Abhinandan Prateek
7144ebcaef
bug 11800: checking for null value
2011-11-04 18:14:19 +05:30
Naredula Janardhana Reddy
5f4e74bbc4
bug 11191: rp_filter changes: correcting display error
2011-11-04 17:17:57 +05:30
Naredula Janardhana Reddy
6b6cd0a8b5
bug 11191: rp_filter changes.
...
The following are summary of changes:
1) when network.disable.rpfilter is set to true, then rp_filter will be disadbled(set to 0) on all the public interfaces and also default setting of the system.
2) when network.disable.rpfilter is set to false, then rp_filter will be enabled(set to 1) on all the public interfaces and also default setting of the system.
3) here public public interface means , eth2 ... ethN. default setting means (/proc/sys/net/ipv4/conf/default/rp_filter).
4) Default setting change will have impact on non-public interface. Due to these, rp_filter is always enabled on Non-public interfaces(eth0,eth1 and lo).
5) when a new public interface is created, new interface will take rp_filter value from the default setting.
2011-11-04 17:08:20 +05:30
kishan
6a085608cb
bug 11889: use keypair instead of sshkeypair in API response
...
status 11889: resolved fixed
2011-11-04 13:56:41 +05:30