You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "vishesh92 (via GitHub)" <gi...@apache.org> on 2024/09/04 17:15:15 UTC
[PR] Add documetation for delete protection for instances & volumes [cloudstack-documentation]
vishesh92 opened a new pull request, #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433
To be merged after: https://github.com/apache/cloudstack/pull/9633
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1744821650
##########
source/adminguide/storage.rst:
##########
@@ -1005,6 +1005,42 @@ True. Instances created from this service offering will have their disks reset
upon reboot. See `“Creating a New Compute
Offering” <service_offerings.html#creating-a-new-compute-offering>`_.
+Volume delete protection
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+CloudStack provides a feature to protect volumes from accidental deletion. When
Review Comment:
```suggestion
CloudStack protects volumes from accidental deletion using a delete protection flag, which is false by default. When
```
check this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2330809636
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/433. (QA-JID 259)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "vishesh92 (via GitHub)" <gi...@apache.org>.
vishesh92 commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2331240922
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2330805216
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2331242867
@vishesh92 a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2330807603
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1744821650
##########
source/adminguide/storage.rst:
##########
@@ -1005,6 +1005,42 @@ True. Instances created from this service offering will have their disks reset
upon reboot. See `“Creating a New Compute
Offering” <service_offerings.html#creating-a-new-compute-offering>`_.
+Volume delete protection
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+CloudStack provides a feature to protect volumes from accidental deletion. When
Review Comment:
```suggestion
CloudStack protects volumes from accidental deletion using a delete protection flag, which is false by default. When
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud merged PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2330623840
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2330622200
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2331260672
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/433. (QA-JID 263)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1745274327
##########
source/adminguide/virtual_machines.rst:
##########
@@ -424,6 +424,47 @@ The following table explains how an Instance name is displayed in different scen
<i.n> represents the value of the global configuration - instance.name
+Instance delete protection
+--------------------------
+
+CloudStack protects instances from accidental deletion using a delete protection
+flag, which is false by default. When delete protection is enabled for an
+instance, it cannot be deleted through the UI or API. It can only be deleted
+after removing delete protection from the instance.
+
+Delete protection can be enabled for an instance via updateVirtualMachine API.
+
+.. code:: bash
+
+ cmk update virtualmachine id=<instance id> deletionprotection=true
Review Comment:
```suggestion
cmk update virtualmachine id=<instance id> deleteprotection=true
```
##########
source/adminguide/virtual_machines.rst:
##########
@@ -424,6 +424,47 @@ The following table explains how an Instance name is displayed in different scen
<i.n> represents the value of the global configuration - instance.name
+Instance delete protection
+--------------------------
+
+CloudStack protects instances from accidental deletion using a delete protection
+flag, which is false by default. When delete protection is enabled for an
+instance, it cannot be deleted through the UI or API. It can only be deleted
+after removing delete protection from the instance.
+
+Delete protection can be enabled for an instance via updateVirtualMachine API.
+
+.. code:: bash
+
+ cmk update virtualmachine id=<instance id> deletionprotection=true
+
+To remove delete protection, use the following command:
+
+.. code:: bash
+
+ cmk update virtualmachine id=<instance id> deletionprotection=false
Review Comment:
```suggestion
cmk update virtualmachine id=<instance id> deleteprotection=false
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1744818084
##########
source/adminguide/storage.rst:
##########
@@ -1005,6 +1005,42 @@ True. Instances created from this service offering will have their disks reset
upon reboot. See `“Creating a New Compute
Offering” <service_offerings.html#creating-a-new-compute-offering>`_.
+Volume delete protection
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+CloudStack provides a feature to protect volumes from accidental deletion. When
+delete protection is enabled for a volume, it cannot be deleted through the
+UI or API. It can only be delete after removing delete protection from the
Review Comment:
```suggestion
UI or API. It can only be deleted after removing delete protection from the
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1744819014
##########
source/adminguide/virtual_machines.rst:
##########
@@ -424,6 +424,43 @@ The following table explains how an Instance name is displayed in different scen
<i.n> represents the value of the global configuration - instance.name
+Instance delete protection
+--------------------------
+
+CloudStack provides a feature to protect Instances from accidental deletion.
+When delete protection is enabled for an instance, it cannot be deleted through
+the UI or API. It can only be delete after removing delete protection from the
Review Comment:
```suggestion
the UI or API. It can only be deleted after removing delete protection from the
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2331258769
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1745273703
##########
source/adminguide/storage.rst:
##########
@@ -1005,6 +1005,46 @@ True. Instances created from this service offering will have their disks reset
upon reboot. See `“Creating a New Compute
Offering” <service_offerings.html#creating-a-new-compute-offering>`_.
+Volume delete protection
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+CloudStack protects volumes from accidental deletion using a delete protection
+flag, which is false by default. When delete protection is enabled for a volume,
+it cannot be deleted through the UI or API. It can only be deleted after
+removing delete protection from the volume.
+
+Delete protection can be enabled for a volume via updateVirtualMachine API.
+
+.. code:: bash
+
+ cmk update volume id=<volume id> deletionprotection=true
Review Comment:
```suggestion
cmk update volume id=<volume id> deleteprotection=true
```
##########
source/adminguide/storage.rst:
##########
@@ -1005,6 +1005,46 @@ True. Instances created from this service offering will have their disks reset
upon reboot. See `“Creating a New Compute
Offering” <service_offerings.html#creating-a-new-compute-offering>`_.
+Volume delete protection
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+CloudStack protects volumes from accidental deletion using a delete protection
+flag, which is false by default. When delete protection is enabled for a volume,
+it cannot be deleted through the UI or API. It can only be deleted after
+removing delete protection from the volume.
+
+Delete protection can be enabled for a volume via updateVirtualMachine API.
+
+.. code:: bash
+
+ cmk update volume id=<volume id> deletionprotection=true
+
+To remove delete protection, use the following command:
+
+.. code:: bash
+
+ cmk update volume id=<volume id> deletionprotection=false
Review Comment:
```suggestion
cmk update volume id=<volume id> deleteprotection=false
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2331244621
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/433. (QA-JID 261)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2331256226
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#discussion_r1744822378
##########
source/adminguide/virtual_machines.rst:
##########
@@ -424,6 +424,43 @@ The following table explains how an Instance name is displayed in different scen
<i.n> represents the value of the global configuration - instance.name
+Instance delete protection
+--------------------------
+
+CloudStack provides a feature to protect Instances from accidental deletion.
Review Comment:
```suggestion
CloudStack protects instances from accidental deletion using a delete protection flag, which is false by default.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add documentation for delete protection for instances & volumes [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #433:
URL: https://github.com/apache/cloudstack-documentation/pull/433#issuecomment-2330626788
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/433. (QA-JID 258)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org