Skip to content
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

shared folder is missing: ~/dev/wsn/rti/ #2

Open
eoinjordan opened this issue Sep 15, 2021 · 3 comments
Open

shared folder is missing: ~/dev/wsn/rti/ #2

eoinjordan opened this issue Sep 15, 2021 · 3 comments

Comments

@eoinjordan
Copy link

vagrant up --provider virtualbox
Bringing machine 'wsn-box' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:

  • The host path of the shared folder is missing: ~/dev/wsn/rti/
@eoinjordan
Copy link
Author

Manual creation of this directory resulted in another error:

==> wsn-box: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "81b9c747-4b5f-4d66-9563-af90692db963", "--type", "headless"]

Stderr: VBoxManage: error: Implementation of the USB 2.0 controller not found!
VBoxManage: error: Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
VBoxManage: error: Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

@eoinjordan
Copy link
Author

That previous error was fixed by installing the extension pack. Now another has appeared:

==> wsn-box: Mounting shared folders...
    wsn-box: /vagrant => /home/envy/git/tinyos-virtual-machine
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=1000,_netdev vagrant /vagrant

The error output from the command was:

: No such device

@eoinjordan
Copy link
Author

I tried destroying and starting again after the extension was installed and it got further but I'm still probably missing something:

TASK [Gathering Facts] *********************************************************
[DEPRECATION WARNING]: Distribution Ubuntu 16.04 on host wsn-box should use 
/usr/bin/python3, but is using /usr/bin/python for backward compatibility with 
prior Ansible releases. A future Ansible release will default to using the 
discovered platform python for this host. See https://docs.ansible.com/ansible/
2.9/reference_appendices/interpreter_discovery.html for more information. This 
feature will be removed in version 2.12. Deprecation warnings can be disabled 
by setting deprecation_warnings=False in ansible.cfg.
ok: [wsn-box]

TASK [Make sure the de_DE.UTF-8 locale is available] ***************************
changed: [wsn-box]

TASK [run dist upgrade] ********************************************************
[WARNING]: Updating cache and auto-installing missing dependency: python-apt
changed: [wsn-box]

TASK [yatesr.timezone : include_vars] ******************************************
ok: [wsn-box] => (item=/vagrant/provisioning/roles/yatesr.timezone/vars/../vars/Debian.yml)

TASK [yatesr.timezone : Install tzdata for Debian based distros] ***************
ok: [wsn-box]

TASK [yatesr.timezone : Install tzdata for RedHat based distros] ***************
skipping: [wsn-box]

TASK [yatesr.timezone : Set timezone config] ***********************************
changed: [wsn-box]

TASK [yatesr.timezone : Set link to localtime] *********************************
changed: [wsn-box]

TASK [sunscrapers.python : Ensure that Python2 packages are installed] *********
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via 
squash_actions is deprecated. Instead of using a loop to supply multiple items 
and specifying `pkg: "{{item}}"`, please use `pkg: '{{ python_apt_packages_2 
}}'` and remove the loop. This feature will be removed in version 2.11. 
Deprecation warnings can be disabled by setting deprecation_warnings=False in 
ansible.cfg.
failed: [wsn-box] (item=[u'python2', u'python-pip']) => {"ansible_loop_var": "item", "changed": false, "item": ["python2", "python-pip"], "msg": "No package matching 'python2' is available"}

PLAY RECAP *********************************************************************
wsn-box                    : ok=7    changed=4    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
envy@envy-HP-ENVY-x360-Convertible-15-ee0xxx:~/git/tinyos-virtual-machine$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant