/var/log/vmware/vcf/operationsmanager/operationsmanager.logyyyy-mm-ddThh:mm:ss.Z ERROR [vcf_om,xxxxxxxxxxxxxxxx,xxxx] [c.v.v.p.r.PasswordManagerController,http-nio-127.0.0.1-7300-exec-5] Exception has occured in fetching password workflow details, invalid UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, {}
org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2
at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:385)
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:257)IMPORTANT NOTE: Make sure that fresh backup/snapshots of the SDDC manager have been taken prior to any modification.
workflow_id entries:psql -U postgres -h localhost -d operationsmanager -c "select transaction_id, workflow_id, operation_type, transaction_status from passwordmanager.password_operations where transaction_status !='SUCCEEDED' AND transaction_status !='USER_CANCELLED';"transaction_id"as reference:psql -h localhost -U postgres -d operationsmanager -c "delete from passwordmanager.password_operations where transaction_id='XXXX';"FAILED" and "PREVALIDATION_FAILED" tasks to "USER_CANCELLED" to unblock the password operation workflow:psql -U postgres -h localhost -d operationsmanager -c "update passwordmanager.password_operations set transaction_status='USER_CANCELLED' where transaction_status !='SUCCEEDED' AND transaction_status !='USER_CANCELLED';"