Re: No such file or directory: '/home/mturk/core.pub'


On 06/18/2015 03:12 PM, Lengyue Chen wrote:
Thank you Kacper, I got those files ready. But when I ran
startup_ndslabs.py, it gave me this error:

  File "startup_ndslabs.py", line 6, in <module>

     from novaclient.v1_1 import client
   File "/Users/LY/novaclient/__init__.py", line 18, in <module>
     __version__ = pbr.version.VersionInfo('python-novaclient').version_string()
   File "/Users/LY/pbr/version.py", line 457, in version_string
     return self.semantic_version().brief_string()
   File "/Users/LY/pbr/version.py", line 452, in semantic_version
     self._semantic = self._get_version_from_pkg_resources()
   File "/Users/LY/pbr/version.py", line 439, in _get_version_from_pkg_resources
     result_string = packaging.get_version(self.package)
   File "/Users/LY/pbr/packaging.py", line 576, in get_version
     raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist
tarball, or access to an upstream git repository. Are you sure that
git is installed?


It seems like something wrong with the novaclient module but I tried uninstalled and installed python-novaclient module using pip several times and it does not work..

Hi,
don't install novaclient yourself. There's one already properly configured at vlad.


[kacperk@vlad-mgmt ~]$ python -c 'import novaclient; print novaclient.__file__'
/usr/lib/python2.7/site-packages/novaclient/__init__.pyc



Also, when I source NDS-openrc.sh, after typing my password it just
returned with no message. Is it normal?

If in doubt look inside ;-) This script export bunch of vars, nothing else. Yeah, no output is a good thing.


Cheers,
Kacper

On Wed, Jun 17, 2015 at 4:00 PM, Kacper Kowalik <xarthisius.kk@xxxxxxxxx>
wrote:

On 06/17/2015 03:56 PM, Kacper Kowalik wrote:
On 06/17/2015 03:39 PM, Lengyue Chen wrote:
Hi all

I am trying to run startup_ndslabs.py to see if it is still working and
I
need the ssh-key file core.pub.Thanks

You need to generate it (ssh-keygen), if you don't have one already.

It's easier if you use the same pair that you have registered in OpenStack. Please see detailed instruction here:


http://labsportal.nationaldataservice.org/nds-labs-quick-start-guide/#Starting_up_the_NDS_Labs_Cluster

-Kacper










Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index