IOError: invalid Python installation: unable to open /usr/share/nova-agent/0.0.1.36/lib/python2.7/config/Makefile (No such file or directory)

Bug #1023688 reported by Jose Contreras
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-guest-agents
Fix Released
Undecided
Abhishek Kumar

Bug Description

Version 0.0.1.36 compiled on Ubuntu 12.04 64bit server. make and make check gave no errors. After installation, I get this error when starting services.

root@vmcompute:/usr/share/nova-agent/0.0.1.36/lib/python2.7# service nova-agent start
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 562, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 544, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 236, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 344, in _init_posix
    raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/share/nova-agent/0.0.1.36/lib/python2.7/config/Makefile (No such file or directory)

Revision history for this message
Abhishek Kumar (abionic) wrote :

Update to newer version 0.0.1.38, for fixed build.

Changed in openstack-guest-agents:
assignee: nobody → Abhishek Kumar (abionic)
status: New → Fix Released
Revision history for this message
Abhishek Kumar (abionic) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.