[Openstack] [Nova][HyperV] HyperV Nova Compute Manual Installation issue.

kmbharath bharath kmbharath.km at gmail.com
Wed Nov 12 11:35:05 UTC 2014


Greetings,

I was trying to install nova compute manually as per the documentation
given in: *http://docs.openstack.org/juno/config-reference/content/hyper-v-virtualization-platform.html
<http://docs.openstack.org/juno/config-reference/content/hyper-v-virtualization-platform.html>
.*

As suggested in the document I have tried to use both the option of Mingw
and Visual Studio,  on both the instances compilation of POSIX_IPC fails.

As mentioned in the document I followed the steps:
1. Install python 32 bit and all the pre-requisites as mentioned.
2. Installed git.
3. Installed MingW (Modified distutils.cfg to point mingw32 compiler)
2. Git clone of nova-master
4. Run setup.py.

The error was [1].

I installed Visual Studio instead of MingW on a another machine  as in the
above steps,
the error was [2].

Can somebody help me figuring out the issue and help me resolve thiscd nm.


Thanks & Regards,
K M Bharath

[1]:Check  attached Error_VisualStudio.txt
[2]:Check  attached Error_Mingw.txt




-- 
Thanks & Regards,
K M Bharath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141112/939b7afa/attachment.html>
-------------- next part --------------
creating build\temp.win32-2.7

creating build\temp.win32-2.7\Release

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcposix_ipc_module
.c /Fobuild\temp.win32-2.7\Release\posix_ipc_module.obj

posix_ipc_module.c

posix_ipc_module.c(47) : fatal error C1083: Cannot open include file: 'pthread.h
': No such file or directory

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\c
l.exe' failed with exit status 2

----------------------------------------
Cleaning up...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\use
rs\\admini~1\\appdata\\local\\temp\\2\\pip_build_Administrator\\posix-ipc\\setup
.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n
', '\n'), __file__, 'exec'))" install --record c:\users\admini~1\appdata\local\t
emp\2\pip-8zekah-record\install-record.txt --single-version-externally-managed -
-compile failed with error code 1 in c:\users\admini~1\appdata\local\temp\2\pip_
build_Administrator\posix-ipc
Storing debug log for failure in C:\Users\Administrator\pip\pip.log
-------------- next part --------------
creating build\temp.win32-2.7\Release

c:\mingw\bin\gcc.exe -mdll -O -Wall -IC:\Python27\include -IC:\Python27\PC -c po
six_ipc_module.c -o build\temp.win32-2.7\Release\posix_ipc_module.o

In file included from posix_ipc_module.c:49:

probe_results.h:14:1: warning: "SEM_VALUE_MAX" redefined

In file included from posix_ipc_module.c:47:

c:\mingw\bin\../lib/gcc/mingw32/4.3.3/../../../../include/pthread.h:523:1: warni
ng: this is the location of the previous definition

posix_ipc_module.c: In function 'Semaphore_init':

posix_ipc_module.c:523: warning: assignment makes pointer from integer without a
 cast

posix_ipc_module.c:525: error: 'SEM_FAILED' undeclared (first use in this functi
on)

posix_ipc_module.c:525: error: (Each undeclared identifier is reported only once


posix_ipc_module.c:525: error: for each function it appears in.)

posix_ipc_module.c:544: warning: assignment makes pointer from integer without a
 cast

posix_ipc_module.c: In function 'my_shm_unlink':

posix_ipc_module.c:872: warning: implicit declaration of function 'shm_unlink'

posix_ipc_module.c: In function 'SharedMemory_init':

posix_ipc_module.c:953: warning: implicit declaration of function 'shm_open'

posix_ipc_module.c:1027: warning: implicit declaration of function 'ftruncate'

error: command 'c:\\mingw\\bin\\gcc.exe' failed with exit status 1

----------------------------------------
Cleaning up...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\use
rs\\admini~1\\appdata\\local\\temp\\2\\pip_build_Administrator\\posix-ipc\\setup
.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n
', '\n'), __file__, 'exec'))" install --record c:\users\admini~1\appdata\local\t
emp\2\pip-hmungq-record\install-record.txt --single-version-externally-managed -
-compile failed with error code 1 in c:\users\admini~1\appdata\local\temp\2\pip_
build_Administrator\posix-ipc
Storing debug log for failure in C:\Users\Administrator\pip\pip.log
error: ['C:\\Python27\\python.exe', u'-m', u'pip.__init__', u'install', u'pbr>=0
.6,!=0.7,<1.0', u'SQLAlchemy>=0.8.4,<=0.8.99,>=0.9.7,<=0.9.99', u'anyjson>=0.3.3
', u'argparse', u'boto>=2.32.1', u'decorator>=3.4.0', u'eventlet>=0.15.2', u'Jin
ja2>=2.6  # BSD License3 clause', u'keystonemiddleware>=1.0.0', u'kombu>=2.5.0',
 u'lxml>=2.3', u'Routes>=1.12.3,!=2.0', u'WebOb>=1.2.3', u'greenlet>=0.3.2', u'P
asteDeploy>=1.5.0', u'Paste', u'sqlalchemy-migrate>=0.9.1,!=0.9.2', u'netaddr>=0
.7.12', u'suds>=0.4', u'paramiko>=1.13.0', u'posix_ipc', u'pyasn1', u'Babel>=1.3
', u'iso8601>=0.1.9', u'jsonschema>=2.0.0,<3.0.0', u'python-cinderclient>=1.1.0'
, u'python-neutronclient>=2.3.6,<3', u'python-glanceclient>=0.14.0', u'six>=1.7.
0', u'stevedore>=1.1.0  # Apache-2.0', u'websockify>=0.6.0,<0.7', u'wsgiref>=0.1
.2', u'oslo.concurrency>=0.1.0  # Apache-2.0', u'oslo.config>=1.4.0  # Apache-2.
0', u'oslo.serialization>=1.0.0               # Apache-2.0', u'oslo.utils>=1.0.0
                       # Apache-2.0', u'oslo.db>=1.0.0  # Apache-2.0', u'oslo.ro
otwrap>=1.3.0', u'pycadf>=0.6.0', u'oslo.messaging>=1.4.0', u'oslo.i18n>=1.0.0
# Apache-2.0', u'lockfile>=0.8', u'simplejson>=2.2.0', u'rfc3986>=0.2.0  # Apach
e-2.0', u'oslo.vmware>=0.6.0                      # Apache-2.0', u'oslo.middlewa
re>=0.1.0                  # Apache-2.0'] returned 1


More information about the Openstack mailing list