发起问题

cunuck32 的档案 - activity

2020-03-11 06:12:31 -0500 获得奖牌  著名问题 (source)
2020-03-11 06:12:31 -0500 获得奖牌  热门的问题 (source)
2020-03-11 06:12:31 -0500 获得奖牌  受欢迎的问题 (source)
2019-10-21 22:33:29 -0500 获得奖牌  著名问题 (source)
2019-09-04 07:38:51 -0500 获得奖牌  热门的问题 (source)
2019-09-04 07:38:51 -0500 获得奖牌  受欢迎的问题 (source)
2019-08-23 07:09:38 -0500 获得奖牌  著名问题 (source)
2019-07-18 09:46:06 -0500 问了问题 kolla-ansible multinode failure to deploy

Hello all, I am trying to setup a multinode environment of kolla-ansible stein, but when the deployment reaches keystone, I believe it fails when it tires to create the user role. I am at a loss at what to do here, and I can't find any information online.

Here is the deployment text with the error. Thanks in advance for any answers.

 root@control01:/# kolla-ansible -i ./multinode deploy
Deploying Playbooks : ansible-playbook -i ./multinode -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla  --limit @/usr/local/share/kolla-ansible/ansible/site.retry -e kolla_action=deploy /usr/local/share/kolla-ansible/ansible/site.yml 

PLAY [Gather facts for all hosts] *******************************************************************************************************************************************

TASK [Gather facts] *********************************************************************************************************************************************************
ok: [192.168.1.70]

TASK [Group hosts to determine when using --limit] **************************************************************************************************************************
ok: [192.168.1.70]

PLAY [Gather facts for all hosts (if using --limit)] ************************************************************************************************************************

TASK [Gather facts] *********************************************************************************************************************************************************
skipping: [192.168.1.70] => (item=192.168.1.70) 
ok: [192.168.1.70 -> 192.168.1.71] => (item=192.168.1.71)

PLAY [Detect openstack_release variable] ************************************************************************************************************************************

TASK [Get current kolla-ansible version number] *****************************************************************************************************************************
skipping: [192.168.1.70]

TASK [Set openstack_release variable] ***************************************************************************************************************************************
skipping: [192.168.1.70]

PLAY [Apply role prechecks] *************************************************************************************************************************************************

TASK [prechecks : include_tasks] ********************************************************************************************************************************************
skipping: [192.168.1.70]

TASK [prechecks : include_tasks] ********************************************************************************************************************************************
skipping: [192.168.1.70]

TASK [prechecks : include_tasks] ********************************************************************************************************************************************
skipping: [192.168.1.70]

TASK [prechecks : include_tasks] ********************************************************************************************************************************************
skipping: [192.168.1.70]

TASK [prechecks : include_tasks] ********************************************************************************************************************************************
skipping: [192.168.1.70]

PLAY [Apply role chrony] ****************************************************************************************************************************************************

TASK [common : include_tasks] ***********************************************************************************************************************************************
included: /usr/local/share/kolla-ansible/ansible/roles/common/tasks/deploy.yml for 192.168.1.70

TASK [common : include_tasks] ***********************************************************************************************************************************************
included: /usr/local/share/kolla-ansible/ansible/roles/common/tasks/config.yml for 192.168.1.70

TASK [common : Ensuring config directories exist] ***************************************************************************************************************************
ok: [192.168.1.70] => (item=kolla-toolbox)
ok: [192.168.1.70] => (item=cron)
ok: [192.168.1.70] => (item=cron/logrotate)

TASK [common : Ensuring fluentd config directories exist] *******************************************************************************************************************
ok: [192.168.1.70] => (item=fluentd)
ok: [192.168.1.70] => (item=fluentd/input)
ok: [192.168.1.70] => (item=fluentd/output)
ok: [192.168.1.70] => (item=fluentd/format)
ok: [192.168.1.70] => (item=fluentd/filter)

TASK [common : Copying over config.json files for services] *****************************************************************************************************************
ok: [192.168.1.70] => (item={'value': {u'dimensions': {}, u'image': u'kolla/ubuntu-binary-cron:stein', u'enabled': True, u'environment': {u'DUMMY_ENVIRONMENT': u'kolla_useless_env'}, u'volumes': [u'/etc/kolla//cron/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'cron'}, 'key': u'cron'})
ok: [192.168.1.70] => (item={'value': {u'dimensions': {}, u'image': u'kolla/ubuntu-binary-fluentd:stein', u'enabled': True, u'environment': {u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS'}, u'volumes': [u'/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'fluentd'}, 'key': u'fluentd'})
ok: [192.168.1.70] => (item={'value': {u'dimensions': {}, u'image': u'kolla/ubuntu-binary-kolla-toolbox:stein', u'enabled': True, u'environment': {u'ANSIBLE_LIBRARY': u'/usr/share/ansible', u'ANSIBLE_NOCOLOR': u'1'}, u'volumes ...
(more)
2019-07-03 16:24:54 -0500 评论回答 Stack.sh problem error ./stack.sh:main:1438 err_trap

could you please explain how you fixed this? I am having the same problem.

2019-07-03 16:24:43 -0500 问了问题 Several Errors when running stack.sh in devstack installation

Hello all,

I am trying to set up a multi-node lab with devstack using this documentation: https://docs.openstack.org/devstack/latest/guides/multinode-lab.html#download-devstack (https://docs.openstack.org/devstack/l...). Each machine is running Ubuntu 18.04.

However, when I try to run ./stack.sh on my controller node, it runs for 20 or so minutes, then fails. This is the end of the log with the errors:

2019-07-03 16:45:48.437 | +^[[3242m./stack.sh:main:1447                     ^[[m^O [[ -x /opt/stack/devstack/local.sh ]]
2019-07-03 16:45:48.440 | +^[[3242m./stack.sh:main:1448                     ^[[m^O echo 'Running user script /opt/stack/devstack/local.sh'
2019-07-03 16:45:48.442 | Running user script /opt/stack/devstack/local.sh
2019-07-03 16:45:48.443 | +^[[3242m./stack.sh:main:1449                     ^[[m^O /opt/stack/devstack/local.sh
2019-07-03 16:45:48.445 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.447 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.448 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.450 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.451 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.453 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.454 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.455 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.456 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.672 | WARNING: setting legacy OS_TENANT_NAME to support cli tools.
2019-07-03 16:45:48.683 | WARNING: setting legacy OS_TENANT_NAME to support cli tools.
2019-07-03 16:45:50.394 | +----------------------------+----------+
2019-07-03 16:45:50.395 | | Field                      | Value    |
2019-07-03 16:45:50.396 | +----------------------------+----------+
2019-07-03 16:45:50.396 | | OS-FLV-DISABLED:disabled   | False    |
2019-07-03 16:45:50.397 | | OS-FLV-EXT-DATA:ephemeral  | 0        |
2019-07-03 16:45:50.397 | | disk                       | 0        |
2019-07-03 16:45:50.398 | | id                         | 6        |
2019-07-03 16:45:50.398 | | name                       | m1.micro |
2019-07-03 16:45:50.399 | | os-flavor-access:is_public | True     |
2019-07-03 16:45:50.399 | | properties                 |          |
2019-07-03 16:45:50.400 | | ram                        | 128      |
2019-07-03 16:45:50.400 | | rxtx_factor                | 1.0      |
2019-07-03 16:45:50.401 | | swap                       |          |
2019-07-03 16:45:50.401 | | vcpus                      | 1        |
2019-07-03 16:45:50.402 | +----------------------------+----------+
2019-07-03 16:45:51.194 | More than one SecurityGroup exists with the name 'default'.
2019-07-03 16:45:51.999 | More than one SecurityGroup exists with the name 'default'.
2019-07-03 16:45:52.056 | ++^[[3242m./stack ...
(more)
2019-06-11 14:34:23 -0500 获得奖牌  热门的问题 (source)
2019-06-11 13:46:44 -0500 评论回答 compute service on compute node not starting

how did you fix it? I am having a similar issue as well

2019-06-06 08:03:06 -0500 获得奖牌  受欢迎的问题 (source)
2019-06-06 08:03:05 -0500 获得奖牌  粉丝
2019-06-04 16:46:10 -0500 评论问题 Getting a 500 Internal Server Error when attempting to connect to Horizon Dashboard

So I tried messing around in the file to correct the error but it didn't seem to do anything except give me more errors. I put them in the OP. What I don't understand is why I am getting errors in parts of the file that I never have touched.

2019-06-03 16:53:13 -0500 问了问题 Getting a 500 Internal Server Error when attempting to connect to Horizon Dashboard

We are running Stein on Ubuntu 18.04. We have our ALLOWED_HOSTS set to 192.168.54.74, our host IP, and whenever we try to connect to 192.168.54.74/horizon, we get

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@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. Apache/2.4.29 (Ubuntu) Server at 192.168.54.74 Port 80"

When I check the error logs, I found:

[Mon Jun 03 13:29:06.668251 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked

[Mon Jun 03 13:29:06.668259 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] File "<frozen importlib._bootstrap>", line 665, in _load_unlocked

[Mon Jun 03 13:29:06.668267 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] File "<frozen importlib._bootstrap_external>", line 678, in exec_module

[Mon Jun 03 13:29:06.668274 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed

[Mon Jun 03 13:29:06.668282 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 392, in <module>

[Mon Jun 03 13:29:06.668286 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] from local.local_settings import * # noqa: F403,H303

[Mon Jun 03 13:29:06.668303 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 382

[Mon Jun 03 13:29:06.668315 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] 'enable_router': False,

[Mon Jun 03 13:29:06.668336 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] ^

[Mon Jun 03 13:29:06.668347 2019] [wsgi:error] [pid 5169:tid 140440377767680] [remote 192.168.54.100:34092] SyntaxError: invalid syntax


New errors: '[Tue Jun 04 12:18:28.607215 2019] [wsgi:error] [pid 11484:tid 140713702938368] [remote 192.168.54.100:34786] mod_wsgi (pid=11484): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.'

'[Tue Jun 04 12:18:28.607330 2019] [wsgi:error] [pid 11484:tid 140713702938368] [remote 192.168.54.100:34786] mod_wsgi (pid=11484): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.'

'[Tue Jun 04 12:18:28.702260 2019] [wsgi:error] [pid 11484:tid 140713702938368] [remote 192.168.54.100:34786] Traceback (most recent call last):'

'[Tue Jun 04 12:18:28.702388 2019] [wsgi:error] [pid 11484:tid 140713702938368] [remote 192.168.54.100:34786] File ... (more)

2019-06-03 16:53:13 -0500 问了问题 NewConnectionError when trying to create domains, services, users, and projects in Stein on Ubuntu 18.04

Hello,

My coworker and I are currently working on installing the services for an Openstack stein machine. On our controller node, we believe we have the correct network configuration, as we are able to ping our router, compute node, and the Internet. However, while installing Keystone whenever we try to input commands such as:

openstack project create --domain default \

--description "Demo Project" myproject

We get an error message:

Failed to discover available identity versions when contacting http://ubuntu:3306/v3. Attempting to parse version from URL. Unable to establish connection to http://ubuntu:3306/v3/auth/tokens: HTTPConnectionPool(host='ubuntu', port=3306): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f40a3efa210>: Failed to establish a new connection: [Errno 111] Connection refused',))

We are using the Stein documentation for reference

https://docs.openstack.org/install-guide/index.html (https://docs.openstack.org/install-gu...)

https://docs.openstack.org/keystone/stein/install/index-ubuntu.html (https://docs.openstack.org/keystone/s...)

If there is any important information I left out, please let me know. We are both very new to openstack and have been learning as we go along. Thanks in advance for any answers.

2019-05-28 16:46:31 -0500 问了问题 NewConnectionError when trying to create domains, services, users, and projects in Stein on Ubuntu 18.04

Hello,

My coworker and I are currently working on installing the services for an Openstack stein machine. On our controller node, we believe we have the correct network configuration, as we are able to ping our router, compute node, and the Internet. However, while installing Keystone whenever we try to input commands such as:

openstack project create --domain default \ --description "Demo Project" myproject

We get an error message:

Failed to discover available identity versions when contacting http://ubuntu:3306/v3. Attempting to parse version from URL. Unable to establish connection to http://ubuntu:3306/v3/auth/tokens: HTTPConnectionPool(host='ubuntu', port=3306): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f40a3efa210>: Failed to establish a new connection: [Errno 111] Connection refused',))

We are using the Stein documentation for reference

https://docs.openstack.org/install-guide/index.html (https://docs.openstack.org/install-gu...)

https://docs.openstack.org/keystone/stein/install/index-ubuntu.html (https://docs.openstack.org/keystone/s...)

If there is any important information I left out, please let me know. We are both very new to openstack and have been learning as we go along. Thanks in advance for any answers.