Skip to main content

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...

Comments

Popular posts from this blog

Zenoss: monitor free VMWare ESXi version

We confirmed that the free ESXi version does not allow SNMP gets, only traps. The original script was taken from here: http://communities.vmware.com/docs/DOC-7170 Modified script: http://mirakulo.com/pub/esxi/check_esx_wbmem.py We added Fan and power supply, hinted from this page: http://www.stephenjc.com/2009/01/whatsup-vmware-esxi-monitor-these.html Use this guide to add the Data source: http://www.zenoss.com/community/docs/howtos/create-modify-nagios-templates Added as template under: /Devices /Server /VMWare /ESXi /Templates /esxi-monitor /check_esx_wbmem Name: check_esx_wbmem Source Type: Command Enable true Use SSH false Component: blank Event class: /VMWare/ESXi Severity: Error Cycle time: 60 Parser: auto Command template: /usr/local/zenoss/python/bin/python /opt/zenoss/libexec/check_esx_wbmem.py https://${dev/manageIp}:5989 root passwd To bind this template to ESXi nodes, go to the device: Example: /Devices /Server /VMWare /ESXi /esxi-01.prod.corp.org then to its temp...

ld: unrecognized option '--hash-style=both'

gcc -Wl,-Map=contiki.map,-export-dynamic testv6.co obj_linux-native/socketdev_listener.o \ contiki-linux-native.a -o testv6.linux-native /usr/local/bin/ld: unrecognized option '--hash-style=both' /usr/local/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status If you look closely, the error is something related to the local gcc not using the host's linker (ld). $ which gcc /usr/bin/gcc $ which ld /usr/local/bin/ld For some reason, I messed my compiler path. To synchronized gcc to use the host's dynamic linker (i.e. /usr/bin/ld ), set the environment variable COMPILER_PATH to /usr/bin . $ export COMPILER_PATH=/usr/bin $ echo $COMPILER_PATH /usr/bin $ gcc -print-prog-name=ld /usr/bin/ld

Resetting admin password in IBM System p5 510 Express ASMI

These are the steps in resetting the admin password: 0. Re-route stored static in your body via an ESD wrist strap to a metallic element. 1. Look for the 2 toggle switches and service processor batt. The batt should be in front of the Power Supply 1 and Power Supply 2 (codes: E1 and E2, see Rear Location Codes on the cover plate). The "very tiny" toggle switches should be in the area of P1-C14 slot. I forgot the exact sequence but it should be a combination of the ff. step (2): 2. Remove the battery, toggle the switches to the opposite direction. Allows some time for the caps to discharge. 3. Move back the toggle switches and put back the batt in its place. 4. Assign your PC to Class C subnet (i.e. masked 255.255.255.0 ): IPaddr: 192.168.2.x for HMC1 or IPaddr: 192.168.3.x for HMC2 5. Ping HMC1 or HMC2. Access the web interface using the default address: http://192.168.2.147 (for HMC1) or http://192.168.3.147 (for HMC2) Note: Sometimes you have to force the https protocol: ...