cloudstack/plugins
Wei Zhou 258118efa6 CLOUDSTACK-4405: additional patch for bridge name and firewall rules issues after KVM upgrade to 4.2
There still exist two issues after Edison's commits.
(1) Migration from new hosts to old hosts failed.
The bridge name on old host is set to cloudVirBr* if network.bridge.name.schema is set to 3.0 in /etc/cloudstack/agent/agent.properties, but the actual bridge name is breth*-* after running cloudstack-agent-upgrade.
(2) all ports of vms (Basic zone, or Advanced zone with security groups) on old hosts are open, because the iptables rules are binding to device (bridge) name which is changed by cloudstack-agent-upgrade.

After this, the KVM upgrade steps :
a. Install 4.2 cloudstack agent on each kvm host
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
    c1. mkdir /etc/libvirt/hooks
    c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
    c3. chmod +x /etc/libvirt/hooks/qemu
    c4. service libvirtd restart
    c5. service cloudstack-agent restart

Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:55:00 +02:00
..
acl/static-role-based Updating pom.xml version numbers for release 4.3.0-SNAPSHOT 2013-08-01 10:35:00 -04:00
affinity-group-processors Changes required to merge to master: 2013-09-03 20:03:11 -07:00
alert-handlers Fixed up the pom.xml to use dependencies specified in cloudstack pom 2013-08-02 13:51:47 -07:00
api Bring up to date with master 2013-08-31 00:25:48 +01:00
dedicated-resources CLOUDSTACK-4276 Dedicated Resources: Private Zone functionality issues 2013-09-03 20:02:56 -07:00
deployment-planners Revert "Reverting the range of commits that broke the build" 2013-08-08 15:02:40 -07:00
event-bus/rabbitmq Updating pom.xml version numbers for release 4.3.0-SNAPSHOT 2013-08-01 10:35:00 -04:00
file-systems/netapp Updating pom.xml version numbers for release 4.3.0-SNAPSHOT 2013-08-01 10:35:00 -04:00
host-allocators/random Updating pom.xml version numbers for release 4.3.0-SNAPSHOT 2013-08-01 10:35:00 -04:00
hypervisors CLOUDSTACK-4405: additional patch for bridge name and firewall rules issues after KVM upgrade to 4.2 2013-09-24 09:55:00 +02:00
network-elements Cleanup pom.xml in various projects to properly use managed versions and other defaults 2013-09-21 17:21:06 +08:00
storage Fix a few xml wellformedness issues 2013-09-21 14:58:56 +08:00
storage-allocators/random Updating pom.xml version numbers for release 4.3.0-SNAPSHOT 2013-08-01 10:35:00 -04:00
user-authenticators Revert "Cleanup DefaultUserAuthenticator and removed masking _name variable" 2013-09-20 19:33:50 +05:30
pom.xml Rename nonoss to noredist to better reflect what the flag is used for. 2013-09-21 12:32:09 +08:00