#3280 regression: getAllPerms RPC crashes with psycopg2.ProgrammingError
Closed: Invalid 2 years ago by ktdreyer. Opened 2 years ago by ktdreyer.

1.28.0 introduced a regression in getAllPerms. In 1.27.0, this returned the permission data, and in 1.28.0, it crashes with a SQL error.

koji --noauth call getAllPerms
2022-03-10 12:05:30,616 [ERROR] koji: Fault: <Fault 1: '<class \'psycopg2.ProgrammingError\'>: column "description" does not exist\nLINE 1: SELECT id, name, description FROM permissions\n                         ^\n'>

@ktdreyer
Problem is related to brew stage deployment. It seems that ops guys forgot to update a database to 1.28 version. Tomorrow morning, I ping guy, who can update it on Brew stage. Sorry for it. I write here, when database will be updated.

Metadata Update from @jcupova:
- Custom field Size adjusted to None

2 years ago

Perfect, thanks. I'm unable to reproduce this on my koji environments too. I see it was just an upgrade issue.

Metadata Update from @ktdreyer:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata