Hello Pavel,

thank you for bringing that up. I have created new BZ.

https://bugzilla.redhat.com/show_bug.cgi?id=1665425


Lucie

On 1/11/19 10:28 AM, Pavel Šipoš wrote:
Hi!

We have a problem with Quotas whose name has a length grater than 60 characters.

Such quotas can be created (or renamed) through oVirt-shell but cannot be managed through the oVirt Engine interface. E.g. VMs in that quota can't be started, created, quota comment can't be added...

It turns out that the problem is with the engine database definition of "audit_log" table, that declares "quota_name" column as "character varying(60)".
However "quota.quota_name" is defined as "character varying(65)".

I think this is a bug and should be fixed in the future.

Error example:

PL/pgSQL function insertauditlog(integer,timestamp with time zone,integer,character varying,integer,text,uuid,character varying,uuid,character varying,uuid,character varying,uuid,character varying,uuid,character varying,uuid,character varying,uuid,character varying,uuid,character varying,character varying,uuid,uuid,character varying,text,boolean,uuid,text) line 9 at SQL statement; nested exception is org.postgresql.util.PSQLException: ERROR: value too long for type character varying(60)


Regards,
Pavel



_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4RMXQLXJHXFQ4NUMIBMWHOSCJ4MC6OCF/
-- 
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe