← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1598525] Re: KeyError: 'processor_architecture' on ./stack.sh

 

** Also affects: ironic
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1598525

Title:
  KeyError: 'processor_architecture' on ./stack.sh

Status in devstack:
  New
Status in Ironic:
  New
Status in neutron:
  Confirmed

Bug description:
  ./stack.sh failed with the following error on an ubuntu/trusty64
  Vagrant VM:

  ...
  +tools/install_pip.sh:install_get_pip:79   sudo -H -E python /home/vagrant/devstack/files/get-pip.py -c /home/vagrant/devstack/tools/cap-pip.txt
  Collecting pip!=8 (from -c /home/vagrant/devstack/tools/cap-pip.txt (line 1))
  ...
  Collecting testrepository===0.0.20 (from -c /opt/stack/requirements/upper-constraints.txt (line 346))
    Downloading testrepository-0.0.20.tar.gz (84kB)
      100% |################################| 92kB 9.5MB/s
  Exception:
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
      status = self.run(options, args)
    File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 310, in run
      wb.build(autobuilding=True)
    File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 750, in build
      self.requirement_set.prepare_files(self.finder)
    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 370, in prepare_files
      ignore_dependencies=self.ignore_dependencies))
    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 601, in _prepare_file
      abstract_dist.prep_for_dist()
    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 127, in prep_for_dist
      self.req_to_install.run_egg_info()
    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 397, in run_egg_info
      self.setup_py, self.name,
    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 372, in setup_py
      import setuptools  # noqa
    File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 14, in <module>
      from setuptools.extension import Extension
    File "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 11, in <module>
      from . import msvc
    File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 244, in <module>
      class PlatformInfo:
    File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 253, in PlatformInfo
      current_cpu = safe_env['processor_architecture'].lower()
    File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
      raise KeyError(key)
  KeyError: 'processor_architecture'


  local.conf:

  [[local|localrc]]
  ADMIN_PASSWORD=secret
  DATABASE_PASSWORD=$ADMIN_PASSWORD
  RABBIT_PASSWORD=$ADMIN_PASSWORD
  SERVICE_PASSWORD=$ADMIN_PASSWORD

  
  $ uname -a
  Linux vagrant-ubuntu-trusty-64 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1598525/+subscriptions