I am looking for a good password for my company. I wanted to test the Vaultier, but it works as expected. Neither with Docker, nor with other platforms. It is always a mistake if its Docker I get this output. I'm not a python specialist, but installing pip install --upgrade made the installation just skip the whole application.
i followed these guides https://www.vaultier.org/install/
sudo docker run -t -i --name vaultier -p 80:8088 rclick/vaultier:latest -e "VAULTIER_DOMAIN=vaultier.bla.com" Error: invalid value for -e 'VAULTIER_DOMAIN=vaultier.bla.com': bad logging level name 'VAULTIER_DOMAIN=vaultier.bla.com' For help, use /usr/bin/supervisord -h
Running Docker without this value yields (400 Bad Request)
Using Ubuntu:
Traceback (most recent call last): File "/opt/vaultier/venv/bin/vaultier", line 5, in <module> from pkg_resources import load_entry_point File "/opt/vaultier/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2720, in <module> parse_requirements(__requires__), Environment() File "/opt/vaultier/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 592, in resolve raise VersionConflict(dist,req)
Using Debian:
Traceback (most recent call last): File "/opt/vaultier/venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 295, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/pip/req.py", line 1436, in install requirement.install(install_options, global_options, *args, **kwargs) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/pip/req.py", line 707, in install cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/pip/util.py", line 716, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command /opt/vaultier/venv/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-08foqW/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
Any ideas on how to avoid this, or fix it?
UPDATE
after solving the "six" problem, I got a new error when running vaultier setup
File "/opt/vaultier/venv/bin/vaultier", line 9, in <module> load_entry_point('Vaultier==0.7.5', 'console_scripts', 'vaultier')() File "/opt/vaultier/venv/local/lib/python2.7/site-packages/vaultier/vaultier/runner.py", line 231, in main settings_envvar='VAULTIER_CONF' File "/opt/vaultier/venv/local/lib/python2.7/site-packages/logan/runner.py", line 169, in run_app management.execute_from_command_line([runner_name, command] + command_args) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, **options.__dict__) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute output = self.handle(*args, **options) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/vaultier/vaultier/management/commands/setup.py", line 22, in handle management.call_command('syncdb') File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 159, in call_command return klass.execute(*args, **defaults) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute output = self.handle(*args, **options) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle return self.handle_noargs(**options) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 68, in handle_noargs migrations = migration.Migrations(app_label) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/south/migration/base.py", line 64, in __call__ self.instances[app_label] = super(MigrationsMetaclass, self).__call__(app_label_to_app_module(app_label), **kwds) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/south/migration/base.py", line 90, in __init__ self.set_application(application, force_creation, verbose_creation) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/south/migration/base.py", line 154, in set_application module = importlib.import_module(self.migrations_module()) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module __import__(name) File "/opt/vaultier/venv/local/lib/python2.7/site-packages/kombu/transport/django/migrations/__init__.py", line 16, in <module> raise ImproperlyConfigured(SOUTH_ERROR_MESSAGE) django.core.exceptions.ImproperlyConfigured: For South support, customize the SOUTH_MIGRATION_MODULES setting to point to the correct migrations module: SOUTH_MIGRATION_MODULES = { 'kombu_transport_django': 'kombu.transport.django.south_migrations', }
UPDATE2 -FIX
I could not find any solution on the Internet, so I tried a different version of the south and saw there ... it works. :)
>>> DB is initialized, you can now try to run Vaultier using 'vaultier runserver' (venv) root@Vaultier :/opt/vaultier
In the .txt requirements file from vaultier or setup.py ... it doesn't matter which one you use. just set "South == 1.0.2" Don't forget to set "Six == 1.9"
Good luck