devstack vagrant fails to install "memory error"

asked 2015-08-18 13:23:15 -0500

darksheer gravatar image

updated 2015-08-18 16:09:52 -0500

smaffulli gravatar image

I have been trying to install devstack-vagrant from the GH page, unfortunately I can't open a ticket directly in the repo.

Here is the output log from the install with the specific error:

http://paste.openstack.org/show/420837/

al/lib/python2.7/dist-packages (from keystone==8.0.0.0b3.dev134)
==> manager: 2015-08-18 17:34:46.932 | Collecting oslo.service>=0.6.0 (from keystone==8.0.0.0b3.dev134)
==> manager: 2015-08-18 17:34:47.171 |   Downloading oslo.service-0.6.0-py2.py3-none-any.whl
==> manager: 2015-08-18 17:34:47.184 | Requirement already satisfied (use --upgrade to upgrade): oslo.utils>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from keystone==8.0.0.0b3.dev134)
==> manager: 2015-08-18 17:34:47.190 | Collecting oauthlib>=0.6 (from keystone==8.0.0.0b3.dev134)
==> manager: 2015-08-18 17:34:47.452 |   Downloading oauthlib-1.0.3.tar.gz (109kB)
==> manager: 2015-08-18 17:34:47.598 | Collecting pysaml2>=2.4.0 (from keystone==8.0.0.0b3.dev134)
==> manager: 2015-08-18 17:34:47.854 |   Downloading pysaml2-3.0.0.tar.gz (13.1MB)
==> manager: 2015-08-18 17:34:50.446 | Exception:
==> manager: 2015-08-18 17:34:50.447 | Traceback (most recent call last):
==> manager: 2015-08-18 17:34:50.447 |   File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 223, in main
==> manager: 2015-08-18 17:34:50.447 |     status = self.run(options, args)
==> manager: 2015-08-18 17:34:50.448 |   File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 293, in run
==> manager: 2015-08-18 17:34:50.448 |     wb.build(autobuilding=True)
==> manager: 2015-08-18 17:34:50.448 |   File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 705, in build
==> manager: 2015-08-18 17:34:50.449 |     self.requirement_set.prepare_files(self.finder)
==> manager: 2015-08-18 17:34:50.449 |   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 334, in prepare_files
==> manager: 2015-08-18 17:34:50.449 |     functools.partial(self._prepare_file, finder))
==> manager: 2015-08-18 17:34:50.449 |   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 321, in _walk_req_to_install
==> manager: 2015-08-18 17:34:50.449 |     more_reqs = handler(req_to_install)
==> manager: 2015-08-18 17:34:50.449 |   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 491, in _prepare_file
==> manager: 2015-08-18 17:34:50.450 |     session=self.session)
==> manager: 2015-08-18 17:34:50.450 |   File "/usr/local/lib/python2.7/dist-packages/pip/download.py", line 825, in unpack_url
==> manager: 2015-08-18 17:34:50.450 |     session,
==> manager: 2015-08-18 17:34:50.450 |   File "/usr/local/lib/python2.7/dist-packages/pip/download.py", line 673, in unpack_http_url
==> manager: 2015-08-18 17:34:50.451 |     from_path, content_type = _download_http_url(link, session, temp_dir)
==> manager: 2015-08-18 17:34:50.451 |   File "/usr/local/lib/python2.7/dist-packages/pip/download.py", line 886, in _download_http_url
==> manager: 2015-08-18 17:34:50.451 |     _download_url(resp, link, content_file)
==> manager: 2015-08-18 17:34:50.451 |   File "/usr/local/lib/python2.7/dist-packages/pip/download.py", line 621, in _download_url
==> manager: 2015-08-18 17:34:50.451 |     for chunk in progress_indicator ...
(more)
edit retag flag offensive close merge delete

Comments

the memory error makes it look like you may have not enough resources. But I'm not an expert so I'll refrain from considering this an answer :)

smaffulli gravatar imagesmaffulli ( 2015-08-18 16:10:53 -0500 )edit

I gave a run of vagrant with mem/cpu constraints well below the host system and ran into the same error exit.

darksheer gravatar imagedarksheer ( 2015-08-19 11:12:44 -0500 )edit

I have vague memories of seeing a memory error and if my memory serves me well, I solved it by upgrading a bunch of pip packages... again, I may be totally wrong ;)

smaffulli gravatar imagesmaffulli ( 2015-08-19 11:32:27 -0500 )edit

@smaffulli's comment actually helped. I set some memory limits for the different vagrant boxes and got further along in the process.

I am now running into yet another problem with cinder not loading up properly.

darksheer gravatar imagedarksheer ( 2015-08-20 19:29:27 -0500 )edit