BUG-ID: CS-19152
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, destroy baremetal instance fail

BUG-ID: CS-19150
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to start baremetal instance

BUG-ID: CS-19149
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, baremetal host remain in Disconnected state. But instance associated with baremetal host is running.

BUG-ID: CS-19151
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to reboot baremetal instance

BUG-ID: CS-19156
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to stop baremetal instance

reviewed-by: edison
(cherry picked from commit 3787579d2910f4882c4b2763d610293fcbc03e61)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6124: During MS maintenance unfinished work items are not cleaned up resulting in them getting repeated for every subsequent maintenance
Updating the op_it_work table entry appropriately in db once the unfinished work item is completed.
(cherry picked from commit c6a8659ac2c2c85c6f0e9fb8af11606aaa2f9a37)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6155
Baremetal agent RPM missing in spec file
(cherry picked from commit c1806bd873fe661756aeee94b25339c25f9724a5)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6154: UI > compute offerings > memory field > check if value is undefined before converting it.
(cherry picked from commit d1440217e9a44b6c12b588cbdca52daac6335d0c)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6159 Fixed creating volumes(Root, DataDisk) with uuid in primary store
(cherry picked from commit b44901c059e50ae34f55a56809cda74d4c0c08f9)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6155
Baremetal agent RPM missing in spec file
(cherry picked from commit 20efa0c8a6b83c6590eab48fefac81b72b2082a9)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live storage migration of an already migrated volume fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
If a volume has been renamed upon migration update its volumePath to that of the new disk filename.
(cherry picked from commit c652ff45dffaafa1cb0de29103e90fe936382028)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live VM migration of an already migrated VM (with storage) across clusters fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
Update volume path for every volume belonging to the VM to the corresponding new disk filename.
(cherry picked from commit 8cb03ddb2387c7aebf20dc0aa011e41f227e9f68)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Fix the developer database simulator deploy procedure so it includes the mysql database driver
(cherry picked from commit f5aeac845df8b73b1525442461a8a811e61439d0)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Last commit broke developer/pom.xml. fixing that.
(cherry picked from commit 54db315214f8dd518eaf1f1615d423d9f4129d31)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6174: Provide separate option for Windows Server 2012 R2 as
an OS type when registering template.
(cherry picked from commit 4c83f80c809674cb8ff9561d546a6ade25d983f8)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6175:s3.singleupload.max.size option not applicable for
backup snapshot on KVM.
(cherry picked from commit 94257c0fc85c7178e6ca3146662de08feee2c290)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
BUG-ID: CLOUDSTACK-6162: UI > zone > physical network > service provider > add OVS.
Reviewed-by: Brian
(cherry picked from commit 82121a214926fe3ace33183da9e76e0c13c5e203)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6162:support OVS as connectivity service provider

adds 'Ovs' as network service provider in the physical network
(cherry picked from commit b8c4ed435abc26950e36e21f9d482639b6691206)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6184: for userVm/ServiceOffering/StoragePool details set display=true by default in the VO objects
(cherry picked from commit 531a4ecc457ee3abfdc3f3ef1073895e482e5433)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6162: UI > zone > physical network > service provider > OVS > match provider name "Ovs" in listNetworkServiceProviders API response.
(cherry picked from commit 930acdde3d9c9a6ef1db90ae2f6ba3a9d8f15959)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CS-19377
[Baremetal] After deploy VM on Baremetal host, BM host fail to be PXE booted
(cherry picked from commit 793a6a7177e7b2737b01c328951c86da1ba1808b)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6183: unplug the nic when all the ips of  public vlan range is removed
(cherry picked from commit 7700a1b71622c1d45b2b54aa7444be5adc4fb8ab)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6187: Fixed MigrateSystemVMCmd response for router
(cherry picked from commit 37ce4e52c28081a0c718ca87fdbff79935074b75)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
CLOUDSTACK-6186: Unable to register private template across all Zones - crosszones flag no longer works. This was because the code skipped the loop after the first download initiation. Introduced a set so that if it is already downloaded to the same zone then skip it for private template. Reviewed-by: Min
(cherry picked from commit 258d8e2a0494ec8772d9238511fe5f8c6bf0ea01)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>