Obstruction Sets and Extensions of Groups