-
Notifications
You must be signed in to change notification settings - Fork 11
Upgrade Vagrant to Ubuntu 22.04 LTS "Jammy Jellyfish" #41
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
Draft
nimmolo
wants to merge
4
commits into
MushroomObserver:main
Choose a base branch
from
nimmolo:nimmo-jammy-jellyfish
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668 |
Member
|
Member
|
Thanks Jason.
My concern was whether deploying this will break the existing firewall
blacklist/whitelist. (I obviously don't understand how all the pieces fit
together.)
…On Thu, Dec 1, 2022 at 8:49 AM Jason Hollinger ***@***.***> wrote:
1. Yes, Selenium is what prompted this.
2. We shouldn't need to make changes to the firewall, since the
browser will be headless. No need to, for example, tunnel X windows through
the firewall to give the VM access to our display.
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALDFDAUKL2FSE32IEQRLDWLDJLHANCNFSM6AAAAAASQJDQCY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Member
|
Okay, then I don't understand enough! I'll let Nimmo answer. :)
On Thu, Dec 1, 2022 at 11:55 AM Joseph D. Cohen ***@***.***>
wrote:
… Thanks Jason.
My concern was whether deploying this will break the existing firewall
blacklist/whitelist. (I obviously don't understand how all the pieces fit
together.)
On Thu, Dec 1, 2022 at 8:49 AM Jason Hollinger ***@***.***>
wrote:
>
> 1. Yes, Selenium is what prompted this.
> 2. We shouldn't need to make changes to the firewall, since the
> browser will be headless. No need to, for example, tunnel X windows
through
> the firewall to give the VM access to our display.
>
> —
> Reply to this email directly, view it on GitHub
> <
#41 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAALDFDAUKL2FSE32IEQRLDWLDJLHANCNFSM6AAAAAASQJDQCY
>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYTNNIAO5CZP65KJGZUEITWLDJ7XANCNFSM6AAAAAASQJDQCY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Contributor
Author
|
I don’t understand that either… but there’s nothing to worry about.
After a completely exhausting 12 hours (!) of trying various syntax in Vagrantfile, i still can’t get Vagrant to bundle rubies on the new build.
I’m trying one more iteration before I drop the baton. I’ve barely left this desk since tuesday evening.
Joe if you’re around please feel free to jump on Slack where Nathan’s been telling me everything he can remember about getting Vagrant working last time. He may know something about the firewall question.
You probably know Selenium allows driving the browser in different modes. One of them apparently opens a browser window right in front of you on the machine, and moves around clicking things. The “headless” mode accesses the page directly via a browser api and does the same things without opening a window. Selenium runs in a separate thread from the MO server, and selenium-webdriver runs on a different port, so it may need firewall access even in headless mode.
That would be a good thing to research. My first foray indicates yes, we do need to figure out which port selenium-webdriver runs on and permit it.
… On Dec 1, 2022, at 9:04 AM, Jason Hollinger ***@***.***> wrote:
Okay, then I don't understand enough! I'll let Nimmo answer. :)
On Thu, Dec 1, 2022 at 11:55 AM Joseph D. Cohen ***@***.***>
wrote:
> Thanks Jason.
> My concern was whether deploying this will break the existing firewall
> blacklist/whitelist. (I obviously don't understand how all the pieces fit
> together.)
>
> On Thu, Dec 1, 2022 at 8:49 AM Jason Hollinger ***@***.***>
> wrote:
>
> >
> > 1. Yes, Selenium is what prompted this.
> > 2. We shouldn't need to make changes to the firewall, since the
> > browser will be headless. No need to, for example, tunnel X windows
> through
> > the firewall to give the VM access to our display.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
> #41 (comment)
> >,
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/AAALDFDAUKL2FSE32IEQRLDWLDJLHANCNFSM6AAAAAASQJDQCY
> >
> > .
> > You are receiving this because you commented.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <#41 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAYTNNIAO5CZP65KJGZUEITWLDJ7XANCNFSM6AAAAAASQJDQCY>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub <#41 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAO3TP2K2E264FASPVGEPJDWLDLDRANCNFSM6AAAAAASQJDQCY>.
You are receiving this because you authored the thread.
|
Member
|
re: port for selenium webdriver -- Even if it runs on a different port,
unless it's accessing something on the host, there's no reason for us to
change the firewall. It probably just communicates with something else *on
the VM* via that port -- that is, it is all happening behind the firewall,
no need to give access to the host via that port either direction. For
example, if you spin up webrick on port 3000, if you want to access that
server *from the host* you need to open up port 3000 in the firewall. But
if you were to make a request via curl on the command line *in the VM*
there is no reason to open up port 3000 in the firewall.
On Thu, Dec 1, 2022 at 1:43 PM andrew nimmo ***@***.***>
wrote:
… I don’t understand that either… but there’s nothing to worry about.
After a completely exhausting 12 hours (!) of trying various syntax in
Vagrantfile, i still can’t get Vagrant to bundle rubies on the new build.
I’m trying one more iteration before I drop the baton. I’ve barely left
this desk since tuesday evening.
Joe if you’re around please feel free to jump on Slack where Nathan’s been
telling me everything he can remember about getting Vagrant working last
time. He may know something about the firewall question.
You probably know Selenium allows driving the browser in different modes.
One of them apparently opens a browser window right in front of you on the
machine, and moves around clicking things. The “headless” mode accesses the
page directly via a browser api and does the same things without opening a
window. Selenium runs in a separate thread from the MO server, and
selenium-webdriver runs on a different port, so it may need firewall access
even in headless mode.
That would be a good thing to research. My first foray indicates yes, we
do need to figure out which port selenium-webdriver runs on and permit it.
> On Dec 1, 2022, at 9:04 AM, Jason Hollinger ***@***.***> wrote:
>
>
> Okay, then I don't understand enough! I'll let Nimmo answer. :)
>
> On Thu, Dec 1, 2022 at 11:55 AM Joseph D. Cohen ***@***.***>
> wrote:
>
> > Thanks Jason.
> > My concern was whether deploying this will break the existing firewall
> > blacklist/whitelist. (I obviously don't understand how all the pieces
fit
> > together.)
> >
> > On Thu, Dec 1, 2022 at 8:49 AM Jason Hollinger ***@***.***>
> > wrote:
> >
> > >
> > > 1. Yes, Selenium is what prompted this.
> > > 2. We shouldn't need to make changes to the firewall, since the
> > > browser will be headless. No need to, for example, tunnel X windows
> > through
> > > the firewall to give the VM access to our display.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <
> >
#41 (comment)
> > >,
> > > or unsubscribe
> > > <
> >
https://github.com/notifications/unsubscribe-auth/AAALDFDAUKL2FSE32IEQRLDWLDJLHANCNFSM6AAAAAASQJDQCY
> > >
> > > .
> > > You are receiving this because you commented.Message ID:
> > > ***@***.***>
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
#41 (comment)
>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/AAYTNNIAO5CZP65KJGZUEITWLDJ7XANCNFSM6AAAAAASQJDQCY
>
> > .
> > You are receiving this because you commented.Message ID:
> > ***@***.***>
> >
> —
> Reply to this email directly, view it on GitHub <
#41 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AAO3TP2K2E264FASPVGEPJDWLDLDRANCNFSM6AAAAAASQJDQCY
>.
> You are receiving this because you authored the thread.
>
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYTNNNU4IJZX2LDCKG7QOTWLDWUBANCNFSM6AAAAAASQJDQCY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Member
|
Re firewall. Would the upgrade affect the functionality of the firewall on
the production server?
https://bugs.launchpad.net/ufw/+bug/1968608
On Thu, Dec 1, 2022 at 11:18 AM Jason Hollinger ***@***.***>
wrote:
… re: port for selenium webdriver -- Even if it runs on a different port,
unless it's accessing something on the host, there's no reason for us to
change the firewall. It probably just communicates with something else *on
the VM* via that port -- that is, it is all happening behind the firewall,
no need to give access to the host via that port either direction. For
example, if you spin up webrick on port 3000, if you want to access that
server *from the host* you need to open up port 3000 in the firewall. But
if you were to make a request via curl on the command line *in the VM*
there is no reason to open up port 3000 in the firewall.
On Thu, Dec 1, 2022 at 1:43 PM andrew nimmo ***@***.***>
wrote:
> I don’t understand that either… but there’s nothing to worry about.
>
> After a completely exhausting 12 hours (!) of trying various syntax in
> Vagrantfile, i still can’t get Vagrant to bundle rubies on the new build.
> I’m trying one more iteration before I drop the baton. I’ve barely left
> this desk since tuesday evening.
>
> Joe if you’re around please feel free to jump on Slack where Nathan’s
been
> telling me everything he can remember about getting Vagrant working last
> time. He may know something about the firewall question.
>
> You probably know Selenium allows driving the browser in different modes.
> One of them apparently opens a browser window right in front of you on
the
> machine, and moves around clicking things. The “headless” mode accesses
the
> page directly via a browser api and does the same things without opening
a
> window. Selenium runs in a separate thread from the MO server, and
> selenium-webdriver runs on a different port, so it may need firewall
access
> even in headless mode.
>
> That would be a good thing to research. My first foray indicates yes, we
> do need to figure out which port selenium-webdriver runs on and permit
it.
>
>
>
> > On Dec 1, 2022, at 9:04 AM, Jason Hollinger ***@***.***> wrote:
> >
> >
> > Okay, then I don't understand enough! I'll let Nimmo answer. :)
> >
> > On Thu, Dec 1, 2022 at 11:55 AM Joseph D. Cohen ***@***.***>
> > wrote:
> >
> > > Thanks Jason.
> > > My concern was whether deploying this will break the existing
firewall
> > > blacklist/whitelist. (I obviously don't understand how all the pieces
> fit
> > > together.)
> > >
> > > On Thu, Dec 1, 2022 at 8:49 AM Jason Hollinger ***@***.***>
> > > wrote:
> > >
> > > >
> > > > 1. Yes, Selenium is what prompted this.
> > > > 2. We shouldn't need to make changes to the firewall, since the
> > > > browser will be headless. No need to, for example, tunnel X windows
> > > through
> > > > the firewall to give the VM access to our display.
> > > >
> > > > —
> > > > Reply to this email directly, view it on GitHub
> > > > <
> > >
>
#41 (comment)
> > > >,
> > > > or unsubscribe
> > > > <
> > >
>
https://github.com/notifications/unsubscribe-auth/AAALDFDAUKL2FSE32IEQRLDWLDJLHANCNFSM6AAAAAASQJDQCY
> > > >
> > > > .
> > > > You are receiving this because you commented.Message ID:
> > > > ***@***.***>
> > > >
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <
>
#41 (comment)
> >,
> > > or unsubscribe
> > > <
>
https://github.com/notifications/unsubscribe-auth/AAYTNNIAO5CZP65KJGZUEITWLDJ7XANCNFSM6AAAAAASQJDQCY
> >
> > > .
> > > You are receiving this because you commented.Message ID:
> > > ***@***.***>
> > >
> > —
> > Reply to this email directly, view it on GitHub <
>
#41 (comment)
>,
> or unsubscribe <
>
https://github.com/notifications/unsubscribe-auth/AAO3TP2K2E264FASPVGEPJDWLDLDRANCNFSM6AAAAAASQJDQCY
> >.
> > You are receiving this because you authored the thread.
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#41 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAYTNNNU4IJZX2LDCKG7QOTWLDWUBANCNFSM6AAAAAASQJDQCY
>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALDFHYR34CTHMN4EEHMWTWLD2Z3ANCNFSM6AAAAAASQJDQCY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Heavily commented new Vagrantfile for building an upgraded box, a work in progress.
Adds Ubuntu Firefox for Capybara Selenium webdriver testing!
Needs proofreading.
@mo-nathan It seems that Virtualbox may now work on M1
https://osxdaily.com/2022/10/22/you-can-now-run-virtualbox-on-apple-silicon-m1-m2/
https://download.virtualbox.org/virtualbox/7.0.4/VirtualBox-7.0.4_BETA4-154605-macOSArm64.dmg