Ask Your Question

gutschu's profile - activity

2014-04-26 07:09:51 -0500 received badge  Famous Question (source)
2014-04-07 01:05:05 -0500 received badge  Famous Question (source)
2013-09-14 22:00:57 -0500 received badge  Notable Question (source)
2013-09-06 21:40:59 -0500 received badge  Popular Question (source)
2013-09-06 17:19:42 -0500 received badge  Nice Question (source)
2013-09-06 11:06:31 -0500 received badge  Student (source)
2013-09-06 07:16:26 -0500 asked a question No root disk found when installing on a new instance, what logs do I need to look at?

When I launch a new instance and want do install a operating system there's always an error because no disk is found. Where can I search for error logs? I can't find any errors in /var/log/nova and var/log/cinder

2013-09-05 01:57:38 -0500 commented answer Quantum needed?

reinstalled dashboard and evrything is ok now. Thank you

2013-09-05 01:57:15 -0500 received badge  Notable Question (source)
2013-09-04 14:19:33 -0500 received badge  Popular Question (source)
2013-09-04 12:35:53 -0500 commented answer Quantum needed?

Thank you for your answer! I allready did remove network service with keystone service-remove <serviceid> keystone endpoint-remove <endpointid> But network is still available in dashboard. Is there another service entry i need to remove?

2013-09-04 10:48:58 -0500 asked a question Quantum needed?

Is Quantum needed for a test enviroment, would everything work with nova-network?

Is it possible to disable the Dashboard Network tab to avoid the error?

Thank you

2013-09-04 01:00:36 -0500 received badge  Enthusiast
2013-09-03 05:02:10 -0500 received badge  Scholar (source)
2013-09-03 05:02:09 -0500 commented answer can't login to dashboard: An error occurred authenticating. Please try again later.

that's it! Thank,you!

2013-09-03 03:17:57 -0500 commented question can't login to dashboard: An error occurred authenticating. Please try again later.

I updatet my question

2013-09-03 02:37:21 -0500 answered a question can't login to dashboard: An error occurred authenticating. Please try again later.

Unfortunatly I didn't hear anything. Last try to ask for help:-)

2013-09-03 01:38:58 -0500 received badge  Famous Question (source)
2013-08-29 03:22:16 -0500 received badge  Notable Question (source)
2013-08-29 01:56:50 -0500 received badge  Editor (source)
2013-08-29 01:54:31 -0500 answered a question can't login to dashboard: An error occurred authenticating. Please try again later.

Here is some additional nfo:

Keystone log is attached, because its pretty large, but i can't find any errors.

Config in in /etc/openstack-dashoboard/local_settings

import os

from django.utils.translation import ugettext_lazy as _

from openstack_dashboard import exceptions

DEBUG = False
TEMPLATE_DEBUG = DEBUG

HORIZON_CONFIG = {
    'dashboards': ('project', 'admin', 'settings',),
    'default_dashboard': 'project',
    'user_home': 'openstack_dashboard.views.get_user_home',
    'ajax_queue_limit': 10,
    'auto_fade_alerts': {
        'delay': 3000,
        'fade_duration': 1500,
        'types': ['alert-success', 'alert-info']
    },
    'help_url': "http://docs.openstack.org",
    'exceptions': {'recoverable': exceptions.RECOVERABLE,
                   'not_found': exceptions.NOT_FOUND,
                   'unauthorized': exceptions.UNAUTHORIZED},
}


LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
CACHES = {
    'default': {
        'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
    }
}


OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"

OPENSTACK_KEYSTONE_BACKEND = {
    'name': 'native',
    'can_edit_user': True,
    'can_edit_project': True
}

OPENSTACK_HYPERVISOR_FEATURES = {
    'can_set_mount_point': False,

    'can_encrypt_volumes': False
}

OPENSTACK_QUANTUM_NETWORK = {
    'enable_lb': False
}

API_RESULT_LIMIT = 1000
API_RESULT_PAGE_SIZE = 20

TIME_ZONE = "UTC"

LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'handlers': {
        'null': {
            'level': 'DEBUG',
            'class': 'django.utils.log.NullHandler',
        },
        'console': {
            # Set the level to "DEBUG" for verbose output logging.
            'level': 'INFO',
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        # Logging from django.db.backends is VERY verbose, send to null
        # by default.
        'django.db.backends': {
            'handlers': ['null'],
            'propagate': False,
        },
        'requests': {
            'handlers': ['null'],
            'propagate': False,
        },
        'horizon': {
            'handlers': ['console'],
            'propagate': False,
        },
        'openstack_dashboard': {
            'handlers': ['console'],
            'propagate': False,
        },
        'novaclient': {
            'handlers': ['console'],
            'propagate': False,
        },
        'keystoneclient': {
            'handlers': ['console'],
            'propagate': False,
        },
        'glanceclient': {
            'handlers': ['console'],
            'propagate': False,
        },
        'nose.plugins.manager': {
            'handlers': ['console'],
            'propagate': False,
        }
    }
}

Is there an other config file to point to the keystone server then local_settings? an the folowing options?

OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"

openstack-status:

 [root@OPEN-SRV-G-HOR10 ~]# openstack-status
== Nova services ==
openstack-nova-api:           active
openstack-nova-cert:          active
openstack-nova-compute:       dead (disabled on boot)
openstack-nova-network:       dead (disabled on boot)
openstack-nova-scheduler:     active
openstack-nova-volume:        dead (disabled on boot)
openstack-nova-conductor:     active
== Keystone service ==
openstack-keystone:           active
== Horizon service ==
openstack-dashboard:          active
== Support services ==
mysqld:                       active
httpd:                        active
qpidd:                        active
memcached:                    active
== Keystone users ==
+----------------------------------+---------+---------+--------------------+
|                id                |   name  | enabled |       email        |
+----------------------------------+---------+---------+--------------------+
| 3853d51ac9224f5688a20c330fdf860b |  admin  |   True  |  admin@domain.com  |
| 5f0c3317582348b294f9347aedb86150 |  cinder |   True  | cinder@domain.com  |
| 7065a77b89384b3a88a4754abe63f1da |   demo  |   True  |  demo@domain.com   |
| 9facb1f9fab64d388227f15d22cd5681 |  glance |   True  | glance@domain.com  |
| b9be2045f07d48068d61c67ed83ec8d1 |   nova  |   True  |  nova@domain.com   |
| e90a185497f64dadab1c231dfe62f3dd | quantum |   True  | quantum@domain.com |
+----------------------------------+---------+---------+--------------------+
== Nova instance flavors ==
m1.medium: Memory: 4096MB, VCPUS: 2, Root: 40GB, Ephemeral: 0Gb, FlavorID: 3, Swap: 0MB, RXTX Factor: 1.0, public, ExtraSpecs {}
m1.large: Memory: 8192MB, VCPUS: 4, Root: 80GB, Ephemeral: 0Gb, FlavorID: 4, Swap: 0MB, RXTX Factor: 1.0, public, ExtraSpecs {}
m1.tiny: Memory: 512MB, VCPUS: 1, Root: 0GB, Ephemeral: 0Gb, FlavorID: 1, Swap: 0MB, RXTX Factor: 1.0, public, ExtraSpecs {}
m1.xlarge: Memory: 16384MB, VCPUS: 8, Root: 160GB, Ephemeral: 0Gb, FlavorID: 5, Swap: 0MB, RXTX Factor: 1.0, public, ExtraSpecs {}
m1.small: Memory: 2048MB, VCPUS: 1, Root: 20GB, Ephemeral: 0Gb, FlavorID: 2, Swap: 0MB, RXTX Factor: 1.0, public, ExtraSpecs {}
== Nova instances ==

[root@OPEN-SRV-G-HOR10 ~]#
2013-08-29 01:04:29 -0500 received badge  Popular Question (source)
2013-08-28 10:13:37 -0500 asked a question can't login to dashboard: An error occurred authenticating. Please try again later.

Im running OpenStack Grizzly (identity, compute (cloud controller) and horizon) on a single server with Centos 6.4. Message system is QPID.

When im using keystone client evrything works great. As example:

[root@OPEN-SRV-G-HOR10 ~]# keystone --os-username admin --os-password=DipRoot --os-tenant-name admin --os-auth-url=http://10.10.10.135:35357/v2.0 user-list
+----------------------------------+---------+---------+--------------------+
|                id                |   name  | enabled |       email        |
+----------------------------------+---------+---------+--------------------+
| 3853d51ac9224f5688a20c330fdf860b |  admin  |   True  |  admin@domain.com  |
| 5f0c3317582348b294f9347aedb86150 |  cinder |   True  | cinder@domain.com  |
| 7065a77b89384b3a88a4754abe63f1da |   demo  |   True  |  demo@domain.com   |
| 9facb1f9fab64d388227f15d22cd5681 |  glance |   True  | glance@domain.com  |
| b9be2045f07d48068d61c67ed83ec8d1 |   nova  |   True  |  nova@domain.com   |
| e90a185497f64dadab1c231dfe62f3dd | quantum |   True  | quantum@domain.com |
+----------------------------------+---------+---------+--------------------+

or

keystone --os-username admin --os-password=DipRoot --os-tenant-name admin --os-auth-url=http://10.10.10.135:35357/v2.0 token-get  

+-----------+----------------------------------+
|  Property |              Value               |
+-----------+----------------------------------+
|  expires  |       2013-09-04T08:14:00Z       |
|     id    | 5a84eec0008a45f6b663e9f7eff63462 |
| tenant_id | 3859895950b24382a77c519032777ca7 |
|  user_id  | 3853d51ac9224f5688a20c330fdf860b |
+-----------+----------------------------------+

When I try to login trough dashboard, following error occurs: An error occurred authenticating. Please try again later.

Here is some additional nfo:

in /var/log/httpd/error_log i found folowing enties:

DEBUG:openstack_auth.backend:Beginning user authentication for user "admin".
[Tue Sep 03 02:28:27 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.10.10.135
[Tue Sep 03 02:28:27 2013] [error] DeprecationWarning: BaseException.message has been deprecated as of Python 2.6DEBUG:openstack_auth.backend:Authorization Failed: [Errno 13] Permission denied

Config in in /etc/openstack-dashoboard/local_settings

import os

from django.utils.translation import ugettext_lazy as _

from openstack_dashboard import exceptions

DEBUG = False
TEMPLATE_DEBUG = DEBUG

HORIZON_CONFIG = {
    'dashboards': ('project', 'admin', 'settings',),
    'default_dashboard': 'project',
    'user_home': 'openstack_dashboard.views.get_user_home',
    'ajax_queue_limit': 10,
    'auto_fade_alerts': {
        'delay': 3000,
        'fade_duration': 1500,
        'types': ['alert-success', 'alert-info']
    },
    'help_url': "http://docs.openstack.org",
    'exceptions': {'recoverable': exceptions.RECOVERABLE,
                   'not_found': exceptions.NOT_FOUND,
                   'unauthorized': exceptions.UNAUTHORIZED},
}


LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
CACHES = {
    'default': {
        'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
    }
}


OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"

OPENSTACK_KEYSTONE_BACKEND = {
    'name': 'native',
    'can_edit_user': True,
    'can_edit_project': True
}

OPENSTACK_HYPERVISOR_FEATURES = {
    'can_set_mount_point': False,

    'can_encrypt_volumes': False
}

OPENSTACK_QUANTUM_NETWORK = {
    'enable_lb': False
}

API_RESULT_LIMIT = 1000
API_RESULT_PAGE_SIZE = 20

TIME_ZONE = "UTC"

LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'handlers': {
        'null': {
            'level': 'DEBUG',
            'class': 'django.utils.log.NullHandler',
        },
        'console': {
            # Set the level to "DEBUG" for verbose output logging.
            'level': 'INFO',
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        # Logging from django.db.backends is VERY verbose, send to null
        # by default.
        'django.db.backends': {
            'handlers': ['null'],
            'propagate': False,
        },
        'requests': {
            'handlers': ['null'],
            'propagate': False,
        },
        'horizon': {
            'handlers': ['console'],
            'propagate': False,
        },
        'openstack_dashboard': {
            'handlers': ['console'],
            'propagate': False,
        },
        'novaclient': {
            'handlers': ['console'],
            'propagate': False,
        },
        'keystoneclient': {
            'handlers': ['console'],
            'propagate': False,
        },
        'glanceclient': {
            'handlers': ['console'],
            'propagate': False,
        },
        'nose.plugins.manager': {
            'handlers': ['console'],
            'propagate': False,
        }
    }
}

Is there an other config file to point to the keystone server then local_settings? an the folowing options?

OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"

openstack-status:

 [root@OPEN-SRV-G-HOR10 ~]# openstack-status
== Nova services ==
openstack-nova-api:           active
openstack-nova-cert:          active
openstack-nova-compute:       dead (disabled on boot)
openstack-nova-network:       dead (disabled on boot)
openstack-nova-scheduler:     active
openstack-nova-volume:        dead (disabled on boot)
openstack-nova-conductor:     active
== Keystone service ==
openstack-keystone:           active
== Horizon service ==
openstack-dashboard:          active
== Support services ==
mysqld:                       active
httpd:                        active
qpidd:                        active
memcached:                    active
== Keystone users ==
+----------------------------------+---------+---------+--------------------+
|                id                |   name  | enabled |       email        |
+----------------------------------+---------+---------+--------------------+
| 3853d51ac9224f5688a20c330fdf860b |  admin  |   True  |  admin@domain.com  |
| 5f0c3317582348b294f9347aedb86150 ...
(more)