Skip to content

better error handling on register template when domain and zone=-1 are called #10945

@borisstoyanov

Description

@borisstoyanov

The error when pointing specific domain and 'all zones' and public=true when registering template is misleading:

🙈 Error: (HTTP 431, error code 4350) Please specify a valid zone Id. Only admins can create templates in all zones.

Having this combination does not make sense in the tenant logic of cloudstack, you cannot have public template for a specific domain and all zones. there should be a better error message like: 'The combination of public template in specific domain is not supported' or more generic one.

versions

The versions of ACS, hypervisors, storage, network etc..

The steps to reproduce the bug

No response

What to do about it?

No response

Metadata

Metadata

Assignees

No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions