Bug 1208293 - RHEL 7.1 Vagrant box for VirtualBox results in a libvirt box
Summary: RHEL 7.1 Vagrant box for VirtualBox results in a libvirt box
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Development Kit (CDK)
Classification: Red Hat
Component: distribution
Version: 1.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Langdon White
QA Contact: Lukáš Zachar
Brian (bex) Exelbierd
URL:
Whiteboard:
: 1219590 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-01 21:01 UTC by Tushar Katarki
Modified: 2015-12-01 19:09 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-01 19:09:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tushar Katarki 2015-04-01 21:01:40 UTC
Description of problem:

Tried to create a RHEL 7.1 Vagrant Box for Virtual Box on my MAC with the following URLs for download: 

- https://access.cdn.redhat.com//content/origin/files/sha256/bc/bc6f955888a64c6cdfc773a5f3754afb4fb8b47a091f377dd95d5dc73dd75371/rhel-server-virtualbox-7.1-0.x86_64.box
- http://download.lab.bos.redhat.com/released/cdk/1.0/images/rhel-server-virtualbox-7.1-0.x86_64.box

- Created a vagrant box successfully with vagrant box add <url from above> --name rhel-server-7

$vagrant box add http://download.lab.bos.redhat.com/released/cdk/1.0/images/rhel-server-virtualbox-7.1-0.x86_64.box --name
=> box: Adding box 'rhel-server-7' (v0) for provider: 
    box: Downloading: http://download.lab.bos.redhat.com/released/cdk/1.0/images/rhel-server-virtualbox-7.1-0.x86_64.box
==> box: Successfully added box 'rhel-server-7' (v0) for 'libvirt'!

- Results in a libvirt virtual box. was expecting a VirtualBox. See below. 

$ vagrant box list
RHEL-7_1-box  (libvirt, 0)
rhel-server-7 (libvirt, 0)
$


Version-Release number of selected component (if applicable):
CDK 1.0 

How reproducible:
Tried 3 times with the 2 URLs above with same results.

Comment 1 Travis Rhoden 2015-04-07 21:00:17 UTC
I'm hitting the same thing.  The virtualbox vagrant image available for download is invalid.

I tried giving the provider type directly, and saw the following:

$ vagrant box add rhel-server-virtualbox-7.1-0.x86_64.box --name rhel-server-7.1 --checksum-type sha256 --checksum bc6f955888a64c6cdfc773a5f3754afb4fb8b47a091f377dd95d5dc73dd75371 --provider virtualbox
==> box: Adding box 'rhel-server-7.1' (v0) for provider: virtualbox
    box: Downloading: file:///Users/travis/Documents/RedHat/rhel-server-virtualbox-7.1-0.x86_64.box
    box: Calculating and comparing box checksum...
The box you attempted to add doesn't match the provider you specified.

Provider expected: virtualbox
Provider of box: libvirt

Comment 2 Langdon White 2015-04-07 21:11:09 UTC
Confirmed this is an issue, the wrong file is loaded at rhel-server-virtualbox-7.1-0.x86_64.box. Will be fixing as soon as possible.

Comment 3 Brian Gollaher 2015-04-16 19:23:31 UTC
I'm not sure why this was assigned to me.  We have the wrong box here.  Fixing this should be the highest priority that we have.  Please make sure the right box is release right away.

Comment 5 Langdon White 2015-05-07 18:11:06 UTC
*** Bug 1219590 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.