aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sirois (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1663) Wrong version of VirtualBox guest additions
Date Wed, 13 Apr 2016 15:39:25 GMT

    [ https://issues.apache.org/jira/browse/AURORA-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239453#comment-15239453
] 

John Sirois commented on AURORA-1663:
-------------------------------------

This is the best I can come up with - let me know what you think.  If you like it I can send
up an RB to update the [vagrant docs install section|https://github.com/apache/aurora/blob/master/docs/getting-started/vagrant.md#user-content-install-virtualbox-and-vagrant]
and reccomend the following step.

One time setup rec on the host machine (developer box):
{noformat}
vagrant plugin install vagrant-vbguest
{noformat}

Then when you {{vagrant up}} for aurora or any other vagrant vm and the guest additions are
out of date you'll see something like this:
{noformat}
$ vagrant up
Bringing machine 'devcluster' up with 'virtualbox' provider...
==> devcluster: Checking if box 'apache-aurora/dev-environment' is up to date...
==> devcluster: Clearing any previously set forwarded ports...
==> devcluster: Fixed port collision for 22 => 2222. Now on port 2200.
==> devcluster: Clearing any previously set network interfaces...
==> devcluster: Preparing network interfaces based on configuration...
    devcluster: Adapter 1: nat
    devcluster: Adapter 2: hostonly
==> devcluster: Forwarding ports...
    devcluster: 22 (guest) => 2200 (host) (adapter 1)
==> devcluster: Running 'pre-boot' VM customizations...
==> devcluster: Booting VM...
==> devcluster: Waiting for machine to boot. This may take a few minutes...
    devcluster: SSH address: 127.0.0.1:2200
    devcluster: SSH username: vagrant
    devcluster: SSH auth method: private key
==> devcluster: Machine booted and ready!
GuestAdditions versions on your host (5.0.16) and guest (4.3.36) do not match.
stdin: is not a tty
 * Stopping VirtualBox Additions
   ...done.
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  dkms fakeroot libcanberra-gtk3-0 libcanberra-gtk3-module libfakeroot
  libnotify-bin libnotify4 libxfont1 libxkbfile1 notification-daemon
  x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils xserver-common
  xserver-xorg-core
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  virtualbox-guest-dkms* virtualbox-guest-utils* virtualbox-guest-x11*
0 upgraded, 0 newly installed, 3 to remove and 4 not upgraded.
After this operation, 12.1 MB disk space will be freed.
(Reading database ... 75956 files and directories currently installed.)
Removing virtualbox-guest-dkms (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...

-------- Uninstall Beginning --------
Module:  virtualbox-guest
Version: 4.3.36
Kernel:  3.13.0-85-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxguest.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.13.0-85-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxsf.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.13.0-85-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxvideo.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.13.0-85-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 4.3.36
completely from the DKMS tree.
------------------------------
Done.
Removing virtualbox-guest-x11 (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
Purging configuration files for virtualbox-guest-x11 (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1)
...
Removing virtualbox-guest-utils (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
Purging configuration files for virtualbox-guest-utils (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1)
...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version.
dkms set to manually installed.
linux-headers-3.13.0-85-generic is already the newest version.
linux-headers-3.13.0-85-generic set to manually installed.
The following packages were automatically installed and are no longer required:
  libcanberra-gtk3-0 libcanberra-gtk3-module libnotify-bin libnotify4
  libxfont1 libxkbfile1 notification-daemon x11-xkb-utils xfonts-base
  xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Copy iso file /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
stdin: is not a tty
mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only
Installing Virtualbox Guest Additions 5.0.16 - guest version is 4.3.36
stdin: is not a tty
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.16 Guest Additions for Linux............
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
Starting the VirtualBox Guest Additions ...done.
Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 5.0.16. Some functionality
may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
stdin: is not a tty
==> devcluster: Checking for guest additions in VM...
==> devcluster: Setting hostname...
==> devcluster: Configuring and enabling network interfaces...
==> devcluster: Mounting shared folders...
    devcluster: /vagrant => /home/jsirois/dev/apache/aurora
==> devcluster: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> devcluster: flag to force provisioning. Provisioners marked to run always will still
run.
{noformat}

> Wrong version of VirtualBox guest additions
> -------------------------------------------
>
>                 Key: AURORA-1663
>                 URL: https://issues.apache.org/jira/browse/AURORA-1663
>             Project: Aurora
>          Issue Type: Bug
>          Components: Deploy
>         Environment: Windows, VirtualBox5
>            Reporter: Vitaly Stakhovsky
>            Assignee: John Sirois
>            Priority: Minor
>
> I follow the instructions on the 'Getting Started' page for Windows. If I use VirtualBox
5, I am getting a warning:
> The guest additions on this VM do not match the installed version of VirtualBox!
> ... 
> Guest Additions Version: 4.3.36
> VirtualBox Version: 5.0
> Apparently, this is because the apache-aurora/dev-environment Vagrant box is now used
instead of ubuntu/trusty64



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message