[
https://issues.apache.org/jira/browse/CLOUDSTACK-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13753562#comment-13753562
]
Abhinav Roy commented on CLOUDSTACK-4554:
-----------------------------------------
mysql> select * from host\G;
*************************** 1. row ***************************
id: 1
name: 10.102.192.23
uuid: fa3ba9f3-3512-433e-bae9-293a47c5c06a
status: Up
type: Routing
private_ip_address: 10.102.192.23
private_netmask: 255.255.252.0
private_mac_address: 78:2b:cb:25:90:0f
storage_ip_address: 10.102.192.23
storage_netmask: 255.255.252.0
storage_mac_address: 78:2b:cb:25:90:0f
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: 2
public_ip_address: NULL
public_netmask: NULL
public_mac_address: NULL
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpus: 8
speed: 2393
url: NULL
fs_type: NULL
hypervisor_type: VMware
hypervisor_version: 4.1
ram: 34345820160
resource: com.cloud.hypervisor.vmware.resource.VmwareResource
version: 4.2.0
parent: NULL
total_size: NULL
capabilities: hvm
guid: HostSystem:[email protected]
available: 1
setup: 0
dom0_memory: 0
last_ping: 1345484271
mgmt_server_id: 90310994128556
disconnected: 2013-08-29 11:30:59
created: 2013-08-29 09:46:02
removed: NULL
update_count: 9
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 2. row ***************************
id: 2
name: nfs://10.102.192.100/cpg_vol/abhinav/esx-sec4239
uuid: 1bde4524-c1fa-4c64-af2f-bf33f32a6a48
status: Alert
type: SecondaryStorage
private_ip_address: nfs
private_netmask: 255.255.252.0
private_mac_address: 5a:4d:dc:f8:26:c5
storage_ip_address: 10.102.192.200
storage_netmask: 255.255.252.0
storage_mac_address: 5a:4d:dc:f8:26:c5
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: NULL
public_netmask: NULL
public_mac_address: NULL
proxy_port: NULL
data_center_id: 1
pod_id: NULL
cpus: NULL
speed: NULL
url: nfs://10.102.192.100/cpg_vol/abhinav/esx-sec4239
fs_type: NULL
hypervisor_type: None
hypervisor_version: NULL
ram: 0
resource: NULL
version: 3.0.6.20121222035904
parent: dccdd28f-8068-34a1-ae65-669dc9e0166a
total_size: 107374182400
capabilities: NULL
guid: nfs://10.102.192.100/cpg_vol/abhinav/esx-sec4239
available: 1
setup: 0
dom0_memory: 0
last_ping: 1345478099
mgmt_server_id: NULL
disconnected: NULL
created: 2013-08-29 09:46:13
removed: NULL
update_count: 3
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 3. row ***************************
id: 3
name: v-2-VM
uuid: e13bb825-737a-4c62-91fb-c55e2294feb9
status: Disconnected
type: ConsoleProxy
private_ip_address: 10.102.195.63
private_netmask: 255.255.252.0
private_mac_address: 06:83:40:00:00:17
storage_ip_address: 10.102.195.63
storage_netmask: 255.255.252.0
storage_mac_address: 06:83:40:00:00:17
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: 10.102.197.205
public_netmask: 255.255.255.0
public_mac_address: 06:b5:06:00:00:20
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpus: NULL
speed: NULL
url: NoIqn
fs_type: NULL
hypervisor_type: NULL
hypervisor_version: NULL
ram: 0
resource: NULL
version: 3.0.6.20121222035904
parent: NULL
total_size: NULL
capabilities: NULL
guid: Proxy.2-ConsoleProxyResource
available: 1
setup: 0
dom0_memory: 0
last_ping: 1345478669
mgmt_server_id: NULL
disconnected: NULL
created: 2013-08-29 09:51:40
removed: 2013-08-29 10:11:24
update_count: 3
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 4. row ***************************
id: 4
name: s-4-VM
uuid: 2368e8c4-29de-49f4-93a3-215f0152d968
status: Disconnected
type: SecondaryStorageVM
private_ip_address: 10.102.195.51
private_netmask: 255.255.252.0
private_mac_address: 06:11:9c:00:00:0b
storage_ip_address: 10.102.195.51
storage_netmask: 255.255.252.0
storage_mac_address: 06:11:9c:00:00:0b
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: 10.102.197.207
public_netmask: 255.255.255.0
public_mac_address: 06:41:24:00:00:22
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpus: NULL
speed: NULL
url: NoIqn
fs_type: NULL
hypervisor_type: NULL
hypervisor_version: NULL
ram: 0
resource: NULL
version: 3.0.6.20121222035904
parent: NULL
total_size: NULL
capabilities: NULL
guid: s-4-VM-PremiumSecondaryStorageResource
available: 1
setup: 0
dom0_memory: 0
last_ping: 1345478669
mgmt_server_id: NULL
disconnected: NULL
created: 2013-08-29 09:53:00
removed: 2013-08-29 10:22:12
update_count: 3
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 5. row ***************************
id: 5
name: v-7-VM
uuid: 8d50c879-487e-4838-96f5-51bbac15ecfc
status: Up
type: ConsoleProxy
private_ip_address: 10.102.195.64
private_netmask: 255.255.252.0
private_mac_address: 06:a8:ba:00:00:18
storage_ip_address: 10.102.195.64
storage_netmask: 255.255.252.0
storage_mac_address: 06:a8:ba:00:00:18
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: 10.102.197.205
public_netmask: 255.255.255.0
public_mac_address: 06:89:42:00:00:20
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpus: NULL
speed: NULL
url: NoIqn
fs_type: NULL
hypervisor_type: NULL
hypervisor_version: NULL
ram: 0
resource: NULL
version: 4.2.0
parent: NULL
total_size: NULL
capabilities: NULL
guid: Proxy.7-ConsoleProxyResource
available: 1
setup: 0
dom0_memory: 0
last_ping: 1345484243
mgmt_server_id: 90310994128556
disconnected: 2013-08-29 11:30:59
created: 2013-08-29 10:21:46
removed: NULL
update_count: 6
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 6. row ***************************
id: 6
name: s-8-VM
uuid: 0ac99989-7a26-4ae6-a033-31b28a20c7e7
status: Up
type: SecondaryStorageVM
private_ip_address: 10.102.195.61
private_netmask: 255.255.252.0
private_mac_address: 06:1e:ca:00:00:15
storage_ip_address: 10.102.195.61
storage_netmask: 255.255.252.0
storage_mac_address: 06:1e:ca:00:00:15
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: NULL
public_ip_address: 10.102.197.206
public_netmask: 255.255.255.0
public_mac_address: 06:90:72:00:00:21
proxy_port: NULL
data_center_id: 1
pod_id: 1
cpus: NULL
speed: NULL
url: NoIqn
fs_type: NULL
hypervisor_type: NULL
hypervisor_version: NULL
ram: 0
resource: NULL
version: 4.2.0
parent: NULL
total_size: NULL
capabilities: NULL
guid: s-8-VM-PremiumSecondaryStorageResource
available: 1
setup: 0
dom0_memory: 0
last_ping: 1345484714
mgmt_server_id: 90310994128556
disconnected: 2013-08-29 11:30:59
created: 2013-08-29 10:24:47
removed: NULL
update_count: 9
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
*************************** 7. row ***************************
id: 7
name: 10.102.192.28
uuid: 7fe17fa5-0d1c-4d95-9c8e-ad852841b341
status: Up
type: Routing
private_ip_address: 10.102.192.28
private_netmask: 255.255.252.0
private_mac_address: d4:ae:52:8c:b9:28
storage_ip_address: 10.102.192.28
storage_netmask: 255.255.252.0
storage_mac_address: d4:ae:52:8c:b9:28
storage_ip_address_2: NULL
storage_mac_address_2: NULL
storage_netmask_2: NULL
cluster_id: 3
public_ip_address: NULL
public_netmask: NULL
public_mac_address: NULL
proxy_port: NULL
data_center_id: 2
pod_id: 2
cpus: 4
speed: 2393
url: NULL
fs_type: NULL
hypervisor_type: VMware
hypervisor_version: 5.0
ram: 8579604480
resource: com.cloud.hypervisor.vmware.resource.VmwareResource
version: 4.2.0
parent: NULL
total_size: NULL
capabilities: hvm
guid: HostSystem:[email protected]
available: 1
setup: 0
dom0_memory: 0
last_ping: 1345484273
mgmt_server_id: 90310994128556
disconnected: 2013-08-29 11:30:59
created: 2013-08-29 11:15:24
removed: NULL
update_count: 6
resource_state: Enabled
owner: NULL
lastUpdated: NULL
engine_state: Disabled
7 rows in set (0.00 sec)
----------------------------
If we see in the above table the system vms of zone 2 are not present but they
are up and running as seen in the vm_instance table
mysql> select * from vm_instance where host_id=7\G;
*************************** 1. row ***************************
id: 11
name: s-11-VM
uuid: 035e9f2a-2d12-47b7-913e-6dbbec3eb136
instance_name: s-11-VM
state: Running
vm_template_id: 202
guest_os_id: 15
private_mac_address: 06:c3:6e:00:00:13
private_ip_address: 10.102.195.139
pod_id: 2
data_center_id: 2
host_id: 7
last_host_id: 7
proxy_id: 12
proxy_assign_time: 2013-08-29 11:20:59
vnc_password: N2FT3YnaW/0OrOMYawQSdNfsna/eh0qFH12485HBESo=
ha_enabled: 0
limit_cpu_use: 0
update_count: 3
update_time: 2013-08-29 11:18:29
created: 2013-08-29 11:15:54
removed: NULL
type: SecondaryStorageVm
vm_type: SecondaryStorageVm
account_id: 1
domain_id: 1
service_offering_id: 9
reservation_id: 6d0035a7-e4cd-4ec1-b2a1-28c785d27f8c
hypervisor_type: VMware
disk_offering_id: NULL
cpu: NULL
ram: NULL
owner: NULL
speed: NULL
host_name: NULL
display_name: NULL
desired_state: NULL
dynamically_scalable: 1
display_vm: 1
*************************** 2. row ***************************
id: 13
name: v-13-VM
uuid: e9bbdcc0-b661-4c44-a350-4654cdcef5c7
instance_name: v-13-VM
state: Running
vm_template_id: 202
guest_os_id: 15
private_mac_address: 06:2b:fa:00:00:01
private_ip_address: 10.102.195.121
pod_id: 2
data_center_id: 2
host_id: 7
last_host_id: 7
proxy_id: NULL
proxy_assign_time: NULL
vnc_password: h711eibioPmrbW+i7sCS2377K+0wa9Pqn1eBhObOqfQ=
ha_enabled: 0
limit_cpu_use: 0
update_count: 3
update_time: 2013-08-29 11:27:33
created: 2013-08-29 11:26:08
removed: NULL
type: ConsoleProxy
vm_type: ConsoleProxy
account_id: 1
domain_id: 1
service_offering_id: 10
reservation_id: b8e0539c-9ffc-45f4-abc9-5a2b19015e6c
hypervisor_type: VMware
disk_offering_id: NULL
cpu: NULL
ram: NULL
owner: NULL
speed: NULL
host_name: NULL
display_name: NULL
desired_state: NULL
dynamically_scalable: 1
display_vm: 1
2 rows in set (0.00 sec)
> [upgrade from 3.0.6 to 4.2][vmware] System VM agent doesn't come up after
> adding a zone on an upgraded setup
> ------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4554
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4554
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: SystemVM, Upgrade, VMware
> Affects Versions: 4.2.0
> Environment: upgrade from 3.0.6 to 4.2
> host : esx 4.1 and esx 5.0
> Reporter: Abhinav Roy
> Priority: Blocker
> Fix For: 4.2.1
>
>
> Steps :
> ===========================
> 1. Deploy a CS 3.0.6 advanced zone network with esx 4.1 host.
> 2. create VMs, snapshots, templates etc.
> 3. upgrade to CS 4.2
> 4. Add a zone with Esx 5.0
> Expected behaviour :
> ===========================
> System vms for the newly added zone should come up and their agent status
> should be running.
> Observed behaviour :
> ==========================
> System vms of the newly added zone do come up but their agent status is not
> up.
> Their entry is not there in cloud.host tables.
> Attaching all relevant logs and db dumps
--
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