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

lxd: handle 404 from missing devices route for LXD 4.0 #1948

Merged
merged 1 commit into from Jan 11, 2023

Conversation

blackboxsw
Copy link
Collaborator

@blackboxsw blackboxsw commented Jan 10, 2023

LXD 4.0 will not get a backport of the devices route on LXD socket API. This prevented launching Jammy from hosts with LXD 4.0.

Allow cloud-init to support LXD backplanes without the "devices" route and use fallback network config when absent.

LP: #2001737

Proposed Commit Message

lxd: handle 404 from missing devices route for LXD 4.0

LXD 4.0 will not get a backport of the  devices route on LXD socket
API. This prevented launching Jammy from hosts with LXD 4.0.

Allow cloud-init to support LXD backplanes without the "devices"
route and use fallback network config when absent.

LP: #2001737

Additional Context

Test Steps

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

LXD 4.0 will not get a backport of the  devices route on LXD socket
API. This prevented launching Jammy from hosts with LXD 4.0.

Allow cloud-init to support LXD backplanes without the "devices"
route and use fallback network config when absent.

LP: #2001737
@blackboxsw blackboxsw changed the title [WIP] lxd: handle 404 from missing devices route for LXD 4.0 lxd: handle 404 from missing devices route for LXD 4.0 Jan 10, 2023
Copy link
Contributor

@aciba90 aciba90 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

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.

None yet

2 participants