Thursday, April 17, 2014

Mac OS X - rackspace-novaclient - UserWarning: Unknown distribution option: 'pbr'

Faulty install logs below.


$ sudo pip install rackspace-novaclient --verbose
Downloading/unpacking rackspace-novaclient
  Running setup.py egg_info for package rackspace-novaclient
    running egg_info
    writing requirements to pip-egg-info/rackspace_novaclient.egg-info/requires.txt
    writing pip-egg-info/rackspace_novaclient.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/rackspace_novaclient.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/rackspace_novaclient.egg-info/dependency_links.txt
    warning: manifest_maker: standard file '-c' not found
    reading manifest file 'pip-egg-info/rackspace_novaclient.egg-info/SOURCES.txt'
    writing manifest file 'pip-egg-info/rackspace_novaclient.egg-info/SOURCES.txt'
Downloading/unpacking python-novaclient (from rackspace-novaclient)
  Running setup.py egg_info for package python-novaclient
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'pbr'
      warnings.warn(msg)
    running egg_info
    writing pip-egg-info/UNKNOWN.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/UNKNOWN.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/UNKNOWN.egg-info/dependency_links.txt
    warning: manifest_maker: standard file '-c' not found
    reading manifest file 'pip-egg-info/UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    writing manifest file 'pip-egg-info/UNKNOWN.egg-info/SOURCES.txt'
Requirement already satisfied (use --upgrade to upgrade): rackspace-auth-openstack in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): os-diskconfig-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): rax-scheduled-images-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): os-networksv2-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): os-virtual-interfacesv2-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): rax-default-network-flags-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Installing collected packages: rackspace-novaclient, python-novaclient
  Running setup.py install for rackspace-novaclient
    running install
    running build
    running install_egg_info
    running egg_info
    writing requirements to rackspace_novaclient.egg-info/requires.txt
    writing rackspace_novaclient.egg-info/PKG-INFO
    writing top-level names to rackspace_novaclient.egg-info/top_level.txt
    writing dependency_links to rackspace_novaclient.egg-info/dependency_links.txt
    warning: manifest_maker: standard file '-c' not found
    reading manifest file 'rackspace_novaclient.egg-info/SOURCES.txt'
    writing manifest file 'rackspace_novaclient.egg-info/SOURCES.txt'
    Copying rackspace_novaclient.egg-info to /Library/Python/2.7/site-packages/rackspace_novaclient-1.4-py2.7.egg-info
    running install_scripts
    writing list of installed files to '/tmp/pip-nFadcJ-record/install-record.txt'
  Running setup.py install for python-novaclient
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'pbr'
      warnings.warn(msg)
    running install
    running build
    running install_egg_info
    running egg_info
    writing UNKNOWN.egg-info/PKG-INFO
    writing top-level names to UNKNOWN.egg-info/top_level.txt
    writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
    warning: manifest_maker: standard file '-c' not found
    reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
    removing '/Library/Python/2.7/site-packages/UNKNOWN-0.0.0-py2.7.egg-info' (and everything under it)
    Copying UNKNOWN.egg-info to /Library/Python/2.7/site-packages/UNKNOWN-0.0.0-py2.7.egg-info
    running install_scripts
    writing list of installed files to '/tmp/pip-K1fzme-record/install-record.txt'
Successfully installed rackspace-novaclient python-novaclient
Cleaning up...

Fix logs below. Install/update pbr.

$ sudo pip install --upgrade pbr
Downloading/unpacking pbr from https://pypi.python.org/packages/source/p/pbr/pbr-0.8.0.tar.gz#md5=7d85dc6aa47809d97d29901bf0244f6f
  Downloading pbr-0.8.0.tar.gz (75kB): 75kB downloaded
  Running setup.py egg_info for package pbr
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking pip from https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb (from pbr)
  Downloading pip-1.5.4.tar.gz (1.1MB): 1.1MB downloaded
  Running setup.py egg_info for package pip
    warning: no files found matching 'pip/cacert.pem'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no previously-included files matching '*.rst' found under directory 'docs/_build'
    no previously-included directories found matching 'docs/_build/_sources'
Installing collected packages: pbr, pip
  Found existing installation: pbr 0.5.18
    Uninstalling pbr:
      Successfully uninstalled pbr
  Running setup.py install for pbr
    [pbr] Reusing existing SOURCES.txt
  Found existing installation: pip 1.3.1
    Uninstalling pip:
      Successfully uninstalled pip
  Running setup.py install for pip
    warning: no files found matching 'pip/cacert.pem'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no previously-included files matching '*.rst' found under directory 'docs/_build'
    no previously-included directories found matching 'docs/_build/_sources'
    Installing pip script to /usr/local/bin
    Installing pip2.7 script to /usr/local/bin
    Installing pip2 script to /usr/local/bin
Successfully installed pbr pip
Cleaning up...

Re-install rackspace-novaclient.

$ sudo pip uninstall rackspace-novaclient
Uninstalling rackspace-novaclient:
  /Library/Python/2.7/site-packages/rackspace_novaclient-1.4-py2.7.egg-info
Proceed (y/n)? y
  Successfully uninstalled rackspace-novaclient

$ sudo pip install rackspace-novaclient
Downloading/unpacking rackspace-novaclient
  Downloading rackspace-novaclient-1.4.tar.gz
  Running setup.py (path:/private/tmp/pip_build_root/rackspace-novaclient/setup.py) egg_info for package rackspace-novaclient
Downloading/unpacking python-novaclient (from rackspace-novaclient)
  Downloading python-novaclient-2.17.0.tar.gz (230kB): 230kB downloaded
  Running setup.py (path:/private/tmp/pip_build_root/python-novaclient/setup.py) egg_info for package python-novaclient
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
Requirement already satisfied (use --upgrade to upgrade): rackspace-auth-openstack in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): os-diskconfig-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): rax-scheduled-images-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): os-networksv2-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): os-virtual-interfacesv2-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): rax-default-network-flags-python-novaclient-ext in /Library/Python/2.7/site-packages (from rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): pbr>=0.6,<1 .0="" from="" ibrary="" in="" python-novaclient-="" site-packages="" ython="">rackspace-novaclient)
Downloading/unpacking iso8601>=0.1.8 (from python-novaclient->rackspace-novaclient)
  Downloading iso8601-0.1.10.tar.gz
  Running setup.py (path:/private/tmp/pip_build_root/iso8601/setup.py) egg_info for package iso8601
Requirement already satisfied (use --upgrade to upgrade): PrettyTable>=0.7,<0 .8="" from="" ibrary="" in="" python-novaclient-="" site-packages="" ython="">rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): requests>=1.1 in /Library/Python/2.7/site-packages (from python-novaclient->rackspace-novaclient)
Requirement already satisfied (use --upgrade to upgrade): simplejson>=2.0.9 in /Library/Python/2.7/site-packages (from python-novaclient->rackspace-novaclient)
Downloading/unpacking six>=1.5.2 (from python-novaclient->rackspace-novaclient)
  Downloading six-1.6.1-py2.py3-none-any.whl
Downloading/unpacking Babel>=1.3 (from python-novaclient->rackspace-novaclient)
  Downloading Babel-1.3.tar.gz (3.4MB): 3.4MB downloaded
  Running setup.py (path:/private/tmp/pip_build_root/Babel/setup.py) egg_info for package Babel
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
Requirement already satisfied (use --upgrade to upgrade): pip in /Library/Python/2.7/site-packages (from pbr>=0.6,<1 .0-="">python-novaclient->rackspace-novaclient)
Downloading/unpacking pytz>=0a (from Babel>=1.3->python-novaclient->rackspace-novaclient)
  Downloading pytz-2014.2.tar.bz2 (160kB): 160kB downloaded
  Running setup.py (path:/private/tmp/pip_build_root/pytz/setup.py) egg_info for package pytz
Installing collected packages: rackspace-novaclient, python-novaclient, iso8601, six, Babel, pytz
  Running setup.py install for rackspace-novaclient
  Running setup.py install for python-novaclient
    [pbr] Reusing existing SOURCES.txt
    Installing nova script to /usr/local/bin
  Found existing installation: iso8601 0.1.4
    Uninstalling iso8601:
      Successfully uninstalled iso8601
  Running setup.py install for iso8601
  Found existing installation: six 1.3.0
    Uninstalling six:
      Successfully uninstalled six
  Running setup.py install for Babel
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    Installing pybabel script to /usr/local/bin
  Running setup.py install for pytz
Successfully installed rackspace-novaclient python-novaclient iso8601 six Babel pytz
Cleaning up...

No comments: