dmauser / opnazure

This template allows you to deploy an OPNsense Firewall Azure VM using the opnsense-bootsrtap installation method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployment failing after new OPNsense 23.1.1

Welasco opened this issue · comments

{
"status": "Failed",
"error": {
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'CustomScript'. Error message: "Command returned an error.
---stdout---
oaded.
[1/1] Fetching bash-5.2.15.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading bash from 5.1.12 to 5.2.15...
[1/1] Extracting bash-5.2.15: .......... done
This utility will attempt to turn this installation into the latest
OPNsense 23.1 release. All packages will be deleted, the base
system and kernel will be replaced, and if all went well the system
will automatically shutdown -r +1.

Installing pkg-1.19.0...
package pkg is already installed, forced install
Extracting pkg-1.19.0: .......... done
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: . done
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
azure-agent-2.2.54.2_1: already unlocked
bash-5.2.15: already unlocked
ca_root_nss-3.86: already unlocked
dmidecode-3.3: already unlocked
firstboot-pkgs-1.6: already unlocked
gettext-runtime-0.21: already unlocked
indexinfo-0.3.1: already unlocked
libffi-3.3_1: already unlocked
mpdecimal-2.5.1: already unlocked
pkg-1.19.0: already unlocked
py38-pyasn1-0.4.7_1: already unlocked
py38-setuptools-57.0.0: already unlocked
python-3.8_3,2: already unlocked
python3-3_3: already unlocked
python38-3.8.12_1: already unlocked
readline-8.1.1: already unlocked
sudo-1.9.8p2: already unlocked
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 17 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
\tazure-agent: 2.2.54.2_1
\tbash: 5.2.15
\tca_root_nss: 3.86
\tdmidecode: 3.3
\tfirstboot-pkgs: 1.6
\tgettext-runtime: 0.21
\tindexinfo: 0.3.1
\tlibffi: 3.3_1
\tmpdecimal: 2.5.1
\tpkg: 1.19.0
\tpy38-pyasn1: 0.4.7_1
\tpy38-setuptools: 57.0.0
\tpython: 3.8_3,2
\tpython3: 3_3
\tpython38: 3.8.12_1
\treadline: 8.1.1
\tsudo: 1.9.8p2

Number of packages to be removed: 17

The operation will free 180 MiB.
[1/17] Deinstalling azure-agent-2.2.54.2_1...
[1/17] Deleting files for azure-agent-2.2.54.2_1: .......... done
[2/17] Deinstalling py38-pyasn1-0.4.7_1...
[2/17] Deleting files for py38-pyasn1-0.4.7_1: .......... done
[3/17] Deinstalling python-3.8_3,2...
[3/17] Deleting files for python-3.8_3,2: ..... done
[4/17] Deinstalling python3-3_3...
[4/17] Deleting files for python3-3_3: ...... done
[5/17] Deinstalling py38-setuptools-57.0.0...
[5/17] Deleting files for py38-setuptools-57.0.0: .......... done
[6/17] Deinstalling python38-3.8.12_1...
[6/17] Deleting files for python38-3.8.12_1: .......... done
[7/17] Deinstalling sudo-1.9.8p2...
[7/17] Deleting files for sudo-1.9.8p2: .......... done
[8/17] Deinstalling bash-5.2.15...
[8/17] Deleting files for bash-5.2.15: .......... done
[9/17] Deinstalling libffi-3.3_1...
[9/17] Deleting files for libffi-3.3_1: .......... done
[10/17] Deinstalling readline-8.1.1...
[10/17] Deleting files for readline-8.1.1: .......... done
[11/17] Deinstalling gettext-runtime-0.21...
[11/17] Deleting files for gettext-runtime-0.21: .......... done
[12/17] Deinstalling pkg-1.19.0...
[12/17] Deleting files for pkg-1.19.0: .......... done
[13/17] Deinstalling indexinfo-0.3.1...
[13/17] Deleting files for indexinfo-0.3.1: .... done
[14/17] Deinstalling mpdecimal-2.5.1...
[14/17] Deleting files for mpdecimal-2.5.1: .......... done
[15/17] Deinstalling firstboot-pkgs-1.6...
[15/17] Deleting files for firstboot-pkgs-1.6: . done
[16/17] Deinstalling dmidecode-3.3...
[16/17] Deleting files for dmidecode-3.3: .......... done
[17/17] Deinstalling ca_root_nss-3.86...
[17/17] Deleting files for ca_root_nss-3.86: .
[17/17] Deleting files for ca_root_nss-3.86....
[17/17] Deleting files for ca_root_nss-3.86........ done
Bootstrapping pkg from pkg+https://pkg.opnsense.org/FreeBSD:13:amd64/23.1/latest, please wait...
Bootstrapping pkg from pkg+https://pkg.opnsense.org/FreeBSD:13:amd64/23.1/latest, please wait...

Binding static ARP pair(s): azvip.

---errout---
t-2.8.0.11/tests/distro/init.py
x WALinuxAgent-2.8.0.11/tests/distro/test_resourceDisk.py
x WALinuxAgent-2.8.0.11/tests/distro/test_scvmm.py
x WALinuxAgent-2.8.0.11/tests/ga/
x WALinuxAgent-2.8.0.11/tests/ga/init.py
x WALinuxAgent-2.8.0.11/tests/ga/extension_emulator.py
x WALinuxAgent-2.8.0.11/tests/ga/mocks.py
x WALinuxAgent-2.8.0.11/tests/ga/test_collect_logs.py
x WALinuxAgent-2.8.0.11/tests/ga/test_collect_telemetry_events.py
x WALinuxAgent-2.8.0.11/tests/ga/test_env.py
x WALinuxAgent-2.8.0.11/tests/ga/test_extension.py
x WALinuxAgent-2.8.0.11/tests/ga/test_exthandlers.py
x WALinuxAgent-2.8.0.11/tests/ga/test_exthandlers_download_extension.py
x WALinuxAgent-2.8.0.11/tests/ga/test_exthandlers_exthandlerinstance.py
x WALinuxAgent-2.8.0.11/tests/ga/test_monitor.py
x WALinuxAgent-2.8.0.11/tests/ga/test_multi_config_extension.py
x WALinuxAgent-2.8.0.11/tests/ga/test_periodic_operation.py
x WALinuxAgent-2.8.0.11/tests/ga/test_remoteaccess.py
x WALinuxAgent-2.8.0.11/tests/ga/test_remoteaccess_handler.py
x WALinuxAgent-2.8.0.11/tests/ga/test_report_status.py
x WALinuxAgent-2.8.0.11/tests/ga/test_send_telemetry_events.py
x WALinuxAgent-2.8.0.11/tests/ga/test_update.py
x WALinuxAgent-2.8.0.11/tests/pa/
x WALinuxAgent-2.8.0.11/tests/pa/init.py
x WALinuxAgent-2.8.0.11/tests/pa/test_deprovision.py
x WALinuxAgent-2.8.0.11/tests/pa/test_provision.py
x WALinuxAgent-2.8.0.11/tests/protocol/
x WALinuxAgent-2.8.0.11/tests/protocol/HttpRequestPredicates.py
x WALinuxAgent-2.8.0.11/tests/protocol/init.py
x WALinuxAgent-2.8.0.11/tests/protocol/mocks.py
x WALinuxAgent-2.8.0.11/tests/protocol/mockwiredata.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_datacontract.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_extensions_goal_state_from_extensions_config.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_extensions_goal_state_from_vm_settings.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_goal_state.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_healthservice.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_hostplugin.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_image_info_matcher.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_imds.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_metadata_server_migration_util.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_protocol_util.py
x WALinuxAgent-2.8.0.11/tests/protocol/test_wire.py
x WALinuxAgent-2.8.0.11/tests/test_agent.py
x WALinuxAgent-2.8.0.11/tests/tools.py
x WALinuxAgent-2.8.0.11/tests/utils/
x WALinuxAgent-2.8.0.11/tests/utils/init.py
x WALinuxAgent-2.8.0.11/tests/utils/cgroups_tools.py
x WALinuxAgent-2.8.0.11/tests/utils/event_logger_tools.py
x WALinuxAgent-2.8.0.11/tests/utils/miscellaneous_tools.py
x WALinuxAgent-2.8.0.11/tests/utils/test_archive.py
x WALinuxAgent-2.8.0.11/tests/utils/test_crypt_util.py
x WALinuxAgent-2.8.0.11/tests/utils/test_extension_process_util.py
x WALinuxAgent-2.8.0.11/tests/utils/test_file_util.py
x WALinuxAgent-2.8.0.11/tests/utils/test_flexible_version.py
x WALinuxAgent-2.8.0.11/tests/utils/test_network_util.py
x WALinuxAgent-2.8.0.11/tests/utils/test_passwords.txt
x WALinuxAgent-2.8.0.11/tests/utils/test_rest_util.py
x WALinuxAgent-2.8.0.11/tests/utils/test_shell_util.py
x WALinuxAgent-2.8.0.11/tests/utils/test_text_util.py
configureopnsense.sh: python3: not found
ln: /usr/local/bin/python: No such file or directory
sed: /etc/waagent.conf: No such file or directory
actions_waagent.conf 357 B 4701 kBps 00s
cp: /usr/local/opnsense/service/conf/actions.d: No such file or directory
pkg: Error fetching https://pkg.opnsense.org/FreeBSD:13:amd64/23.1/latest/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
configureopnsense.sh: cannot create /usr/local/etc/rc.syshook.d/start/22-remoteroute: No such file or directory
chmod: /usr/local/etc/rc.syshook.d/start/22-remoteroute: No such file or directory
configureopnsense.sh: cannot create /usr/local/etc/rc.syshook.d/start/20-freebsd: No such file or directory

"\r
\r
More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot "
}
}