Announcing release for Vagrant 1.7.4 on CentOS Linux 7 x86_64 SCL

43 views
Skip to first unread message

hho...@redhat.com

unread,
Nov 11, 2015, 11:50:41 AM11/11/15
to Vagrant
I am pleased to announce the immediate availability of Vagrant 1.7.4 on CentOS Linux 7 x86_64, delivered via a Software Collection (SCL) built by the SCLo Special Interest Group (https://wiki.centos.org/SpecialInterestGroup/SCLo).

QuickStart
----------
You can get started in three easy steps:
  $ sudo yum install centos-release-scl
  $ sudo yum install sclo-vagrant1
  $ scl enable sclo-vagrant1 bash

At this point you should be able to use vagrant just as a normal
application. An example work-flow might be:
  $ vagrant init centos/7
  $ vagrant up
  $ vagrant ssh

In order to view the individual components included in this
collection, including additional vagrant plugins, you can run :
  $ sudo yum list sclo-vagrant\*

About Software Collections
--------------------------
Software Collections give you the power to build, install, and use multiple versions of software on the same system, without affecting system-wide installed packages. Each collection is delivered as a group of RPMs, with the grouping being done using the name of the collection as a prefix of all packages that are part of the software collection.

The collection sclo-vagrant1 delivers a Vagrant tool in version 1.x that allows to create and configure virtual development environments. Some of the most common plugins are also included in the collection as RPMs.

The sclo-vagrant1 collection relies on the following additional collections which will also be installed: rh-ruby22, rh-ror41

For more on the Vagrant tool and other plugins, see https://www.vagrantup.com.

The SCLo SIG in CentOS
----------------------
The Software Collections SIG group is an open community group co-ordinating the development of the SCL technology, and helping curate a reference set of collections. In addition to the Vagrant collection being released here, we also build and deliver databases, web servers, and language stacks including multiple versions of PostgreSQL, MariaDB, Apache HTTP Server, Ruby, NodeJS, Python and others.

Software Collections SIG release was announced at https://lists.centos.org/pipermail/centos-announce/2015-October/021446.html

You can learn more about Software Collections concepts at: http://softwarecollections.org/
You can find information on the SIG at https://wiki.centos.org/SpecialInterestGroup/SCLo ; this includes howto get involved and help with the effort.

We meet every Wednesday at 16:00 UTC in #centos-devel (ref: https://www.centos.org/community/calendar), for an informal open forum open to anyone who might have comments, concerns or wants to get started with SCL's in CentOS.

Enjoy!

Honza
SCLo SIG member

Walid

unread,
Nov 12, 2015, 4:12:50 AM11/12/15
to vagra...@googlegroups.com
it does not seem to work for me



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1c979f2b-a7ce-48ba-85b5-ee5761e785e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Walid

unread,
Nov 12, 2015, 4:23:14 AM11/12/15
to vagra...@googlegroups.com
Hi,

it does not seem to work for me, I mean the simple instructions as in the announcement.

[vagrant@agent1 ~]$ scl -l
rh-ror41
rh-ruby22
sclo-vagrant1

[vagrant@agent1 ~]$ which vagrant
/usr/bin/which: no vagrant in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin:/root/bin:/usr/local/bin:/opt/puppet/bin)


[vagrant@agent1 ~]$ sudo scl enable sclo-vagrant1 "which vagrant"
/opt/rh/sclo-vagrant1/root/usr/bin/vagrant



[vagrant@agent1 ~]$ sudo scl enable sclo-vagrant1 "bash"
[root@agent1 vagrant]# vagrant
bash: vagrant: command not found
[root@agent1 vagrant]# /opt/rh/sclo-vagrant1/root/usr/bin/vagrant
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- json/pure (LoadError)
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /opt/rh/rh-ruby22/root/usr/share/gems/gems/json-1.8.1/lib/json.rb:60:in `rescue in <module:JSON>'
    from /opt/rh/rh-ruby22/root/usr/share/gems/gems/json-1.8.1/lib/json.rb:57:in `<module:JSON>'
    from /opt/rh/rh-ruby22/root/usr/share/gems/gems/json-1.8.1/lib/json.rb:54:in `<top (required)>'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/plugin/state_file.rb:1:in `<top (required)>'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/plugin/manager.rb:6:in `require_relative'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/plugin/manager.rb:6:in `<top (required)>'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/pre-rubygems.rb:20:in `require_relative'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/pre-rubygems.rb:20:in `<main>'


vagrant@agent1 ~]$ yum repolist
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: centos.serverspace.co.uk
 * extras: centos.serverspace.co.uk
 * updates: centos.serverspace.co.uk
repo id                                                                                     repo name                                                                                                  status
base/7/x86_64                                                                               CentOS-7 - Base                                                                                            8,652
centos-sclo-rh/7/x86_64                                                                     CentOS-7 - SCLo rh                                                                                           564
centos-sclo-sclo/7/x86_64                                                                   CentOS-7 - SCLo sclo                                                                                          60
extras/7/x86_64                                                                             CentOS-7 - Extras                                                                                            275
puppetlabs-deps/x86_64                                                                      Puppet Labs Dependencies El 7 - x86_64                                                                        17
puppetlabs-pc1/x86_64                                                                       Puppet Labs PC1 Repository el 7 - x86_64                                                                      40
puppetlabs-products/x86_64                                                                  Puppet Labs Products El 7 - x86_64                                                                           196
updates/7/x86_64                                                                            CentOS-7 - Updates                                                                                         1,707
repolist: 11,511


[vagrant@agent1 ~]$ sudo yum update all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.serverspace.co.uk
 * extras: centos.serverspace.co.uk
 * updates: centos.serverspace.co.uk
No Match for argument: all
No package all available.
No packages marked for update


On 11 November 2015 at 19:50, <hho...@redhat.com> wrote:

--

Honza Horak

unread,
Nov 12, 2015, 5:42:49 AM11/12/15
to vagra...@googlegroups.com
On 11/12/2015 10:22 AM, Walid wrote:
> Hi,
>
> it does not seem to work for me, I mean the simple instructions as in
> the announcement.
>
> [vagrant@agent1 ~]$ scl -l
> rh-ror41
> rh-ruby22
> sclo-vagrant1
>
> [vagrant@agent1 ~]$ which vagrant
> /usr/bin/which: no vagrant in
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin:/root/bin:/usr/local/bin:/opt/puppet/bin)
>
>
> [vagrant@agent1 ~]$ sudo scl enable sclo-vagrant1 "which vagrant"
> /opt/rh/sclo-vagrant1/root/usr/bin/vagrant
>
>
>
> [vagrant@agent1 ~]$ sudo scl enable sclo-vagrant1 "bash"
> [root@agent1 vagrant]# vagrant
> bash: vagrant: command not found

Well, this is where my experience differs, it works fine in my environment:
[hhorak@hhorak ~]$ sudo scl enable sclo-vagrant1 "bash"
[root@hhorak ~]# vagrant
Usage: vagrant [options] <command> [<args>]
...

Is there anything special in your environment, especially around
environment variables?

> [root@agent1 vagrant]# /opt/rh/sclo-vagrant1/root/usr/bin/vagrant

This is expected, that in case vagrant is not found on PATH, then it
won't work either when running with full path.

Honza

Walid

unread,
Nov 12, 2015, 6:38:15 AM11/12/15
to vagra...@googlegroups.com
Hi Honza,

Thanks for answering. nothing special, that is Vagrant Centos images from hashicorp/centos repo. i tried to change the path after doing scl enable , but it did not work, could you provide me with your $PATH, as well the output of the command
"which vagrant", and what centos release you are on? i am on updated "CentOS Linux release 7.1.1503 (Core) "


[vagrant@agent1 ~]$ scl enable sclo-vagrant1 "bash"

[vagrant@agent1 ~]$ export PATH=/opt/rh/sclo-vagrant1/root/usr/bin/:$PATH

[vagrant@agent1 ~]$ vagrant --version

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- json/pure (LoadError)
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /opt/rh/rh-ruby22/root/usr/share/gems/gems/json-1.8.1/lib/json.rb:60:in `rescue in <module:JSON>'
    from /opt/rh/rh-ruby22/root/usr/share/gems/gems/json-1.8.1/lib/json.rb:57:in `<module:JSON>'
    from /opt/rh/rh-ruby22/root/usr/share/gems/gems/json-1.8.1/lib/json.rb:54:in `<top (required)>'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/plugin/state_file.rb:1:in `<top (required)>'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/plugin/manager.rb:6:in `require_relative'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/plugin/manager.rb:6:in `<top (required)>'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/pre-rubygems.rb:20:in `require_relative'
    from /opt/rh/sclo-vagrant1/root/usr/share/vagrant/lib/vagrant/pre-rubygems.rb:20:in `<main>'

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.

Christian Berendt

unread,
Nov 12, 2015, 7:14:29 AM11/12/15
to vagra...@googlegroups.com
On 11/11/2015 05:50 PM, hho...@redhat.com wrote:
> I am pleased to announce the immediate availability of Vagrant 1.7.4 on
> CentOS Linux 7 x86_64, delivered via a Software Collection (SCL) built
> by the SCLo Special Interest Group
> (https://wiki.centos.org/SpecialInterestGroup/SCLo).

Great news. Thank you for your efforts.

Christian.

--
Christian Berendt
Cloud Solution Architect
Mail: ber...@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Reply all
Reply to author
Forward
0 new messages