<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div style="min-height:22px;margin-bottom:8px;">Hi:</div><div style="min-height:22px;margin-bottom:8px;">   I am new to openstack installing on one VM. The environment includes</div><div style="min-height:22px;margin-bottom:8px;">Win10,virtualbox,Ubuntu 18.04; The version of  devstack and openstack  is  Train;  the VM  includes 2vCPU,4G ram, 60G disk .</div><div style="min-height:22px;margin-bottom:8px;">   The process was interrupted by cinder error.[internal server error]</div><div style="min-height:22px;margin-bottom:8px;">     </div><div style="min-height:22px;margin-bottom:8px;"> The stack.log shows as stack.log;</div><div style="min-height:22px;margin-bottom:8px;">the c-api log shows as c-api log.</div><div style="min-height:22px;margin-bottom:8px;"><br></div><div style="min-height:22px;margin-bottom:8px;">stack.log</div><div style="min-height:22px;margin-bottom:8px;"><pre style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto; word-wrap: break-word; white-space: pre-wrap;">+[38;5;242mlib/cinder:create_volume_types:531       (B[m openstack --os-region-name=RegionOne volume type create --property volume_backend_name=lvmdriver-1 lvmdriver-1
2020-10-29 07:57:11.863 | Internal Server Error (HTTP 500)
2020-10-29 07:57:12.182 | +[38;5;242mlib/cinder:create_volume_types:1         (B[m exit_trap
2020-10-29 07:57:12.232 | +[38;5;242m./stack.sh:exit_trap:536                 (B[m local r=1
2020-10-29 07:57:12.259 | ++[38;5;242m./stack.sh:exit_trap:537                 (B[m jobs -p
2020-10-29 07:57:12.316 | +[38;5;242m./stack.sh:exit_trap:537                 (B[m jobs=
2020-10-29 07:57:12.353 | +[38;5;242m./stack.sh:exit_trap:540                 (B[m [[ -n '' ]]
2020-10-29 07:57:12.385 | +[38;5;242m./stack.sh:exit_trap:546                 (B[m '[' -f /tmp/tmp.8Y7a6hpwLX ']'
2020-10-29 07:57:12.408 | +[38;5;242m./stack.sh:exit_trap:547                 (B[m rm /tmp/tmp.8Y7a6hpwLX
2020-10-29 07:57:12.468 | +[38;5;242m./stack.sh:exit_trap:551                 (B[m kill_spinner
2020-10-29 07:57:12.499 | +[38;5;242m./stack.sh:kill_spinner:446              (B[m '[' '!' -z '' ']'
2020-10-29 07:57:12.536 | +[38;5;242m./stack.sh:exit_trap:553                 (B[m [[ 1 -ne 0 ]]
2020-10-29 07:57:12.581 | +[38;5;242m./stack.sh:exit_trap:554                 (B[m echo 'Error on exit'
2020-10-29 07:57:12.581 | Error on exit
2020-10-29 07:57:12.615 | +[38;5;242m./stack.sh:exit_trap:556                 (B[m type -p generate-subunit
2020-10-29 07:57:12.635 | +[38;5;242m./stack.sh:exit_trap:557                 (B[m generate-subunit <a dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-result="27184" x-apple-data-detectors-type="telephone">1603957090</a> 1142 fail
2020-10-29 07:57:14.084 | +[38;5;242m./stack.sh:exit_trap:559                 (B[m [[ -z /opt/stack/logs ]]
2020-10-29 07:57:14.110 | +[38;5;242m./stack.sh:exit_trap:562                 (B[m /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2020-10-29 07:57:17.223 | nova-compute: no process found
2020-10-29 07:57:17.264 | neutron-dhcp-agent: no process found
2020-10-29 07:57:17.338 | neutron-l3-agent: no process found
2020-10-29 07:57:17.409 | neutron-linuxbridge-agent: no process found
2020-10-29 07:57:17.471 | neutron-metadata-agent: no process found
2020-10-29 07:57:17.603 | +[38;5;242m./stack.sh:exit_trap:571                 </pre><pre style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto; word-wrap: break-word; white-space: pre-wrap;"><pre style="word-wrap: break-word; white-space: pre-wrap;">C-api log</pre><pre style="word-wrap: break-word; white-space: pre-wrap;">STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION {{(pid=12249) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:307}}
10月 29 10:56:07 controller devstack@c-api.service[12246]: ERROR cinder.api.middleware.fault [req-7d67a008-3478-4da0-8b29-259571c1fb94 req-d823c701-e76a-489b-8ec9-fad9f9504c7b admin admin] Caught error: <class 'oslo_db.exception.DBConnectionError'> (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
10月 29 10:56:07 controller devstack@c-api.service[12246]: (Background on this error at: http://sqlalche.me/e/e3q8): DBConnectionError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
10月 29 10:56:07 controller devstack@c-api.service[12246]: (Background on this error at: http://sqlalche.me/e/e3q8)
10月 29 10:56:07 controller devstack@c-api.service[12246]: ERROR cinder.api.middleware.fault Traceback (most recent call last):
10月 29 10:56:07 controller devstack@c-api.service[12246]: ERROR cinder.api.middleware.fault   File "/opt/stack/cinder/cinder/api/middleware/fault.py", line 85, in __call__
10月 29 10:56:07 controller devstack@c-api.service[12246]: ERROR cinder.api.middleware.fault     return req.get_response(self.application)</pre></pre><pre style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto; word-wrap: break-word; white-space: pre-wrap;">Thanks for your help,firtly.</pre></div><div style="min-height:22px;margin-bottom:8px;"><br></div><div style="min-height:22px;margin-bottom:8px;"> </div><div style="min-height:22px;margin-bottom:8px;"><br></div><div aria-hidden="true" class="mail-footer" id="QQMailSignature"><hr style="margin: 0 0 10px 0;border: 0;border-bottom:1px solid #E6E8EB;height:0;line-height:0;font-size:0;padding: 20px 0 0 0;width: 50px;">发自我的iPhone</div><div id="original-content"></div>