-
Notifications
You must be signed in to change notification settings - Fork 76
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
Tips for very rapid installs & testing of IIAB + Asterisk/FreePBX (using Multipass VM's) #3589
Labels
Milestone
Comments
This was referenced May 22, 2023
TEMPORARILY revert ansible-core 2.15.0 to 2.14.6 til the dust settles — e.g. for FreePBX #3588
#3590
Merged
Just FYI another approach for rapid-testing of IIAB is pr3631.yml here:
Everything can then be run/tested all-at-once using:
Related: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Must be arising from some sudden/recent upstream change(s) in Debian 11 or more likely Asterisk or FreePBX? [ IN FACT ansible-core 2.15.0 IS THE PROBLEM: ansible/ansible#80863 ]
As Ansible freezes no matter which version of Ansible is attempted, even much older versions like ansible-core 2.13.8.Thanks @EMG70 who is also investigating this bug already outlined in PR #3588:
Here is an iiab-pbx.yml script to help accelerate his Multipass testing of different ideas using EVOLVING PR #3588:
[ PR #3588 is a crutch to be avoided, as it papers over ansible-core 2.15.0's failure, so was removed from above line. ]
Create the above file on any Ubuntu machine where Multipass is installed (e.g. your Ubuntu 23.04 laptop) using:
Save & quit! Then run everything:
Those who do not want to give the VM a 192.168.0.X-like IP address from your home router (thanks to Multipass's sometimes messy LXD networking arrangements) should avoid the
--bridged
flag above.Either way, it should shell you into the new VM! And a minute or two later, you can monitor the ongoing IIAB + PBX installs by running this inside the VM:
If IIAB's install is interrupted for any reason, remember to restart it WITHOUT allowing reboots:
Either way, remember to never reboot a Debian 11 VM with Multipass as there's a networking glitch that ironically prevents Debian 11 from rebooting (#3568 (comment)). RECAP: Above is a just a testing trick for extremely rapid/iterative testing — when quick testing results are needed — but never reboot the VM, just throw it away as soon as testing it is done!
Once we eventually get past Ansible freezing (PR #3588), please also test Asterisk and FreePBX with actual phones, using the IP address that can be obtained on the Multipass host machine as follows:
Finally, when you're done testing, delete and purge each VM:
Related QA automation tips using Multipass + cloud-init:
The text was updated successfully, but these errors were encountered: