openstack kilo版本的dashboard信息显示不全怎么办?

点击 项目,管理员时,不显示内容,只提示已完毕,但网页有错误图片

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
怎样去掉openstack dashboard登陆界面的default域

如题 怎么去掉或者更改 openstack dashboard登陆界面的 default域

openstack dashboard上显示的磁盘空间有误

dashboard上虚拟机管理器显示已使用空间很多,而实际上并没有用那么多。大神帮忙看下是哪里没有同步么? ![图片说明](https://img-ask.csdn.net/upload/201508/11/1439253083_496468.jpg)

openstack安装dashboard后访问horizon出错

如题,访问controller/horizon出错500:internal server error apache/error.log出错信息如下: [Sun Nov 27 03:35:40.350220 2016] [mpm_event:notice] [pid 3313:tid 140083000240000] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations [Sun Nov 27 03:35:40.350267 2016] [core:notice] [pid 3313:tid 140083000240000] AH00094: Command line: '/usr/sbin/apache2' [Sun Nov 27 03:43:46.458437 2016] [mpm_event:notice] [pid 3313:tid 140083000240000] AH00491: caught SIGTERM, shutting down [Sun Nov 27 05:05:03.495445 2016] [mpm_event:notice] [pid 3238:tid 139659907987328] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations [Sun Nov 27 05:05:03.555512 2016] [core:notice] [pid 3238:tid 139659907987328] AH00094: Command line: '/usr/sbin/apache2' [Sun Nov 27 05:56:53.084779 2016] [core:error] [pid 3255:tid 139659661248256] [client 192.168.157.1:6059] End of script output before headers: django.wsgi [Sun Nov 27 06:11:29.776677 2016] [mpm_event:notice] [pid 3238:tid 139659907987328] AH00493: SIGUSR1 received. Doing graceful restart [Sun Nov 27 06:11:40.334294 2016] [mpm_event:notice] [pid 3238:tid 139659907987328] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations [Sun Nov 27 06:11:40.334432 2016] [core:notice] [pid 3238:tid 139659907987328] AH00094: Command line: '/usr/sbin/apache2' [Sun Nov 27 06:17:21.963054 2016] [core:error] [pid 5214:tid 139659810662144] [client 192.168.157.1:6308] End of script output before headers: django.wsgi [Sun Nov 27 06:47:06.036727 2016] [mpm_event:notice] [pid 3238:tid 139659907987328] AH00493: SIGUSR1 received. Doing graceful restart [Sun Nov 27 06:47:11.888344 2016] [mpm_event:notice] [pid 3238:tid 139659907987328] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations [Sun Nov 27 06:47:11.888397 2016] [core:notice] [pid 3238:tid 139659907987328] AH00094: Command line: '/usr/sbin/apache2' [Sun Nov 27 06:47:39.162800 2016] [mpm_event:notice] [pid 3238:tid 139659907987328] AH00493: SIGUSR1 received. Doing graceful restart [Sun Nov 27 06:47:42.577268 2016] [core:error] [pid 5842:tid 139659703211776] [client 192.168.157.1:7524] End of script output before headers: django.wsgi [Sun Nov 27 06:47:42.636704 2016] [mpm_event:notice] [pid 3238:tid 139659907987328] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations [Sun Nov 27 06:47:42.636744 2016] [core:notice] [pid 3238:tid 139659907987328] AH00094: Command line: '/usr/sbin/apache2' [Sun Nov 27 06:53:07.710714 2016] [core:error] [pid 6066:tid 139659810662144] [client 192.168.157.1:7537] End of script output before headers: django.wsgi /etc/openstack-dashboard/local_settings.py部分如下:(按照官网配置) import os from django.utils.translation import ugettext_lazy as _ from horizon.utils import secret_key from openstack_dashboard import exceptions from openstack_dashboard.settings import HORIZON_CONFIG DEBUG = False TEMPLATE_DEBUG = DEBUG WEBROOT = '/' OPENSTACK_API_VERSIONS = { "identity": 3, "image": 2, "volume": 2, } OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default" LOCAL_PATH = os.path.dirname(os.path.abspath(__file__)) SECRET_KEY = secret_key.generate_or_read_from_file('/var/lib/openstack-dashboard/secret_key') SESSION_ENGINE = 'django.contrib.sessions.backends.cache' CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '192.168.157.11:11211', } } EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' OPENSTACK_HOST = "controller" OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user" IMAGE_RESERVED_CUSTOM_PROPERTIES = [] API_RESULT_LIMIT = 1000 API_RESULT_PAGE_SIZE = 20 SWIFT_FILE_TRANSFER_CHUNK_SIZE = 512 * 1024 DROPDOWN_MAX_ITEMS = 30 TIME_ZONE = "UTC" ALLOWED_HOSTS = ['*', ]

openstack dashboard创建实例后不能启动,求大神看一眼。

openstack dashboard创建实例后不能启动,一直显示创建和电源无状态

centos下 openstack yum无法安装dashboard

报错 Error: Package: python-django-openstack-auth-1.1.2-1.el6.noarch (openstack-havana) Requires: Django14 Error: Package: python-django-appconf-0.5-3.el6.noarch (openstack-havana) Requires: Django14 Error: Package: python-django-horizon-2013.2.3-1.el6.noarch (openstack-havana) Requires: Django14 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

openstack 登陆不上dashboard 500

systemctl restart httpd memcached重启正常无报错,但是在网页访问 http://192.168.10.11/dashboard就报错了!! 网页显示内容: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. **error_log:** [Tue Apr 16 12:12:21.668699 2019] [suexec:notice] [pid 17748] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Apr 16 12:12:21.683331 2019] [auth_digest:notice] [pid 17748] AH01757: generating secret for digest authentication ... [Tue Apr 16 12:12:21.684405 2019] [lbmethod_heartbeat:notice] [pid 17748] AH02282: No slotmem from mod_heartmonitor [Tue Apr 16 12:12:21.692264 2019] [mpm_prefork:notice] [pid 17748] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations [Tue Apr 16 12:12:21.692312 2019] [core:notice] [pid 17748] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Tue Apr 16 12:12:44.497412 2019] [:error] [pid 17753] WARNING:root:Use of this 'djano.wsgi' file has been deprecated since the Rocky release in favor of 'wsgi.py' in the 'openstack_dashboard' module. This file is a legacy naming from before Django 1.4 and an importable 'wsgi.py' is now the default. This file will be removed in the T release cycle. [Tue Apr 16 12:12:45.992718 2019] [:error] [pid 17753] [remote 192.168.10.1:68] mod_wsgi (pid=17753): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module. [Tue Apr 16 12:12:45.992801 2019] [:error] [pid 17753] [remote 192.168.10.1:68] mod_wsgi (pid=17753): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Tue Apr 16 12:12:45.992834 2019] [:error] [pid 17753] [remote 192.168.10.1:68] Traceback (most recent call last): [Tue Apr 16 12:12:45.992852 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 40, in <module> [Tue Apr 16 12:12:45.992936 2019] [:error] [pid 17753] [remote 192.168.10.1:68] application = get_wsgi_application() [Tue Apr 16 12:12:45.992949 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Tue Apr 16 12:12:45.992985 2019] [:error] [pid 17753] [remote 192.168.10.1:68] django.setup(set_prefix=False) [Tue Apr 16 12:12:45.992994 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/__init__.py", line 22, in setup [Tue Apr 16 12:12:45.993032 2019] [:error] [pid 17753] [remote 192.168.10.1:68] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Apr 16 12:12:45.993042 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ [Tue Apr 16 12:12:45.993109 2019] [:error] [pid 17753] [remote 192.168.10.1:68] self._setup(name) [Tue Apr 16 12:12:45.993118 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup [Tue Apr 16 12:12:45.993131 2019] [:error] [pid 17753] [remote 192.168.10.1:68] self._wrapped = Settings(settings_module) [Tue Apr 16 12:12:45.993137 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ [Tue Apr 16 12:12:45.993146 2019] [:error] [pid 17753] [remote 192.168.10.1:68] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Apr 16 12:12:45.993154 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module [Tue Apr 16 12:12:45.993191 2019] [:error] [pid 17753] [remote 192.168.10.1:68] __import__(name) [Tue Apr 16 12:12:45.993199 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 460, in <module> [Tue Apr 16 12:12:45.993304 2019] [:error] [pid 17753] [remote 192.168.10.1:68] '.secret_key_store')) [Tue Apr 16 12:12:45.993313 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/horizon/utils/secret_key.py", line 70, in generate_or_read_from_file [Tue Apr 16 12:12:45.993380 2019] [:error] [pid 17753] [remote 192.168.10.1:68] key = read_from_file(key_file) [Tue Apr 16 12:12:45.993398 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/horizon/utils/secret_key.py", line 52, in read_from_file [Tue Apr 16 12:12:45.993413 2019] [:error] [pid 17753] [remote 192.168.10.1:68] with open(key_file, 'r') as f: [Tue Apr 16 12:12:45.993428 2019] [:error] [pid 17753] [remote 192.168.10.1:68] IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/openstack_dashboard/local/.secret_key_store' **acces_log:** 192.168.10.128 - - [16/Apr/2019:12:12:30 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/allocations HTTP/1.1" 200 54 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:38 +0800] "GET /resource_providers?in_tree=96408690-7cca-44ad-b187-13ee8fadbca6 HTTP/1.1" 200 807 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.1 - - [16/Apr/2019:12:12:43 +0800] "GET /dashboard HTTP/1.1" 500 527 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" 192.168.10.128 - - [16/Apr/2019:12:12:45 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:48 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/aggregates HTTP/1.1" 200 53 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:48 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/traits HTTP/1.1" 200 368 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:49 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:31 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/allocations HTTP/1.1" 200 54 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:31 +0800] "GET /resource_providers?in_tree=96408690-7cca-44ad-b187-13ee8fadbca6 HTTP/1.1" 200 807 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:31 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:32 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/aggregates HTTP/1.1" 200 53 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:32 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/traits HTTP/1.1" 200 368 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:32 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5"

openstack dashboard登陆错误

按照官网安装好后,登陆出现错误“如果你不确定使用哪种认证方式,请联系管理员。” ![图片说明](https://img-ask.csdn.net/upload/201610/20/1476953565_664207.png)

openstack-pike中dashboard启动实例上不了网

利用rdo的allinone方式部署了openstack-pike(只有allinone和provision-demo=n两个参数)。我的环境是双网卡,单节点,外网是admin创建的vxlan,目前登录dashboard和上网都用网卡1,网卡2绑定了br-ex。现在安全组能开的都开了,现象是host物理机和同网段机器能ping虚拟机floating ip,虚拟机能互ping虚拟机ip和floating ip,但是虚拟机无法ping到host和同网段其他机器,而且虚拟机ping不了互联网,浏览器没法上网。有什么办法吗?不知道哪里设错了?网上找了好多文章都解决不了,感觉应该没有那么麻烦,可能只是dashboard里面设错了,有没有人知道啊。

centos7.2 安装openstack-dashboard 报错

http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/common/python-django-1.8.14-1.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=centos-openstack-liberty clean metadata Trying other mirror.

openstack newton dashbaord 错误

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. log: Target WSGI script '/usr/share/openstack-dashboard/ openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.[Tue Apr 25 18:03:37.203741 2017] [:error] [pid 3712] [remote 10.0.0.1:188] mod_wsgi (pid=3712): Exception occurred processing WSGI script '/usr/sha re/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.[Tue Apr 25 18:03:37.203784 2017] [:error] [pid 3712] [remote 10.0.0.1:188] Traceback (most recent call last): [Tue Apr 25 18:03:37.203822 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.w sgi", line 14, in <module>[Tue Apr 25 18:03:37.204361 2017] [:error] [pid 3712] [remote 10.0.0.1:188] application = get_wsgi_application() [Tue Apr 25 18:03:37.204399 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application[Tue Apr 25 18:03:37.204449 2017] [:error] [pid 3712] [remote 10.0.0.1:188] django.setup() [Tue Apr 25 18:03:37.204473 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/django/__init__.py", line 17, i n setup[Tue Apr 25 18:03:37.204499 2017] [:error] [pid 3712] [remote 10.0.0.1:188] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Apr 25 18:03:37.204514 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__[Tue Apr 25 18:03:37.204539 2017] [:error] [pid 3712] [remote 10.0.0.1:188] self._setup(name) [Tue Apr 25 18:03:37.204573 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup[Tue Apr 25 18:03:37.204600 2017] [:error] [pid 3712] [remote 10.0.0.1:188] self._wrapped = Settings(settings_module) [Tue Apr 25 18:03:37.204618 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 92, in __init__[Tue Apr 25 18:03:37.204640 2017] [:error] [pid 3712] [remote 10.0.0.1:188] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Apr 25 18:03:37.204655 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_ module[Tue Apr 25 18:03:37.204678 2017] [:error] [pid 3712] [remote 10.0.0.1:188] __import__(name) [Tue Apr 25 18:03:37.204693 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../op enstack_dashboard/settings.py", line 419, in <module>[Tue Apr 25 18:03:37.204729 2017] [:error] [pid 3712] [remote 10.0.0.1:188] '.secret_key_store')) [Tue Apr 25 18:03:37.204756 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/horizon/utils/secret_key.py", l ine 74, in generate_or_read_from_file[Tue Apr 25 18:03:37.204800 2017] [:error] [pid 3712] [remote 10.0.0.1:188] with lock: [Tue Apr 25 18:03:37.204829 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", lin e 174, in __enter__[Tue Apr 25 18:03:37.204877 2017] [:error] [pid 3712] [remote 10.0.0.1:188] self.acquire() [Tue Apr 25 18:03:37.204906 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", lin e 151, in acquire[Tue Apr 25 18:03:37.205884 2017] [:error] [pid 3712] [remote 10.0.0.1:188] self._do_open() [Tue Apr 25 18:03:37.205913 2017] [:error] [pid 3712] [remote 10.0.0.1:188] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", lin e 123, in _do_open[Tue Apr 25 18:03:37.206513 2017] [:error] [pid 3712] [remote 10.0.0.1:188] self.lockfile = open(self.path, 'a') [Tue Apr 25 18:03:37.206615 2017] [:error] [pid 3712] [remote 10.0.0.1:188] IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/o penstack_dashboard/local/_usr_share_openstack-dashboard_openstack_dashboard_local_.secret_key_store.lock' ``` ```

安装openstack时能进登录页面,就是登录不进去,重装了几遍都这样

查看了错误日志显示的是 Dashboard with blug "developer" is not registerd,这个要怎么解决啊, 搭建了快大半个月了,这个问题一直没解决

安装OpenStack,服务器硬盘容量规划问题

关于OpenStack安装有一些问题: 1. 部署OpenStack,1 x Block Storage Node(Cinder)和 2 x Object Storage Node(Swift)是必须的吗? 1. 我看官方文档说这些Node是optional的,那么如果不提供这两个node,那么Cinder和Swift是安装在Controller Node中的吗?还是说压根就没有它们了?那么OpenStack是用什么东西替代它们呢? 1. Block Storage Node对物理设备有什么特别要求? 1. Object Storage Node对物理设备有什么特别要求? 1. 如果部署了Block Storage Node和Object Storage Node,那么应该怎样规划Controller Node和Computer Node的硬盘容量? 1. 如果没有Block Storage Node和Object Storage Node,那么应该怎样规划Controller Node和Computer Node的硬盘容量? 1. 欢迎分享一些你们遇到过的坑。

openstack netron公网配置

如何配置External network才能通? 我的环境是虚机直接使用物理机的网卡(桥接), 网关是家里路由的IP:192.168.0.1 虚机获得的IP是:192.168.0.160 (手动配置为静态IP,能访问外网,外网也能访问该虚机) 虚机上br-ex配置的DNS server是:8.8.8.8 配置external network的subnet如下, Name:publicsub ID:b80a130a-74d2-4411-93de-096e6cf9eba2 Network ID:4666d0d0-2375-4721-8418-a746773069c8 IP version:IPv4 CIDR:192.168.0.0/24 IP allocation pool: Start 192.168.0.161 - End 192.168.0.199 Gateway IP:192.168.0.1 DHCP Enable:No Additional routes:None DNS name server:None openstack中把各种配置好之后启动的instance实例无法运行。router和private net应该没有问题,从ip addr show 里面能看到打开的几个port的状态是UP的,感觉是因为直接使用家里路由器的IP做为网关,通过路由连接外网,因为路由是有密码的,所以不能自动分配floating IP 161-199给这个网来使用。但如果是真实的物理机应该也会遇到类似的问题,请教高手应该如何配置这个公网才能与外界联通?谢谢~

kolla安装单节点openstack rocky版本过程中报错。

kolla-ansible prechecks -i /openstack/kolla-deploy/all-in-one验证部署状态 ,在验证前期准备这一过程中,报了如下错误: ``` TASK [prechecks : Checking docker SDK version] ****************************************** fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/usr/bin/python", "-c", "import docker; print docker.__version__"], "delta": "0:00:00.456509", "end": "2020-03-03 11:00:50.188186", "failed_when_result": true, "rc": 0, "start": "2020-03-03 11:00:49.731677", "stderr": "", "stderr_lines": [], "stdout": "1.10.6", "stdout_lines": ["1.10.6"]} fatal: [allinone]: FAILED! => {"changed": false, "cmd": ["/usr/bin/python", "-c", "import docker; print docker.__version__"], "delta": "0:00:00.368353", "end": "2020-03-03 11:00:50.167966", "failed_when_result": true, "rc": 0, "start": "2020-03-03 11:00:49.799613", "stderr": "", "stderr_lines": [], "stdout": "1.10.6", "stdout_lines": ["1.10.6"]} ``` 一开始百度到的解决办法是,kolla版本与docker-python版本不兼容。于是我把docker-python版本需要升级到高版本的,但是升级了依旧是报这个错误。不知道是什么原因,太难了

使用REST API修改Openstack项目配额

<div class="post-text" itemprop="text"> <p>I am trying to add the limits for a newly created projet. I am using php for <a href="http://developer.openstack.org/api-ref-blockstorage-v2.html#os-limits-v2%22Openstack%20REST%20API%20V2%22" rel="nofollow noreferrer">Listing limits</a> of a given project. But I am not able to create limits for newly created project. I looked at this <a href="https://stackoverflow.com/questions/19396480/openstack-modify-all-projects-quotas%22Stack%20overflow%20question%22">Stakoverflow question</a>. Here they are mentioning to edit the nova.conf file for a project. But I do not have any idea how to create and assign new limits for a project.</p> <p>Also <a href="http://developer.openstack.org/api-ref-blockstorage-v2.html#os-quota-sets-v2%22here%22" rel="nofollow noreferrer">here</a> they are mentioning about quota for server. But I need managing quota for a project using openstck REST API.</p> <p>Please help.</p> <p>Thank you in advance.</p> </div>

openstack 云主机起不来。虚拟接口创建错误

这问题缠了我2天了,重做了好多次,刚开始以为是网络那里出错了。 可是再怎么细心还是出错,已经心灰意冷了。 我服务器当controller节点,自己的笔记本当compute节点,目前只是跟着文档 敲,然后从中出现的错误总结起来,然后解决。可这个问题具体是哪错,实在是不知道。虚拟接口创建失败。 求大神帮帮我。。。

openstack ssh登录远程实例

各位大神们,本人刚接触openstack,有好多问题还是不明白,请求各位大神们帮忙。在此谢谢各位了! 问题就是:现在有两台机器:ip分别为192.168.8.175、192.168.8.147,其中192.168.8.175是controller+compute节点,192.168.8.147是一个compute节点,分给虚拟机的ip网段是203.0.113.0/24.现在在这两个节点上都可以创建虚拟机,在dashboard也可以看到,也可以通过VNC控制台登录。但是在controller节点上通过ssh无法登录compute节点上虚拟机,但可以通过ssh登录controller节点上虚拟机,现在我想在controller节点上通过ssh登录compute节点上虚拟机该如何设置?从controller节点ssh登录compute上名为“compute_test_1”,ip为203.0.113.5的虚拟机,报错: ssh: connect to host 203.0.113.5 port 22: No route to host

openstack instance无法得到IP

openstack instance 无法得到IP,日志显示 Received DHCP NAK ,谁遇到过这种问题啊? 在horizon中可以看到分到了IP,系统日志中也显示分到了IP,但是实例得不到Ip。日志如下: 1.系统日志 Jun 05 11:50:46 openstack-icehouse dnsmasq-dhcp[25577]: DHCPDISCOVER(tape31caf30-ed) fa:16:3e:2e:0b:d6 Jun 05 11:50:46 openstack-icehouse dnsmasq-dhcp[25577]: DHCPOFFER(tape31caf30-ed) 10.5.1.212 fa:16:3e:2e:0b:d6 Jun 05 11:50:46 openstack-icehouse dnsmasq-dhcp[25577]: DHCPREQUEST(tape31caf30-ed) 10.5.1.212 fa:16:3e:2e:0b:d6 Jun 05 11:50:46 openstack-icehouse dnsmasq-dhcp[25577]: DHCPACK(tape31caf30-ed) 10.5.1.212 fa:16:3e:2e:0b:d6 host-10-5-1-212 Jun 05 11:50:49 openstack-icehouse dnsmasq-dhcp[25577]: DHCPDISCOVER(tape31caf30-ed) fa:16:3e:2e:0b:d6 Jun 05 11:50:49 openstack-icehouse dnsmasq-dhcp[25577]: DHCPOFFER(tape31caf30-ed) 10.5.1.212 fa:16:3e:2e:0b:d6 2.虚拟机console-log Starting network... udhcpc (v1.18.5) started Sending discover... Sending select for 10.5.1.212... Received DHCP NAK Sending discover... 网络架构是: neutron + ml2 + ovs

open stack dashboard访问实例提示:error response 404. ?

截图如下: ![图片说明](https://img-ask.csdn.net/upload/201904/22/1555924413_996134.png) ![图片说明](https://img-ask.csdn.net/upload/201904/22/1555924425_6018.png) ![图片说明](https://img-ask.csdn.net/upload/201904/22/1555924435_263582.png) 真的不知道怎么解决了.别的地方都完成了,结果实例访问不了. 我也没有积分可以悬赏,希望有人可以帮忙解决这个问题.

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Linux 会成为主流桌面操作系统吗?

整理 |屠敏出品 | CSDN(ID:CSDNnews)2020 年 1 月 14 日,微软正式停止了 Windows 7 系统的扩展支持,这意味着服役十年的 Windows 7,属于...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

学习总结之HTML5剑指前端(建议收藏,图文并茂)

前言学习《HTML5与CSS3权威指南》这本书很不错,学完之后我颇有感触,觉得web的世界开明了许多。这本书是需要有一定基础的web前端开发工程师。这本书主要学习HTML5和css3,看...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

新一代神器STM32CubeMonitor介绍、下载、安装和使用教程

关注、星标公众号,不错过精彩内容作者:黄工公众号:strongerHuang最近ST官网悄悄新上线了一款比较强大的工具:STM32CubeMonitor V1.0.0。经过我研究和使用之...

记一次腾讯面试,我挂在了最熟悉不过的队列上……

腾讯后台面试,面试官问:如何自己实现队列?

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

冒泡排序动画(基于python pygame实现)

本项目效果初始截图如下 动画见本人b站投稿:https://www.bilibili.com/video/av95491382 本项目对应github地址:https://github.com/BigShuang python版本:3.6,pygame版本:1.9.3。(python版本一致应该就没什么问题) 样例gif如下 ======================= 大爽歌作,mad

Redis核心原理与应用实践

Redis核心原理与应用实践 在很多场景下都会使用Redis,但是到了深层次的时候就了解的不是那么深刻,以至于在面试的时候经常会遇到卡壳的现象,学习知识要做到系统和深入,不要把Redis想象的过于复杂,和Mysql一样,是个读取数据的软件。 有一个理解是Redis是key value缓存服务器,更多的优点在于对value的操作更加丰富。 安装 yum install redis #yum安装 b...

现代的 “Hello, World”,可不仅仅是几行代码而已

作者 |Charles R. Martin译者 | 弯月,责编 | 夕颜头图 |付费下载自视觉中国出品 | CSDN(ID:CSDNnews)新手...

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

程序员毕业去大公司好还是小公司好?

虽然大公司并不是人人都能进,但我仍建议还未毕业的同学,尽力地通过校招向大公司挤,但凡挤进去,你这一生会容易很多。 大公司哪里好?没能进大公司怎么办?答案都在这里了,记得帮我点赞哦。 目录: 技术氛围 内部晋升与跳槽 啥也没学会,公司倒闭了? 不同的人脉圈,注定会有不同的结果 没能去大厂怎么办? 一、技术氛围 纵观整个程序员技术领域,哪个在行业有所名气的大牛,不是在大厂? 而且众所...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

立即提问
相关内容推荐