vagrant plugin install vagrant-librarian-chef
Installing the 'vagrant-librarian-chef' plugin. This can take a few minutes...Bundler, the underlying system Vagrant uses to install plugins,reported an error. The error is shown below. These errors are usuallycaused by misconfigured plugin installations or transient networkissues. The error from Bundler is:An error occurred while installing yajl-ruby (1.2.0), and Bundler cannot continue.Make sure that `gem install yajl-ruby -v '1.2.0'` succeeds before bundling.
--
You received this message because you are subscribed to the Google Groups "dbfit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dbfit+un...@googlegroups.com.
To post to this group, send email to db...@googlegroups.com.
Visit this group at http://groups.google.com/group/dbfit.
For more options, visit https://groups.google.com/d/optout.
On Tue, Apr 22, 2014 at 11:08 PM, MatMan <mark_...@hotmail.com> wrote:
--
==> default: trying wget...==> default: trying curl...==> default: grep:==> default: /tmp/stderr: No such file or directory==> default: trying python...==> default: Unable to retrieve a valid package!==> default: Please file a bug report at http://tickets.opscode.com==> default: Project: Chef==> default: Component: Packages==> default: Label: Omnibus==> default: Version: 11.12.2==> default:==> default: Please detail your operating system type, version and any other relevant details==> default: Metadata URL: https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: \nDEBUG OUTPUT FOLLOWS:\n\nSTDERR from wget:\n\n--2014-04-24 15:40:24-- https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Resolving www.getchef.com... 184.106.28.82==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:41:28-- (try: 2) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:42:33-- (try: 3) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:43:39-- (try: 4) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:44:46-- (try: 5) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:45:54-- (try: 6) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:47:03-- (try: 7) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:48:13-- (try: 8) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:49:24-- (try: 9) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:50:36-- (try:10) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:51:49-- (try:11) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:53:02-- (try:12) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:54:15-- (try:13) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:55:28-- (try:14) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:56:41-- (try:15) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:57:54-- (try:16) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 15:59:07-- (try:17) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default:==> default: --2014-04-24 16:00:20-- (try:18) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Conn==> default: ecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default: --2014-04-24 16:01:34-- (try:19) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Retrying.==> default: --2014-04-24 16:02:47-- (try:20) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64==> default: Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.==> default: Giving up.\n\nSTDERR from python:\n\nTraceback (most recent call last):==> default: File "<string>", line 1, in <module>==> default: File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen==> default: return _opener.open(url, data, timeout)==> default: File "/usr/lib64/python2.6/urllib2.py", line 391, in open==> default: response = self._open(req, data)==> default: File "/usr/lib64/python2.6/urllib2.py", line 409, in _open==> default: '_open', req)==> default: File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain==> default: result = func(*args)==> default: File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open==> default: return self.do_open(httplib.HTTPSConnection, req)==> default: File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open==> default: raise URLError(err)==> default: urllib2.URLError: <urlopen error [Errno 110] Connection timed out>\nThe following SSH command responded with a non-zero exit status.Vagrant assumes that this means the command failed!sh install.sh -v 11.12.2 2>&1Stdout from the command:
Downloading Chef 11.12.2 for el...
downloading https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64to file /tmp/install.sh.2369/metadata.txttrying wget...trying curl...grep: /tmp/stderr: No such file or directorytrying python...Unable to retrieve a valid package!Please file a bug report at http://tickets.opscode.comProject: ChefComponent: PackagesLabel: OmnibusVersion: 11.12.2Please detail your operating system type, version and any other relevant detailsMetadata URL: https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64\nDEBUG OUTPUT FOLLOWS:\n\nSTDERR from wget:\n\n--2014-04-24 15:40:24-- https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Resolving www.getchef.com... 184.106.28.82Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:41:28-- (try: 2) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:42:33-- (try: 3) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:43:39-- (try: 4) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:44:46-- (try: 5) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:45:54-- (try: 6) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:47:03-- (try: 7) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:48:13-- (try: 8) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:49:24-- (try: 9) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:50:36-- (try:10) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:51:49-- (try:11) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:53:02-- (try:12) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:54:15-- (try:13) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:55:28-- (try:14) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:56:41-- (try:15) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:57:54-- (try:16) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 15:59:07-- (try:17) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 16:00:20-- (try:18) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 16:01:34-- (try:19) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Retrying.--2014-04-24 16:02:47-- (try:20) https://www.getchef.com/chef/metadata?v=11.12.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64Connecting to www.getchef.com|184.106.28.82|:443... failed: Connection timed out.Giving up.\n\nSTDERR from python:\n\nTraceback (most recent call last):File "<string>", line 1, in <module>File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopenreturn _opener.open(url, data, timeout)File "/usr/lib64/python2.6/urllib2.py", line 391, in openresponse = self._open(req, data)File "/usr/lib64/python2.6/urllib2.py", line 409, in _open'_open', req)File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chainresult = func(*args)File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_openreturn self.do_open(httplib.HTTPSConnection, req)File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_openraise URLError(err)urllib2.URLError: <urlopen error [Errno 110] Connection timed out>\nStderr from the command:
--
It still appears to be broken. I've tried it from 2 machines (one Win7 pro 32bit, one Win 7 ultimate 64 bit) both have the same result (error provisioning). I can see errors relating to compilations. How did you find the Postgresql error before amongst the mass of output? Can you tell if it's the same?
--
/usr/bin/ld: cannot find -lshadowcollect2: ld returned 1 exit status
--
An error occurred during installation of VirtualBox Guest Additions 4.3.10. Some functionality may not work as intended.
--
--
A few other things (chef, git) are not installed as RPM packages.Hi Mark,For yum repositories (RPM), yes: http://wiki.centos.org/HowTos/CreateLocalMirror
> Is there a way of using local RPM, pacakges, etc, if I could get them downloaded?
> Or I suppose provide a completed prebuilt VB VM image for dbfit developers?You can do this locally - make your own box and host it locally - vagrant takes it from following settings:
config.vm.box
config.vm.box_urlYavor
On Fri, May 2, 2014 at 12:12 PM, MatMan <mark_...@hotmail.com> wrote:
The Chef debugging output has been very useful.There were some futher proxy issues that hadn't been solved by setting the environment variables in the VM (which I've ended up using the vagrant-proxyconf plugin to do) and add this to the Vagrantfile: -
config.proxy.http = "http://my_ad_domain%5cmy_ad_user:my_ad_password@myproxyserver.myorg.co.uk:80"
config.proxy.https = "http://my_ad_domain%5cmy_ad_user:my_ad_password@myproxyserver.myorg.co.uk:80"
config.proxy.no_proxy = "localhost,127.0.0.1"
and so I also added Chef proxy setting too: -chef.http_proxy = "http://myproxyserver.myorg.co.uk:80"
chef.http_proxy_user = "my_ad_domain\\my_ad_user"
chef.http_proxy_pass = "my_ad_password"
chef.https_proxy = "http://myproxyserver.myorg.co.uk:80"
chef.https_proxy_user = "my_ad_domain\\my_ad_user"
chef.https_proxy_pass = "my_ad_password"It would be good to get support for these settings into the dbfit VM Vagrantfile and set them, conditionally, from environment variables if they're set.The problem I can now see is in downloading Linux packages. E.g.Error Downloading Packages:
autoconf-2.63-5.1.el6.noarch: failure: Packages/autoconf-2.63-5.1.el6.noarch.rpm from base: [Errno 256] No more mirrors to try.I've seen this with a bison package too and it seems it could be a different network issue on different attempts. I'll investigate more. I might be completely snookered at some point because of package sites being blocked my the company.Is there a way of using local RPM, pacakges, etc, if I could get them downloaded?Or I suppose provide a completed prebuilt VB VM image for dbfit developers?Mark
also...the only file I've found that does need LF newlines is the Oracle installation shell script so adding a pattern to the .gitattributes would be good too...
The unzipped directory has the read only attribute set when viewed from the host
Yes, autocrlf = input looks like a good option. Where is this default set?
Could it be set somewhere in the sources in GitHub?
If not an update to the docs would be good.
The rm is the last statement in the shell script so the exit status will get passed back to the caller (chef?). It does appear to abort the build in my environment.