Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow upgrading to 3.0 #14398

Merged
merged 2 commits into from
Aug 1, 2022
Merged

Allow upgrading to 3.0 #14398

merged 2 commits into from
Aug 1, 2022

Conversation

hpidcock
Copy link
Member

Since #14298 has landed in 3.0, it is now possible to upgrade to 3.0.

QA steps

Test an upgrade to 3.0

Documentation changes

N/A

Bug reference

N/A

Copy link
Contributor

@juanmanuel-tirado juanmanuel-tirado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG2M

@@ -210,14 +210,10 @@ func (s *serverSuite) TestSetModelAgentVersionOldModels(c *gc.C) {
err := s.State.SetModelAgentVersion(version.MustParse("2.8.0"), nil, false)
c.Assert(err, jc.ErrorIsNil)
args := params.SetModelAgentVersion{
Version: version.MustParse(fmt.Sprintf("%d.0.0", jujuversion.Current.Major+1)),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test could be changed to

args := params.SetModelAgentVersion{
		Version: version.MustParse("3.0.0"),
}
c.Assert(err, gc.ErrorMatches, `
    these models must first be upgraded to at least 2.9.33 before upgrading the controller:
-admin/controller`[1:])

@hpidcock
Copy link
Member Author

hpidcock commented Aug 1, 2022

/merge

@jujubot jujubot merged commit 2ac1f6d into juju:2.9 Aug 1, 2022
@barrettj12
Copy link
Contributor

Awesome, once we get this into develop, we can finally fix the GitHub upgrade tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants