Skip to content

Conversation

@nrwahl2
Copy link
Contributor

@nrwahl2 nrwahl2 commented May 14, 2022

The move to fence-event-2.15.rng (46dd9b7) did not include updates to the crm_mon and stonith_admin schemas. As a result, the API result fails to validate if it contains a fence event with an exit-reason.

This can cause commands like pcs node standby and pcs config to fail after a rolling upgrade when there is a fence event with an exit reason in the history.

Resolves: RHBZ#2086230

nrwahl2 added 2 commits May 14, 2022 15:04
No content changes

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
The move to fence-event-2.15.rng (46dd9b7) did not include updates to
the crm_mon and stonith_admin schemas. As a result, the API result fails
to validate if it contains a fence event with an exit-reason.

Resolves: RHBZ#2086230

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
@nrwahl2
Copy link
Contributor Author

nrwahl2 commented May 14, 2022

This isn't the first time an incomplete schema update has caused a regression. (I broke the alerts schema once.) I wonder if we can automate the propagation of updates. It would take some effort but could save some headaches down the road.

@kgaillot
Copy link

Doh :(

Yes, I was thinking the same thing. I'm thinking make in xml/ should fail if there are any mismatches. We'll probably need to move all the current makefile logic into a script, but it's already overly complicated for a makefile anyway.

The issue is in the current release candidate, so this should go into the 2.1 branch. I've got a PR for rc2 pending right now, so I'll just close this and add the commits to that one.

@kgaillot kgaillot closed this May 16, 2022
@nrwahl2 nrwahl2 deleted the nrwahl2-rhbz2086230 branch January 18, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants