-
Notifications
You must be signed in to change notification settings - Fork 931
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
Update network_increase_bandwidth.md document with details for u18.04+ #13457
Conversation
The current document does not work properly for Ubuntu 22.04 and probably any version >= 18.04. I updated this page to include details on how to do this for versions 18.04+ and kept the original section, renaming that to be for versions <= 17.04. Also added an example command at the bottom on how to change the queue.tx.length in the default LXD profile so that change would apply to all containers. Signed-off-by: JohnHammell <[email protected]>
Heads up @ru-fu - the "Documentation" label was applied to this issue. |
Thanks a lot @JohnHammell ! Can you please sign the CLA so we can get this change in? See here: https://ubuntu.com/legal/contributors |
@ru-fu thanks for pointing that out and linking to it. I signed / submitted the CLA a few minutes ago. |
@ru-fu Is there anything I need to do in order to re-run and/or correct the failing checks for this pull request? Or is it currently fine as-is? I'm a bit new to submitting pull requests to Canonical, so wanted to make sure I'm doing this correctly. Thanks. |
Hi @JohnHammell - I re-ran the action, and it seems to be an issue with the check right now. If you signed the CLA with your GitHub user name (and the correct capitalization), you should be all set and the problem is on our side. I'll check. :) |
@ru-fu Am I supposed to fix things with this pull request until all checks pass, before it can be reviewed? If so, how do I trigger the checks to re-run after making corrections? The one check failing (Commits / Branch target and CLA) states no launchpad account. However, I do have a launchpad account and did include that in the CLA form as it cannot be submitted without the launchpad account part. Does my email used on Github need to match my email address on Launchpad? The CLA did not require that they match, the form was able to submit with them being different, but the error message in the check seems to be looking for a Launchpad account that matches my email address used on Github rather than the Launchpad account that I specified on the CLA. The other check that's failing (Tests / Documentation), in the details it mentions 2 lines with trailing spaces and another line fails with the message "Ordered list item prefix." Do I need to "Convert to draft" to make those corrections? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks good - I added a few suggestions (mainly to make the spell checker happy ;) ).
I think this would work better using tabs for the different Ubuntu versions, instead of a section for each. Do you want to give this a try? But I also don't mind getting it in as is and changing it later.
The check requires either GitHub or Launchpad, so only one of them is sufficient. :)
No need for that - the checks will run again when you update the PR with your changes. |
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
Removed 'sudo' from in front of 'sudo lxc' command. Signed-off-by: JohnHammell <[email protected]>
Changed the two sections for Ubuntu >= 18.04 and Ubuntu <= 17.04 into tabs as suggested by @ru-fu Signed-off-by: JohnHammell <[email protected]>
Thanks for all the suggestions, I added them in.
I gave it a try and think I may have it correct, but not certain as the code editor preview doesn't seem to be able to display tabbed sections. Also couldn't seem to find anything about this type of tab in the github docs. What I ended up doing was just found another page that used tabs & replicated how that was done. Hopefully I got it right. Also, the verification checks above, the 3 that failed had a message stating "The user has cancelled this build." I don't recall cancelling any builds. Not quite sure why that happened. Maybe they were automatically cancelled when I submitted the other changes, not sure as it didn't say that in the message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, this looks great! Sorry for a typo, that was my fault.
You can look at the output here:
https://canonical-ubuntu-documentation-library--13457.com.readthedocs.build/lxd/en/13457/howto/network_increase_bandwidth/#increase-the-network-bandwidth-on-the-lxd-host
There are some more linting problems (see the doc check). If you want to run the linter locally, you can use make doc-lint
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
@ru-fu That link for reviewing the output, where did you get that from? I didn't see that anywhere for previewing changes. Would be good to know for future edits that I do. Also, for the I setup git, gh & all that. But still not sure where to go to do the If there's a how-to page describing how to do all these things, please post a link to that and I'll see if I can figure things out better from that. |
@JohnHammell You can get to the doc preview if you look at the checks at the bottom of the PR and click the "Details" link for the Read the Docs build: It's quite hidden, but very convenient once you know about it. :) See here for a short intro on how to work with the documentation: https://documentation.ubuntu.com/lxd/en/latest/contributing/#contribute-to-the-documentation If you are working locally, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some suggestions that should fix the linting errors. 🤞
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
Co-authored-by: Ruth Fuchss <[email protected]> Signed-off-by: JohnHammell <[email protected]>
@ru-fu That doc preview link is definitely hard to find, but glad that I know where to find it now. It's quite useful for document change previews and probably should be more visible. Maybe even have that in place of the preview area with the code editor as that preview wasn't very good/accurate. I'll get back to the git cli stuff later when I have a chance, for the remainder of this PR I added in those other changes you suggested via the web UI. So I think we are probably all set for now. Let me know if there's anything else we need to do. Thanks for all your help and giving me the chance to learn a bit more github stuff while working on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this looks good now!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The current document does not work properly for Ubuntu 22.04 and probably any version >= 18.04.
I updated this page to include details on how to do this for versions 18.04+ and kept the original section, renaming that to be for versions <= 17.04.
Also added an example command at the bottom on how to change the queue.tx.length in the default LXD profile so that change would apply to all containers.