-
Notifications
You must be signed in to change notification settings - Fork 42
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
docs: Is this a typo or? #403
Comments
It seems illogical that if enp5s0 has no IP assigned, the micro VMs would still be able to execute the following commands: snap install microovn --channel=22.03/stable --cohort="+"
snap install microcloud --channel=latest/stable --cohort="+" How is this possible without an IP address? |
also generate error:
which seems to require:
|
yet another error is:
|
anyway, following the tutorial results in:
I'm confused, I think 2 interfaces need to be created for each VM, but I'm not seeing such in the doc. |
upon looking at host lxd, I think I know what is going on. lxd by default does give each VM an ethernet interface. So the issue is the documentation has typo. It should be a consistent enp5s0. Will give it another try. Is there a way to fix this without having to restart the tutorial? |
MicroCloud does require two network interfaces per system. This is described in the networking section of the docs: https://canonical-microcloud.readthedocs-hosted.com/en/latest/microcloud/explanation/microcloud/#networking which is linked in the tutorial here: https://canonical-microcloud.readthedocs-hosted.com/en/latest/microcloud/tutorial/get_started/#create-a-network
You can set up the OVN network afterward without restarting the tutorial by following the initial steps in the tutorial to set up # Get the northbound connection config from MicroOVN
microovn status
# add the above config to LXD by using a comma separated list of addresses in the form ssl:<ip>:6641
lxc config set network.ovn.northbound_connection=...
# create a pending uplink network on each system in the cluster.
# The parent interface should correspond to `enp6s0` from the tutorial.
lxc network create UPLINK --type=physical --target <system_name> parent=<interface>
# finalize the uplink network
lxc network create UPLINK ipv4.gateway=<subnet> ipv4.ovn.ranges=<ip_start-ip_end> ipv6.gateway=<subnet> dns.nameservers=<subnet>
# create the default ovn network
lxc network create default network=UPLINK --type ovn |
Also, just a note, but the doc links you've posted so far (and the ones I posted above) are for the development version of MicroCloud. For your question, this shouldn't have any difference but you may encounter some steps in the docs that are not supported in the stable release of MicroCloud ( Here's a link to the stable docs: |
Please describe the question or issue you're facing with "Get started with MicroCloud".
Later in the document, it says enp5s0
Reported from: https://canonical-microcloud.readthedocs-hosted.com/en/latest/microcloud/tutorial/get_started/
The text was updated successfully, but these errors were encountered: