Skip to content

Not working after update to Ventura #992

@rogercoathup

Description

@rogercoathup

Updated to Ventura and vagrant up is failing for all my chassis installs.

Intial error was:

roger@Rogers-MacBook-Pro content % vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Running action triggers before up ...
==> default: Running trigger...
==> default: Checking if box 'chassis/chassis' version '5.0.0' is up to date...
==> default: Clearing any previously set network interfaces...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp

I then:

Updated vagrant to version 2.3.4
Updated virtual box from v6 to v7

And tried setting up a clean chassis install. I'm now seeing the following error:

roger@Rogers-MacBook-Pro testventura % vagrant up                       
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Running action triggers before up ...
==> default: Running trigger...
==> default: Checking if box 'chassis/chassis' version '5.0.1' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 (guest) => 8000 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
A customization command failed:

["guestproperty", "set", :id, "/Chassis/synced_folders", "{\"/var/log/nginx\":\"/Users/roger/Development/testventura/logs/nginx\",\"/var/log/php\":\"/Users/roger/Development/testventura/logs/php\",\"/vagrant\":\"/Users/roger/Development/testventura\",\"/vagrant/extensions/_global\":\"/Users/roger/.chassis/extensions\"}", "--flags", "TRANSIENT,RDONLYGUEST"]

The following error was experienced:

#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["guestproperty", "set", "e127ee13-b433-4032-9aa1-b03afd32025c", "/Chassis/synced_folders", "{\"/var/log/nginx\":\"/Users/roger/Development/testventura/logs/nginx\",\"/var/log/php\":\"/Users/roger/Development/testventura/logs/php\",\"/vagrant\":\"/Users/roger/Development/testventura\",\"/vagrant/extensions/_global\":\"/Users/roger/.chassis/extensions\"}", "--flags", "TRANSIENT,RDONLYGUEST"]

Stderr: VBoxManage: error: Properties with TRANSIENT or TRANSRESET flag cannot be set or modified if VM is not running
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "SetGuestProperty(Bstr(pszName).raw(), Bstr(pszValue).raw(), Bstr(pszFlags).raw())" at line 156 of file VBoxManageGuestProp.cpp
>

Please fix this customization and try again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions