Sangeetha Hariharan created CLOUDSTACK-1819:
-----------------------------------------------
Summary: Issues seen when trying to move a zone from 1 region to
another.
Key: CLOUDSTACK-1819
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1819
Project: CloudStack
Issue Type: Bug
Components: Management Server
Affects Versions: 4.1.0
Environment: Build from 4.1
Reporter: Sangeetha Hariharan
Assignee: Kishan Kavala
Priority: Critical
Fix For: 4.1.0
Issues seen when trying to move a zone from 1 region to another.
Steps followed:
For Region1:
1. Configured management server with 2 zones.
Registered few templates and deployed few Vms in both the zones.
2. Disable all the zones in region 1
3. Dump region 1 DB ( mysqldump -u cloud -p -h <region1_db_host> cloud >
region1.sql)
4. Stop management server.
For Region2:
4. Install another management server for region 2.
5. Set the region_id while installing the DB (
cloud-setup-databases cloud:<dbpassword>@localhost --deploy-as=root:<password>
-e <encryption_type> -m <management_server_key> -k <database_key> -r
<region_id>)
6. Stop management server.
7. Copy region 1 DB to to this region ( mysql -u cloud -p -h <region2_db_host>
cloud < region1.sql )
8. Start all management servers. At this point all the zones are disabled
9. Enable zone1 in region1.
10. Enable zone2 in region2.
Issues Found after following the above steps:
1. UI for region1 and region2 shows details relating to all the Zones (
including the disabled zones). This is very confusing to see VMs/Templates from
both the regions being listed in the region that does not service the region
anymore.
2. Console Proxy view does not work for the newly deployed Vms in region2.
3. Not able to register a new template in region2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira