Description of problem:
When trying to remove a snapshot whose type is PREVIEW the operation isn't
supported and the ACTION_TYPE_FAILED_VM_SNAPSHOT_TYPE_NOT_ALLOWED message
will be returned.
The message isn't i18n compatible and the snapshot status/allowed statuses
for the operation will appear in english always.
Steps to Reproduce:
1. Add a vm
2. create a snapshot
3. preview a snapshot
4. attempt to remove the previewed snapshot (using rest-api)
The returned message isn't i18n compatible.
The returned message should be i18n compatible.
let's target this one to 4.0, we shouldn't get this message by using the UI and even when using the api we'll probably won't get to situation in which its returned.
Was there an error in the engine.log?
When you run the specified scenario you should get the ACTION_TYPE_FAILED_VM_SNAPSHOT_TYPE_NOT_ALLOWED validation message. it'll appear in the engine log and in the rest response (resolved message). The thing that should be verified here is that the resolved message is i18n comptabile.
(In reply to Liron Aravot from comment #3)
> Hi Natalie,
> When you run the specified scenario you should get the
> ACTION_TYPE_FAILED_VM_SNAPSHOT_TYPE_NOT_ALLOWED validation message. it'll
> appear in the engine log and in the rest response (resolved message). The
> thing that should be verified here is that the resolved message is i18n
Is changing the language when logging in to the admin portal is a good enough scenario?
afaik - yes.
Verified, using: ovirt-engine-4.1.0-0.0.master.20160604051311.git26acf03.el7.centos.noarch
1. connect to ovirt-engine UI.
2. change the language.
3. connect to the admin portal.
Result: language changes accordingly.
(no errors in UI/ engine.log)
oVirt 4.0.0 has been released, closing current release.