-
Notifications
You must be signed in to change notification settings - Fork 1.2k
NAS BnR: Create Instance from Backup issues #11754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #11754 +/- ##
============================================
+ Coverage 17.54% 17.56% +0.02%
- Complexity 15469 15498 +29
============================================
Files 5897 5898 +1
Lines 527426 527802 +376
Branches 64412 64482 +70
============================================
+ Hits 92522 92706 +184
- Misses 424507 424668 +161
- Partials 10397 10428 +31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@blueorangutan package |
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 15223 |
@blueorangutan package |
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15224 |
api/src/main/java/org/apache/cloudstack/api/response/BackupOfferingResponse.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Suresh Kumar Anaparti <[email protected]>
@blueorangutan package |
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 15321 |
@blueorangutan package |
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15330 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
@Param(description = "The backup offering corresponding to this backup was removed from the VM", since = "4.21.0") | ||
private Boolean vmOfferingRemoved; | ||
|
||
@SerializedName(ApiConstants.BACKUP_VM_EXPUNGED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SerializedName(ApiConstants.BACKUP_VM_EXPUNGED) | |
@SerializedName(ApiConstants.IS_BACKUP_VM_EXPUNGED) |
private Boolean vmOfferingRemoved; | ||
|
||
@SerializedName(ApiConstants.BACKUP_VM_EXPUNGED) | ||
@Param(description = "The VM from which the backup was taken is expunged", since = "4.22.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Param(description = "The VM from which the backup was taken is expunged", since = "4.22.0") | |
@Param(description = "Indicates whether the VM from which the backup was taken is expunged or not", since = "4.22.0") |
|
||
@SerializedName(ApiConstants.BACKUP_VM_EXPUNGED) | ||
@Param(description = "The VM from which the backup was taken is expunged", since = "4.22.0") | ||
private Boolean vmExpunged; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private Boolean vmExpunged; | |
private Boolean isVmExpunged; |
<a-input v-model:value="form.name" /> | ||
</a-form-item> | ||
<a-form-item v-if="!resource.virtualmachineid" name="preserveIpAddresses" style="margin-top: 8px"> | ||
<a-form-item v-if="resource.backupvmexpunged" name="preserveIpAddresses" style="margin-top: 8px"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<a-form-item v-if="resource.backupvmexpunged" name="preserveIpAddresses" style="margin-top: 8px"> | |
<a-form-item v-if="resource.isbackupvmexpunged" name="preserveIpAddresses" style="margin-top: 8px"> |
this.dataPreFill.allowtemplateisoselection = true | ||
this.dataPreFill.isoid = this.vmdetails.templateid | ||
this.dataPreFill.allowIpAddressesFetch = !this.resource.virtualmachineid | ||
this.dataPreFill.allowIpAddressesFetch = this.resource.backupvmexpunged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.dataPreFill.allowIpAddressesFetch = this.resource.backupvmexpunged | |
this.dataPreFill.allowIpAddressesFetch = this.resource.isbackupvmexpunged |
public static final String BACKUP_STORAGE_LIMIT = "backupstoragelimit"; | ||
public static final String BACKUP_STORAGE_TOTAL = "backupstoragetotal"; | ||
public static final String BACKUP_VM_OFFERING_REMOVED = "vmbackupofferingremoved"; | ||
public static final String BACKUP_VM_EXPUNGED = "backupvmexpunged"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public static final String BACKUP_VM_EXPUNGED = "backupvmexpunged"; | |
public static final String IS_BACKUP_VM_EXPUNGED = "isbackupvmexpunged"; |
@blueorangutan package |
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Description
Fixes Issues
#11631 : Handle create instance from backup if the template was deleted (273920b)
#11746 : Create Instance from Backup on another Zone not showing Zone options for normal Users (35ea878)

#11747 : Reuse IP Address button not showing in Create Instance from Backup (77e9125)


Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?