q2911190731 发表于 2017-1-14 15:24 创建实例,可以使用官网提供的镜像。安装成功后,界面中会显示,用户名和密码 |
版主大大您好,请问openstack用命令创建实例时如何设置实例的root密码,需要修改什么配置文件?求助!感谢! |
附上上面没有发出的图 |
ifconfig无法显示ip
已经显示分配ip
你好,请问我的实例运行成功后,为什么在控制台ifconfig显示不出ip,而且也ping不通自己,各个nova服务都是up状态,agent也是True的状况,网络拓扑图上显示已经分配私网ip |
楼主没有写一下cinder和swift相关的文章吗,是不是因为这两个还有不少bug?我安装kilo版遇到好多问题,简直掉头发。 |
创建实例出现这个问题该怎么解决啊版主大大。 2016-01-19 17:24:18.006 2229 INFO nova.service [-] Starting conductor node (version 2015.1.2) 2016-01-19 17:24:18.246 2227 WARNING oslo_db.sqlalchemy.session [req-3eec857e-ce75-4f82-8441-94bdf3fe7672 - - - - -] SQL connection failed. 10 attempts left. 2016-01-19 17:24:18.248 2226 WARNING oslo_db.sqlalchemy.session [req-ab2515c3-2101-4846-a98d-e73902406b49 - - - - -] SQL connection failed. 10 attempts left. 2016-01-19 17:24:18.248 2229 WARNING oslo_db.sqlalchemy.session [req-ce3e7d4c-45b7-4e2f-9eba-736497253790 - - - - -] SQL connection failed. 10 attempts left. 2016-01-19 17:24:18.248 2228 WARNING oslo_db.sqlalchemy.session [req-cd09f225-b633-4aa7-81f7-c36f33e2c495 - - - - -] SQL connection failed. 10 attempts left. 2016-01-19 17:24:28.541 2227 INFO oslo_messaging._drivers.impl_rabbit [req-3eec857e-ce75-4f82-8441-94bdf3fe7672 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:24:28.548 2229 INFO oslo_messaging._drivers.impl_rabbit [req-ce3e7d4c-45b7-4e2f-9eba-736497253790 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:24:28.552 2227 INFO oslo_messaging._drivers.impl_rabbit [req-3eec857e-ce75-4f82-8441-94bdf3fe7672 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:24:28.561 2229 INFO oslo_messaging._drivers.impl_rabbit [req-ce3e7d4c-45b7-4e2f-9eba-736497253790 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:24:28.584 2226 INFO oslo_messaging._drivers.impl_rabbit [req-ab2515c3-2101-4846-a98d-e73902406b49 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:24:28.625 2228 INFO oslo_messaging._drivers.impl_rabbit [req-cd09f225-b633-4aa7-81f7-c36f33e2c495 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:24:28.627 2226 INFO oslo_messaging._drivers.impl_rabbit [req-ab2515c3-2101-4846-a98d-e73902406b49 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:24:28.634 2228 INFO oslo_messaging._drivers.impl_rabbit [req-cd09f225-b633-4aa7-81f7-c36f33e2c495 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:24:34.477 2227 INFO oslo_messaging._drivers.impl_rabbit [req-5638e0b0-2f41-4711-83f9-f2ecd36bbc43 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:24:34.483 2227 INFO oslo_messaging._drivers.impl_rabbit [req-5638e0b0-2f41-4711-83f9-f2ecd36bbc43 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:24:44.684 2229 INFO oslo_messaging._drivers.impl_rabbit [req-00e54367-3780-42fb-a006-fc2deaefd057 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:24:44.690 2229 INFO oslo_messaging._drivers.impl_rabbit [req-00e54367-3780-42fb-a006-fc2deaefd057 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:24:54.487 2226 INFO oslo_messaging._drivers.impl_rabbit [req-b6965a95-95ca-41ac-95c9-36954323b320 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:24:54.493 2226 INFO oslo_messaging._drivers.impl_rabbit [req-b6965a95-95ca-41ac-95c9-36954323b320 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:25:04.494 2228 INFO oslo_messaging._drivers.impl_rabbit [req-4bdadc8e-29e8-4093-a21a-6de4dd25b485 - - - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:25:04.500 2228 INFO oslo_messaging._drivers.impl_rabbit [req-4bdadc8e-29e8-4093-a21a-6de4dd25b485 - - - - -] Connected to AMQP server on controller:5672 2016-01-19 17:32:12.232 2229 INFO oslo_messaging._drivers.impl_rabbit [req-e1f1a6a5-5c46-4043-b3dd-b4fd2c7c0cd4 f1dd01b7533f445e85b187854ed9b632 4b9dba4f1fa143149fef89f103d7a620 - - -] Connecting to AMQP server on controller:5672 2016-01-19 17:32:12.238 2229 INFO oslo_messaging._drivers.impl_rabbit [req-e1f1a6a5-5c46-4043-b3dd-b4fd2c7c0cd4 f1dd01b7533f445e85b187854ed9b632 4b9dba4f1fa143149fef89f103d7a620 - - -] Connected to AMQP server on controller:5672 2016-01-19 17:32:13.308 2229 WARNING nova.scheduler.utils [req-e1f1a6a5-5c46-4043-b3dd-b4fd2c7c0cd4 f1dd01b7533f445e85b187854ed9b632 4b9dba4f1fa143149fef89f103d7a620 - - -] Failed to compute_task_build_instances: Remote error: OperationalError (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.disabled_reason AS services_disabled_reason \nFROM services \nWHERE services.deleted = ? AND services.disabled = 0 AND services.binary = ?' (0, 'nova-compute') [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply\n executor_callback))\n', u' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch\n executor_callback)\n', u' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch\n result = func(ctxt, **new_args)\n', u' File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 142, in inner\n return func(*args, **kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 86, in select_destinations\n filter_properties)\n', u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 67, in select_destinations\n filter_properties)\n', u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 131, in _schedule\n hosts = self._get_all_host_states(elevated)\n', u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 176, in _get_all_host_states\n return self.host_manager.get_all_host_states(context)\n', u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py", line 533, in get_all_host_states\n context, \'nova-compute\')}\n', u' File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 163, in wrapper\n result = fn(cls, context, *args, **kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/objects/service.py", line 223, in get_by_binary\n db_services = db.service_get_all_by_binary(context, binary)\n', u' File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 125, in service_get_all_by_binary\n return IMPL.service_get_all_by_binary(context, binary)\n', u' File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 498, in service_get_all_by_binary\n filter_by(binary=binary).\\\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2320, in all\n return list(self)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2438, in __iter__\n return self._execute_and_instances(context)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2453, in _execute_and_instances\n result = conn.execute(querycontext.statement, self._params)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 729, in execute\n return meth(self, multiparams, params)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py", line 322, in _execute_on_connection\n return connection._execute_clauseelement(self, multiparams, params)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 826, in _execute_clauseelement\n compiled_sql, distilled_params\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 958, in _execute_context\n context)\n', u' File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 261, in _handle_dbapi_exception\n e, statement, parameters, cursor, context)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1155, in _handle_dbapi_exception\n util.raise_from_cause(newraise, exc_info)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause\n reraise(type(exception), exception, tb=exc_tb)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 951, in _execute_context\n context)\n', u' File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 436, in do_execute\n cursor.execute(statement, parameters)\n', u"OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.disabled_reason AS services_disabled_reason \\nFROM services \\nWHERE services.deleted = ? AND services.disabled = 0 AND services.binary = ?' (0, 'nova-compute')\n"]. 2016-01-19 17:32:13.309 2229 WARNING nova.scheduler.utils [req-e1f1a6a5-5c46-4043-b3dd-b4fd2c7c0cd4 f1dd01b7533f445e85b187854ed9b632 4b9dba4f1fa143149fef89f103d7a620 - - -] [instance: 6490b2c7-e1c2-4e1d-b14e-4a33adad6bcc] Setting instance to ERROR state. root@controll-H81-M1:/var/log/nova# |
pig2 发表于 2015-10-21 15:35 谢谢啊 你这样的配置可以安装all in one么? |
xiaohuihui 发表于 2015-10-21 15:05 neutron-server出问题了,检测相关配置 |
你好,创建实例时出现ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) 怎么回事 |