i get the dashboard's source from github, but can not successfully run it,
I try to install openstack-
1, how to configure local_setting.py? How to understand OPENSTACK_
2, tools / with_venv.sh dashboard / manage.py syncdb error: no fixtures fonud.
3, no running before setting the user name password, but access http://
Here are my steps:
I use the operating system is ubuntu10.04.
According to this description of the page succeeded 20 days ago:
http://
But now, $ bzr branch lp: openstack-dashboard trunk, does not get the source code as before.
Then,
My steps are as follows:
$ Git clone https:/
$ Python tools / install_venv.py
Configuration local_settings.py, local_setting.py content on the back. I tried two different configurations, without success
$ Tools / with_venv.sh dashboard / manage.py syncdb
This step is done, and did not let me enter a user name and password.
This step operation error is as follows:
Installing indexes ...
DEBUG: django.db.backends: (0.007) CREATE INDEX "django_
DEBUG: django.db.backends: (0.004) CREATE INDEX "django_
DEBUG: django.db.backends: (0.005) CREATE INDEX "django_
DEBUG: django.db.backends: (0.004) CREATE INDEX "django_
DEBUG: django.db.backends: (0.007) CREATE INDEX "django_
DEBUG: django.db.backends: (0.005) CREATE INDEX "django_
DEBUG: django.db.backends: (0.004) CREATE INDEX "django_
No fixtures found.
$ Tools / with_venv.sh dashboard / manage.py runserver 192.168.1.252:8000
Visit the page for a user name and password.
With =======
First configuration:
local_setting.py as follows:
import os
DEBUG = True
TEMPLATE_DEBUG = DEBUG
PROD = False
USE_SSL = False
LOCAL_PATH = os.path.dirname (os.path.abspath (file))
DATABASES = {
'Default': {
'ENGINE': 'django.
'NAME': os.path.join (LOCAL_PATH, 'dashboard_
}
}
CACHE_BACKEND = 'dummy: / /'
Configure these for your outgoing email host
EMAIL_HOST = 'smtp.my-
EMAIL_PORT = 25
EMAIL_HOST_USER = 'djangomail'
EMAIL_HOST_PASSWORD = 'top-secret!'
NOVA_DEFAULT_
NOVA_DEFAULT_REGION = 'nova'
NOVA_ACCESS_KEY = '4 fd029bf-
NOVA_SECRET_KEY = '8783ba53-
NOVA_ADMIN_USER = 'dub'
NOVA_PROJECT = 'dubproject'
Configure these for your outgoing email host
EMAIL_HOST = 'smtp.my-
EMAIL_PORT = 25
# EMAIL_HOST_USER = 'djangomail'
# EMAIL_HOST_PASSWORD = 'top-secret!'
Second configuration:
import os
DEBUG = True
TEMPLATE_DEBUG = DEBUG
PROD = False
USE_SSL = False
LOCAL_PATH = os.path.dirname (os.path.abspath (file))
DATABASES = {
'Default': {
'ENGINE': 'django.
'NAME': os.path.join (LOCAL_PATH, 'dashboard_
}
}
CACHE_BACKEND = 'dummy: / /'
Configure these for your outgoing email host
EMAIL_HOST = 'smtp.my-
EMAIL_PORT = 25
EMAIL_HOST_USER = 'djangomail'
EMAIL_HOST_PASSWORD = 'top-secret!'
OPENSTACK_
OPENSTACK_
If you have external monitoring links
EXTERNAL_MONITORING = [
['Nagios', 'http://
['Ganglia', 'http://
#]
If you do not have external monitoring links
EXTERNAL_MONITORING = []
Uncomment the following segment to silence most logging
Django.db and boto DEBUG logging is extremely verbose.
LOGGING = {
'Version': 1,
# Set to True will disable all logging except that specified, unless
# Nothing is specified except that django.db.backends will still log,
# Even when set to True, so disable explicitly
'Disable_
'Handlers': {
'Null': {
'Level': 'DEBUG',
'Class': 'django.
#}
'Console': {
'Level': 'DEBUG',
'Class': 'logging.
#}
#}
'Loggers': {
# Comment or Uncomment these to turn on / off logging output
'Django.
'Handlers': ['null'],
'Propagate': False,
#}
'Boto': {
'Handlers': ['null'],
'Propagate': False,
#}
'Django_openstack': {
'Handlers': ['null'],
'Propagate': False,
#}
#}
#}
TOTAL_CLOUD_RAM_GB = 10
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- zhangjunfeng
- Solved:
- Last query:
- Last reply: