Ask Your Question

jmunsch's profile - activity

2016-05-25 21:38:28 -0500 received badge  Nice Answer (source)
2015-01-16 01:40:18 -0500 received badge  Famous Question (source)
2015-01-12 13:46:35 -0500 received badge  Student (source)
2015-01-12 13:46:26 -0500 received badge  Self-Learner (source)
2015-01-12 13:46:26 -0500 received badge  Teacher (source)
2015-01-12 02:30:40 -0500 received badge  Notable Question (source)
2015-01-11 18:18:39 -0500 answered a question PBR : Exception "Versioning for this project requires either an sdist tarball, or access to an upstream git repository.

Since django was serving the page properly in the first place, I should have noticed this as a sign that everything was configured correctly except for where django was residing for the install.

Based on the default install instructions and this quickstart http://docs.openstack.org/developer/horizon/quickstart.html (http://docs.openstack.org/developer/h...) I had neglected to copy the local_settings file:

cd /opt/stack/horizon
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py

It was a hard start, but looks shiny and awesome, and I am very excited.

2015-01-11 17:24:13 -0500 received badge  Popular Question (source)
2015-01-11 16:01:28 -0500 commented answer PBR : Exception "Versioning for this project requires either an sdist tarball, or access to an upstream git repository.

thanks for the response. So would it be an issue with venv? Because when I python -c "import xstatic.main" it imports just fine?

2015-01-11 13:01:36 -0500 received badge  Editor (source)
2015-01-11 12:43:00 -0500 received badge  Autobiographer
2015-01-11 12:37:52 -0500 asked a question PBR : Exception "Versioning for this project requires either an sdist tarball, or access to an upstream git repository.

Trying to install openstack on Ubuntu 14.10

My initial thought was that openstack-dashboard wasn't installed properly, which led me to belive that horizon wasn't properly installed, which led me to pbr.

The only related question that I could find: https://ask.openstack.org/en/question/47118/issue-with-nova-installation-in-devstack/ (https://ask.openstack.org/en/question...)

#Tried:

What I have tried:

  • http://docs.openstack.org/developer/horizon/quickstart.html (http://docs.openstack.org/developer/h...)
  • installing horizon from git repo
  • sudo apt-get install openstack-dashboard
  • updating git from the git repo ( so from 2.1.0 to 2.2.0)
  • dropping openstack-dashboard django folders in every place that I could think of
  • making sure that pip install xstatic
  • which python and the above steps as well
  • still working on DJANGO_SETTINGS_MODULE to see where it gets set? See: https://github.com/openstack/horizon/blob/master/openstack_dashboard/wsgi/django.wsgi#L7-L10 (here)
  • a2enmod wsgi
  • sudo pip install -U pbr As seen: https://github.com/rackspace/pyrax/issues/450 (here)
  • Installing pbr from git repo.
  • Searching launchpad for any reference to the error: "Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?"
  • https://bugs.launchpad.net/pbr/+bug/1369179 (https://bugs.launchpad.net/pbr/+bug/1...)
  • https://bugs.launchpad.net/pbr/+bug/1374677 (https://bugs.launchpad.net/pbr/+bug/1...)
  • https://bugs.launchpad.net/pbr/+bug/1232868 (https://bugs.launchpad.net/pbr/+bug/1...)
  • https://bugs.launchpad.net/pbr/+bug/1379579 (https://bugs.launchpad.net/pbr/+bug/1...)

Troubleshooting:

After running FORCE=yes ./stack.sh I receive the following traceback:

Traceback (most recent call last):
  File "manage.py", line 25, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command
    commands = get_commands()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 107, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named xstatic.main
dpkg: error processing package openstack-dashboard (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openstack-dashboard
E: Sub-process /usr/bin/dpkg returned an error code (1)

Also my version info:

bob@bob-NE722:~/devstack$ pip show horizon
---
Name: horizon
Version: 2015.1.dev95
Location: /opt/stack/horizon

bob@bob-NE722:~/devstack$ lsb_release -a
No ...
(more)
2015-01-11 03:45:02 -0500 commented answer TryStack without Facebook

+1 on alternatives. i left facebook years ago, and don't plan on returning. Although I made an exception here, since open stack looks really great, but then I was like no, no i won't. I guess I will just have to see how smoothly the install goes.

2015-01-11 02:40:55 -0500 received badge  Supporter (source)