Sometime since 5 Jan, this started happening:
LPCONFIG=ftpmaster /srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/buildd-mass-retry.py -d lucid -a powerpc -C
Traceback (most recent call last):
File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/buildd-mass-retry.py", line 145, in <module>
sys.exit(main())
File "/srv/launchpad.net/codelines/soyuz-production/scripts/ftpmaster-tools/buildd-mass-retry.py", line 73, in main
distribution = getUtility(IDistributionSet)[options.distribution]
File "/srv/launchpad.net/codelines/soyuz-production-rev-8939/lib/lp/registry/model/distribution.py", line 1528, in __getitem__
distribution = self.getByName(name)
File "/srv/launchpad.net/codelines/soyuz-production-rev-8939/lib/lp/registry/model/distribution.py", line 1549, in getByName
pillar = getUtility(IPillarNameSet).getByName(name)
File "/srv/launchpad.net/codelines/soyuz-production-rev-8939/lib/lp/registry/model/pillar.py", line 123, in getByName
return getUtility(IProductSet).get(product)
File "/srv/launchpad.net/codelines/soyuz-production-rev-8939/lib/lp/registry/model/product.py", line 1056, in get
return Product.get(productid)
File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/sqlobject.py", line 321, in get
File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/store.py", line 179, in get
File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute
File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/database.py", line 217, in execute
File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/databases/postgres.py", line 259, in raw_execute
File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/database.py", line 299, in raw_execute
File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/database.py", line 342, in _check_disconnect
psycopg2.ProgrammingError: permission denied for relation product
As a workaround, "GRANT SELECT ON product TO fiera" was run against the DB until this is fixed properly.