api: snapshot, snapshotpolicy tag support#3228
Conversation
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos6 ✖centos7 ✔debian. JID-2642 |
borisstoyanov
left a comment
There was a problem hiding this comment.
@shwstppr there seems to be some build issues, can you have a look?
| @@ -0,0 +1,30 @@ | |||
| package org.apache.cloudstack.api.command.user.snapshot; | |||
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2665 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM, now tags look like this:
{
"account": "user",
"created": "2019-04-01T12:21:04+0000",
"domain": "ROOT",
"domainid": "c1bf87c5-4fb7-11e9-b7a8-1e004901077b",
"id": "03298bd6-605a-49bf-a599-449e8de4a8d9",
"intervaltype": "MANUAL",
"name": "snap1",
"osdisplayname": "CentOS 5.3 (64-bit)",
"ostypeid": "c1c83ce2-4fb7-11e9-b7a8-1e004901077b",
"physicalsize": 419862016,
"revertable": false,
"snapshottype": "MANUAL",
"state": "BackedUp",
"tags": [
{
"key": "random",
"value": "rand-value"
}
],
"virtualsize": 2147483648,
"volumeid": "545f71aa-d92d-4650-ad8b-1032d3a1709a",
"volumename": "ROOT-5",
"volumetype": "ROOT",
"zoneid": "5c3dcefe-7b0e-4c3e-bb92-271a3c01229e"
}
|
Trillian test result (tid-3457)
|
|
@shwstppr can you fix the conflicts? |
3dcb841 to
26b4073
Compare
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2785 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2906 |
|
@blueorangutan package |
|
@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2907 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3711)
|
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM on latest changes
|
Updated heght of the dilague box - |
|
@blueorangutan package |
|
@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-12 |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-13 |
|
Packaging race condition, the repo may be inconsistent. Will rekick packaging. |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-18 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-18)
|
Correção na listagem de _backup schedules_ de projetos Closes #3228 See merge request scclouds/scclouds!1346

Description
Problem: Currently tags cannot be applied to snapshot when it is being created but through separate “create tags” API calls. For snapshot policies tags cannot be set either at creation or through “create tags” API.
Root Cause: The “create snapshots” API does not support adding tags during creation and it can only be done through “create tags” API. Snapshot policy as a resource does not support tags and no tags can be set for them through any API.
Solution: Tag support for snapshot policy has been added. Snapshot policy with tags when executed will produce snapshots containing the same tags from snapshot policy.
Following APIs have been updated:
UI support for setting tags to snapshots and snapshot policy is provided through the corresponding menus with a new section in each form to set tags.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
UI And Cloudmonkey.