Install RHQ4 (on a database before version 2.102) and try to schedule an operation (any). This will fail with an error that a sequence is missing. db-upgrade v2.102 is changing the PK of the rhq_operarations_schedule table to 'id' column and defines this in the domain (and in dbsetup) as sequence. The db-upgrade task does not create the sequence though. v2.102 should either be changed to include the sequence - or a v2.103 should be created to create the sequence <schema-createSequence name="RHQ_OPERATION_SCHEDULE_ID_SEQ" initial="10001"/> Initial value is depended on the previous db content I think.
reproduced with RHQ4.0 release candidate #1, after upgrading from RHQ3 database, with group operations. see bz 701272.
Pushed as ae4f1ec7485c7a15de42a9a5554069867e7a1a7d to master and cherry-picked into release-4.0.0 as 5b57930288f32cbaf0bb190dfed50e78390a402d
*** Bug 701272 has been marked as a duplicate of this bug. ***
verified in RHQ 4.0 monday 5/2 release, on oracle. by creating a group, and scheduling group operations.
Bookkeeping - closing bug - fixed in recent release.