发起问题

whoansoo 的档案 - activity

2020-05-26 08:56:02 -0500 获得奖牌  著名问题 (source)
2020-05-26 08:56:02 -0500 获得奖牌  热门的问题 (source)
2020-05-26 08:56:02 -0500 获得奖牌  受欢迎的问题 (source)
2019-07-23 07:19:10 -0500 获得奖牌  受欢迎的问题 (source)
2019-07-23 07:19:10 -0500 获得奖牌  著名问题 (source)
2019-07-23 07:19:10 -0500 获得奖牌  热门的问题 (source)
2019-05-16 03:09:28 -0500 获得奖牌  著名问题 (source)
2019-01-24 14:25:04 -0500 获得奖牌  编辑 (source)
2019-01-24 14:23:29 -0500 评论问题 manila-manage db sync error

Anybody have no idea ? It might be already patch column in tables. But it's upgrade script was trying to patch. So I want skip this upgrade trying script "Running upgrade 211836bf835c -> 38e632621e5a". And My manila-api version is 6.0.0. Is it right ?

2019-01-24 03:17:58 -0500 获得奖牌  粉丝
2019-01-23 16:11:47 -0500 获得奖牌  热门的问题 (source)
2019-01-23 16:10:18 -0500 评论问题 manila-manage db sync is throwing error in ubuntu for liberty release?

Did you solve this problem? tell me about. I got same issue.

2019-01-23 16:09:52 -0500 回答问题 manila-manage db sync is throwing error in ubuntu for liberty release?

Did you solve this problem? tell me about. I got same issue.

2019-01-23 16:03:35 -0500 问了问题 manila-manage db sync error

I met below error. I find out connect to cinder database and tables (shares) and columns. It is already updated. My cinder version is 3.5.0.

Please tell me show can I resolve this.

root@controller:~# su -s /bin/sh -c "manila-manage db sync" manila

2019-01-24 06:53:47.566 22717 INFO alembic.runtime.migration [-] Context impl MySQLImpl.

2019-01-24 06:53:47.566 22717 INFO alembic.runtime.migration [-] Will assume non-transactional DDL.

2019-01-24 06:53:47.619 22717 INFO alembic.runtime.migration [-] Running upgrade -> 162a3e673105, manila_init

2019-01-24 06:53:48.402 22717 INFO alembic.runtime.migration [-] Running upgrade 162a3e673105 -> 211836bf835c, add access level

2019-01-24 06:53:48.527 22717 INFO alembic.runtime.migration [-] Running upgrade 211836bf835c -> 38e632621e5a, change volume_type to share_type

2019-01-24 06:53:48.527 22717 INFO 38e632621e5a_change_volume_type_to_share_type_py [-] Renaming column name shares.volume_type_id to shares.share_type.id

2019-01-24 06:53:48.544 22717 INFO 38e632621e5a_change_volume_type_to_share_type_py [-] Renaming volume_types table to share_types

2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters [-] DBAPIError exception wrapped from (pymysql.err.InternalError) (1091, u"Can't DROP INDEX vt_name_uc; check that it exists") [SQL: u'ALTER TABLE share_types DROP INDEX vt_name_uc']: InternalError: (1091, u"Can't DROP INDEX vt_name_uc; check that it exists") 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last): 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters context) 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 470, in do_execute 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters) 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 165, in execute 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters result = self._query(query) 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 321, in _query 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters conn.query(q) 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 860, in query 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1061, in _read_query_result 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters result.read() 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1349, in read 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters first_packet = self.connection._read_packet() 2019-01-24 06:53:48.586 22717 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1018, in _read_packet 2019-01-24 06:53:48.586 ... (more)

2019-01-23 15:56:27 -0500 回答问题 How can I solve this error "Account HEAD failed " in swift ?

I'll have to retry install. :(

2019-01-22 18:01:07 -0500 问了问题 How can I solve this error "Account HEAD failed " in swift ?

Hi. I had a problem when I installed the swift service. How can I solve this error ?

root@controller:~# swift --debug stat INFO:keyring.backend:Loading Windows (alt) INFO:keyring.backend:Loading pyfs INFO:keyring.backend:Loading multi INFO:keyring.backend:Loading Google INFO:keyring.backend:Loading Gnome INFO:keyring.backend:Loading keyczar INFO:keyring.backend:Loading file DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://controller:35357/v3/auth/tokens DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): controller DEBUG:urllib3.connectionpool:http://controller:35357 "POST /v3/auth/tokens HTTP/1.1" 201 6823 DEBUG:keystoneclient.auth.identity.v3.base:{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "ef8b714678934f6b874ab23595f4ed22", "name": "admin"}], "expires_at": "2019-01-23T00:51:50.000000Z", "project":id": "36b4e8e418c64ba0bdb0da595a562af8", "name": "default"}, "id": "935f9946400945bb9035cffc7c0a08cf", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://controller:8786/v2/935f9946400945bb9035cffc7c0a08cf", "interfa "region": "RegionOne", "region_id": "RegionOne", "id": "50f7b78f623c4b3cb439e8528a78350e"}, {"url": "http://controller:8786/v2/935f9946400945bb9035cffc7c0a08cf", "interface": "internal", "region": "RegionOne", "region_id": "R": "cfa75336ac0847c8913afd5198bf34a3"}, {"url": "http://controller:8786/v2/935f9946400945bb9035cffc7c0a08cf", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "d7e657ca44714516825796a99ffe161f"}], "2", "id": "4b1ef8a54d7a467bb7ae7b767a31af5d", "name": "manilav2"}, {"endpoints": [{"url": "http://controller:8776/v3/935f9946400945bb9035cffc7c0a08cf", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", 8df2140f4a418d3f359c9da2c"}, {"url": "http://controller:8776/v3/935f9946400945bb9035cffc7c0a08cf", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7b98b32a807949298e7e89e0a9077dac"}, {"url": "http8776/v3/935f9946400945bb9035cffc7c0a08cf", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a4b484e20c264b13af53b25d80e3c6e4"}], "type": "volumev3", "id": "4c600c4176874c7c9faee48a4cd6cc14", "name, {"endpoints": [{"url": "http://controller:8776/v1/935f9946400945bb9035cffc7c0a08cf", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5d986c421d85479fbe96e541cc817537"}, {"url": "http://contro35f9946400945bb9035cffc7c0a08cf", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6db4076634434854ac4b6e61a642c486"}, {"url": "http://controller:8776/v1/935f9946400945bb9035cffc7c0a08cf", "interf "region": "RegionOne", "region_id": "RegionOne", "id": "d3e556a3a1c0444aacebe88fed5577b9"}], "type": "volume", "id": "6d107925901644c088ab4387aa64c902", "name": "cinder"}, {"endpoints": [{"url": "http://controller:9696", "intrnal", "region": "RegionOne", "region_id": "RegionOne", "id": "15ce0dbfe13441f986e836b29dff0cc5"}, {"url": "http://controller:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "fc10a1ef1e04483534"}, {"url": "http://controller:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "febf5f84ac404a7eb3c0d91a7ae3d974"}], "type": "network", "id": "a8b106e3859f474498e79054df6928c4", "name": endpoints": [{"url": "http://controller:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0cefa94245d240b5873765b4a2c3bdc1"}, {"url": "http://controller:9292", "interface": "public", "region" "region_id": "RegionOne", "id": "0cfd71d4f9ca41d781997d6c841be3e7"}, {"url": "http://controller:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "8fce97d2e6d44bc0a6dffc2161f5c47c"}], "typid": "ab587661a5524e3b99bbbaf083e37b3f", "name": "glance"}, {"endpoints": [{"url": "http://controller:8080/v1/AUTH_935f9946400945bb9035cffc7c0a08cf", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id"24ddea9ad671658e86151"}, {"url": "http://controller:8080/v1/AUTH_935f9946400945bb9035cffc7c0a08cf", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e0ce7b0cf01d464b9d67a215c44f92fc"}, {"url": "htt:8080/v1/AUTH_935f9946400945bb9035cffc7c0a08cf", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "fe34219e3ee246e7b543307d7113fb1f"}], "type": "object-store", "id": "c16b33723be5495c9f4ec8c92c20 "swift"}, {"endpoints": [{"url": "http://controller:8776/v2/935f9946400945bb9035cffc7c0a08cf", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "097956422798463882ca2f1bdcc4c873"}, {"url": "http://6/v2/935f9946400945bb9035cffc7c0a08cf", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9e4db5a5e4d54e77b21828e0f83bcd0d"}, {"url": "http://controller:8776/v2/935f9946400945bb9035cffc7c0a08cf", "nternal", "region": "RegionOne", "region_id": "RegionOne", "id": "f6f5d12ce6614f13921bebd186ef9fb5"}], "type": "volumev2", "id": "c84a758504a54b2aa1c404140080b05b", "name": "cinderv2"}, {"endpoints": [{"url": "http://controlle9946400945bb9035cffc7c0a08cf", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "565d13efe75247b1ba0c08e421fed3f1"}, {"url": "http://controller:8786/v1/935f9946400945bb9035cffc7c0a08cf", "interface""region": "RegionOne", "region_id": "RegionOne", "id": "c6b5114ebcf1484381f2b251606e680e"}, {"url": "http://controller:8786/v1/935f9946400945bb9035cffc7c0a08cf", "interface": "public", "region": "RegionOne", "region_id": "Regi"e441ed4f2c3b43bf87e2e69aa39280be"}], "type": "share", "id": "d43fdf7a551f40ec8116a7a748bc6d9d", "name": "manila"}, {"endpoints": [{"url": "http://controller:5000/v3", "interface": "internal", "region": "RegionOne", "region_id, "id": "0cfc56ddbec64edc806584523fc2fc77"}, {"url": "http://controller ... (more)

2019-01-21 00:47:46 -0500 评论回答 How can I install a Ceilometer package ??

Additionnally, My Network is interface#1 is NAT (controller: 192.168.0.101, compute: 192.168.0.102). And Interface#2 is Internet (controller: 172.30.1.130, compute: 172.30.1.131). I almost used 192.168.0.101 ip address in my controller pc.

How I resolve this error?

2019-01-21 00:47:46 -0500 评论回答 How can I install a Ceilometer package ??

Sorry. After I had followed your guide, I met the same error message.

2019-01-21 00:47:45 -0500 评论回答 How can I install a Ceilometer package ??

Thanks.I reinstalled using Gnocchi online manual. But I got other error.

root@controller:~# apt-get install gnocchi-api gnocchi-metricd python-gnocchiclient Registering service and endpoints for gnocchi with type metric at http://172.30.1.130:8041 The request you have made requires authentication

2019-01-21 00:28:28 -0500 获得奖牌  受欢迎的问题 (source)
2019-01-20 07:54:18 -0500 评论问题 How can I clear this nova installation problem ? please help me

Thanks. I had mistake about it.

2019-01-20 07:54:17 -0500 问了问题 How can I install a Ceilometer package ??

I got a error message when I had installed a ceilometer package. How can I resolve that ?

root@controller:~# sudo apt-get purge ceilometer-api ceilometer-collector ceilometer-agent-central ceilometer-agent-notification ceilometer-alarm-evaluator ceilometer-alarm-notifier python-ceilometerclient

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ceilometer-api E: Unable to locate package ceilometer-collector E: Unable to locate package ceilometer-alarm-evaluator E: Unable to locate package ceilometer-alarm-notifier

My OS is Ubuntu 18.0.4. And Glance version is 2.9.1., Openstack version is 3.14.2.

Thanks.

2019-01-17 03:07:48 -0500 问了问题 How can I clear this nova installation problem ? please help me

I met a below error message after installation about nova-compute service in compute node. How can I clear this problem ?? please help me.

[error message]

shell>  tail -f nova-compute.log

2019-01-17 07:56:21.391 6854 WARNING nova.compute.monitors [req-84e60bfd-1837-4216-86ed-6d289482a084 - - - - -] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).
2019-01-17 07:56:21.574 6854 WARNING nova.scheduler.client.report [req-84e60bfd-1837-4216-86ed-6d289482a084 - - - - -] Placement service credentials do not work. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading.: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-b5776786-ed48-4dee-8eca-043602e180c8)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager [req-84e60bfd-1837-4216-86ed-6d289482a084 - - - - -] Error updating resources for node compute.: ResourceProviderCreationFailed: Failed to create resource provider compute
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager Traceback (most recent call last):
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 7345, in update_available_resource_for_node
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 689, in update_available_resource
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 277, in inner
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     return f(*args, **kwargs)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 713, in _update_available_resource
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 572, in _init_compute_node
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     self._update(context, cn)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 887, in _update
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     inv_data,
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/report.py", line 1104, in set_inventory_for_provider
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2019-01-17 07:56:21.601 6854 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/scheduler ...
(more)