Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Bump default CentOS version #388

Closed
wants to merge 1 commit into from
Closed

Bump default CentOS version #388

wants to merge 1 commit into from

Conversation

tpetchel
Copy link

@tpetchel tpetchel commented May 8, 2015

In ChefDK 0.5.1, kitchen create fails against the default CentOS 6.5
configuration.

$ kitchen create
-----> Starting Kitchen (v1.4.0)
-----> Creating <default-centos-65>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Box 'centos-6.5' could not be found. Attempting to
find and install...    default: Box Provider: virtualbox    default:
Box Version: >= 0==> default: Adding box 'centos-6.5' (v0) for
provider: virtualbox    default: DownAn error occurred while
downloading the remote file. The error
       message, if any, is reproduced below. Please fix this error and
try
       again.
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Expected process to
exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox
----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'centos-6.5' could not be found. Attempting to find
and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'centos-6.5' (v0) for provider: virtualbox
    default: Downloading: centos-6.5

STDERR: An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file
/home/thomaspetchel/motd/.kitchen/kitchen-vagrant/kitchen-motd-default-c
entos-65/centos-6.5
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

It does find the correct box URL when you specify CentOS 6.6, so making
that the default.

We may want to also update Ubuntu to either 14.04 or 15.04, but the
12.04 default still functions, so I’m not touching it.

In ChefDK 0.5.1, `kitchen create` fails against the default CentOS 6.5
configuration.

```bash
$ kitchen create
-----> Starting Kitchen (v1.4.0)
-----> Creating <default-centos-65>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Box 'centos-6.5' could not be found. Attempting to
find and install...    default: Box Provider: virtualbox    default:
Box Version: >= 0==> default: Adding box 'centos-6.5' (v0) for
provider: virtualbox    default: DownAn error occurred while
downloading the remote file. The error
       message, if any, is reproduced below. Please fix this error and
try
       again.
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Expected process to
exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox
----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'centos-6.5' could not be found. Attempting to find
and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'centos-6.5' (v0) for provider: virtualbox
    default: Downloading: centos-6.5

STDERR: An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file
/home/thomaspetchel/motd/.kitchen/kitchen-vagrant/kitchen-motd-default-c
entos-65/centos-6.5
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
```

It does find the correct box URL when you specify CentOS 6.6, so making
that the default.

We may want to also update Ubuntu to either 14.04 or 15.04, but the
12.04 default still functions, so I’m not touching it.
@chef-supermarket
Copy link

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.

GitHub Users Who Are Not Authorized To Contribute

The following GitHub users do not appear to have signed a CLA:

Please sign the CLA here.

@chef-supermarket
Copy link

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

@jtimberman
Copy link
Contributor

This will be 7.1 with #382 😄

@danielsdeleo
Copy link
Contributor

Merged as ac63468

@charlesjohnson charlesjohnson deleted the tp/centos-66 branch August 8, 2016 18:29
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants