diff --git a/engine/schema/src/main/resources/META-INF/db/schema-41710to41800.sql b/engine/schema/src/main/resources/META-INF/db/schema-41710to41800.sql index 89e1cb41a588..8be5cb31b399 100644 --- a/engine/schema/src/main/resources/META-INF/db/schema-41710to41800.sql +++ b/engine/schema/src/main/resources/META-INF/db/schema-41710to41800.sql @@ -586,3 +586,14 @@ UPDATE cloud.configuration SET description = "Use SSL method used to encrypt copy traffic between zones. Also ensures that the certificate assigned to the zone is used when generating links for external access." WHERE name = 'secstorage.encrypt.copy'; + +-- allow isolated networks without services to be used as is. +UPDATE `cloud`.`networks` ntwk + SET ntwk.state = 'Implemented' + WHERE ntwk.network_offering_id in + (SELECT id FROM `cloud`.`network_offerings` ntwkoff + WHERE (SELECT count(*) FROM `cloud`.`ntwk_offering_service_map` ntwksrvcmp WHERE ntwksrvcmp.network_offering_id = ntwkoff.id) = 0 + AND ntwkoff.is_persistent = 1) AND + ntwk.state = 'Setup' AND + ntwk.removed is NULL AND + ntwk.guest_type = 'Isolated'; diff --git a/ui/src/views/compute/CreateSnapshotWizard.vue b/ui/src/views/compute/CreateSnapshotWizard.vue index 03450be42453..bcd7d0f4dbe1 100644 --- a/ui/src/views/compute/CreateSnapshotWizard.vue +++ b/ui/src/views/compute/CreateSnapshotWizard.vue @@ -119,7 +119,7 @@ export default { fetchData () { this.loading = true - api('listVolumes', { virtualMachineId: this.resource.id }) + api('listVolumes', { virtualMachineId: this.resource.id, listall: true }) .then(json => { this.listVolumes = json.listvolumesresponse.volume || [] })