当前位置:   article > 正文

OpenStack Yoga版安装笔记(十二)nova安装(下)

OpenStack Yoga版安装笔记(十二)nova安装(下)

5、Install and configure controller node for Ubuntu

注意安装版本为:nova 25.2.2.dev5

5.1 Prerequisites

在安装和配置compute service之前,需要先创建数据库、服务凭证(用户名/密码)、服务API端点。

1、Create the database:

  1. root@controller:~# mysql
  2. Welcome to the MariaDB monitor. Commands end with ; or \g.
  3. Your MariaDB connection id is 31
  4. Server version: 10.6.18-MariaDB-0ubuntu0.22.04.1 Ubuntu 22.04
  5. Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
  6. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  7. MariaDB [(none)]> CREATE DATABASE nova_api;
  8. Query OK, 1 row affected (0.001 sec)
  9. MariaDB [(none)]> CREATE DATABASE nova;
  10. Query OK, 1 row affected (0.000 sec)
  11. MariaDB [(none)]> CREATE DATABASE nova_cell0;
  12. Query OK, 1 row affected (0.000 sec)
  13. MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'localhost' \
  14. -> IDENTIFIED BY 'openstack';
  15. Query OK, 0 rows affected (0.002 sec)
  16. MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'%' \
  17. -> IDENTIFIED BY 'openstack';
  18. Query OK, 0 rows affected (0.001 sec)
  19. MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'localhost' \
  20. -> IDENTIFIED BY 'openstack';
  21. Query OK, 0 rows affected (0.001 sec)
  22. MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'%' \
  23. -> IDENTIFIED BY 'openstack';
  24. Query OK, 0 rows affected (0.001 sec)
  25. MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova_cell0.* TO 'nova'@'localhost' \
  26. -> IDENTIFIED BY 'openstack';
  27. Query OK, 0 rows affected (0.001 sec)
  28. MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova_cell0.* TO 'nova'@'%' \
  29. -> IDENTIFIED BY 'openstack';
  30. Query OK, 0 rows affected (0.001 sec)
  31. MariaDB [(none)]> quit
  32. Bye
  33. root@controller:~#

 2、Configure User and Endpoints

  1. root@controller:~# . admin-openrc
  2. root@controller ~(admin/amdin)# openstack user create --domain default --password-prompt nova
  3. User Password:
  4. Repeat User Password:
  5. +---------------------+----------------------------------+
  6. | Field | Value |
  7. +---------------------+----------------------------------+
  8. | domain_id | default |
  9. | enabled | True |
  10. | id | 107cee2c7dc34407bd41bea2e8ae4b2c |
  11. | name | nova |
  12. | options | {} |
  13. | password_expires_at | None |
  14. +---------------------+----------------------------------+
  15. root@controller ~(admin/amdin)# openstack role add --project service --user nova admin
  16. root@controller ~(admin/amdin)# openstack service create --name nova \
  17. > --description "OpenStack Compute" compute
  18. +-------------+----------------------------------+
  19. | Field | Value |
  20. +-------------+----------------------------------+
  21. | description | OpenStack Compute |
  22. | enabled | True |
  23. | id | 1b8f162ebcf848ee8bd69bc6b36a8dff |
  24. | name | nova |
  25. | type | compute |
  26. +-------------+----------------------------------+
  27. root@controller ~(admin/amdin)# openstack endpoint create --region RegionOne \
  28. > compute public http://controller:8774/v2.1
  29. +--------------+----------------------------------+
  30. | Field | Value |
  31. +--------------+----------------------------------+
  32. | enabled | True |
  33. | id | 56f7de504b8c46a8bf49ca95bb82b20a |
  34. | interface | public |
  35. | region | RegionOne |
  36. | region_id | RegionOne |
  37. | service_id | 1b8f162ebcf848ee8bd69bc6b36a8dff |
  38. | service_name | nova |
  39. | service_type | compute |
  40. | url | http://controller:8774/v2.1 |
  41. +--------------+----------------------------------+
  42. root@controller ~(admin/amdin)# openstack endpoint create --region RegionOne \
  43. > compute internal http://controller:8774/v2.1
  44. +--------------+----------------------------------+
  45. | Field | Value |
  46. +--------------+----------------------------------+
  47. | enabled | True |
  48. | id | 92a7d9dd7cce4678b280d143514bbed4 |
  49. | interface | internal |
  50. | region | RegionOne |
  51. | region_id | RegionOne |
  52. | service_id | 1b8f162ebcf848ee8bd69bc6b36a8dff |
  53. | service_name | nova |
  54. | service_type | compute |
  55. | url | http://controller:8774/v2.1 |
  56. +--------------+----------------------------------+
  57. root@controller ~(admin/amdin)# openstack endpoint create --region RegionOne \
  58. > compute admin http://controller:8774/v2.1
  59. +--------------+----------------------------------+
  60. | Field | Value |
  61. +--------------+----------------------------------+
  62. | enabled | True |
  63. | id | 9f112fb3f16441fc8f4314608aaad122 |
  64. | interface | admin |
  65. | region | RegionOne |
  66. | region_id | RegionOne |
  67. | service_id | 1b8f162ebcf848ee8bd69bc6b36a8dff |
  68. | service_name | nova |
  69. | service_type | compute |
  70. | url | http://controller:8774/v2.1 |
  71. +--------------+----------------------------------+
  72. root@controller ~(admin/amdin)#

5.2 Install and configure components

1、安装软件包

root@controller:~# apt install nova-api nova-conductor nova-novncproxy nova-scheduler

2、Edit the /etc/nova/nova.conf file

  1. root@controller:~# vi /etc/nova/nova.conf
  2. [api_database]
  3. # connection = sqlite:var/lib/nova/nova_api.sqlite
  4. connection = mysql+pymysql://nova:openstack@controller/nova_api
  5. ...
  6. [database]
  7. # connection = sqlite:var/lib/nova/nova.sqlite
  8. connection = mysql+pymysql://nova:openstack@controller/nova
  9. ...
  10. [DEFAULT]
  11. transport_url = rabbit://openstack:openstack@controller:5672/
  12. ...
  13. [api]
  14. auth_strategy = keystone
  15. ...
  16. [keystone_authtoken]
  17. www_authenticate_uri = http://controller:5000/
  18. auth_url = http://controller:5000/
  19. memcached_servers = controller:11211
  20. auth_type = password
  21. project_domain_name = Default
  22. user_domain_name = Default
  23. project_name = service
  24. username = nova
  25. password = openstack
  26. ...
  27. [service_user]
  28. send_service_user_token = true
  29. auth_url = https://controller/identity
  30. auth_strategy = keystone
  31. auth_type = password
  32. project_domain_name = Default
  33. project_name = service
  34. user_domain_name = Default
  35. username = nova
  36. password = openstack
  37. ...
  38. [DEFAULT]
  39. my_ip = 10.0.20.11
  40. ...
  41. [neutron]
  42. auth_url = http://controller:5000
  43. auth_type = password
  44. project_domain_name = default
  45. user_domain_name = default
  46. region_name = RegionOne
  47. project_name = service
  48. username = neutron
  49. password = openstack
  50. service_metadata_proxy = true
  51. metadata_proxy_shared_secret = openstack
  52. ...
  53. [vnc]
  54. enabled = true
  55. server_listen = $my_ip
  56. server_proxyclient_address = $my_ip
  57. ...
  58. [glance]
  59. api_servers = http://controller:9292
  60. ...
  61. [oslo_concurrency]
  62. lock_path = /var/lib/nova/tmp
  63. ...
  64. [DEFAULT]
  65. # log_dir = /var/log/nova
  66. ...
  67. [placement]
  68. region_name = RegionOne
  69. project_domain_name = Default
  70. project_name = service
  71. auth_type = password
  72. user_domain_name = Default
  73. auth_url = http://controller:5000/v3
  74. username = placement
  75. password = openstack

3、Populate the nova-api database:

  1. root@controller:~# su -s /bin/sh -c "nova-manage api_db sync" nova
  2. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  3. 2024-08-03 09:56:33.424 12329 INFO alembic.runtime.migration [-] Context impl MySQLImpl.
  4. 2024-08-03 09:56:33.425 12329 INFO alembic.runtime.migration [-] Will assume non-transactional DDL.
  5. 2024-08-03 09:56:33.432 12329 INFO alembic.runtime.migration [-] Running upgrade -> d67eeaabee36, Initial version
  6. 2024-08-03 09:56:33.631 12329 INFO alembic.runtime.migration [-] Running upgrade d67eeaabee36 -> b30f573d3377, Remove unused build_requests columns
  7. root@controller:~#

4、Register the cell0 database:

  1. root@controller:~# su -s /bin/sh -c "nova-manage cell_v2 map_cell0" nova
  2. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  3. root@controller:~#

5、Create the cell1 cell:

  1. root@controller:~# su -s /bin/sh -c "nova-manage cell_v2 create_cell --name=cell1 --verbose" nova
  2. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  3. --transport-url not provided in the command line, using the value [DEFAULT]/transport_url from the configuration file
  4. --database_connection not provided in the command line, using the value [database]/connection from the configuration file
  5. 8b1967df-7901-42b3-8b03-fc4e884f490d
  6. root@controller:~#

6、Populate the nova database:

  1. root@controller:~# su -s /bin/sh -c "nova-manage db sync" nova
  2. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  3. 2024-08-03 10:06:03.073 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Context impl MySQLImpl.
  4. 2024-08-03 10:06:03.073 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Will assume non-transactional DDL.
  5. 2024-08-03 10:06:03.080 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Running upgrade -> 8f2f1571d55b, Initial version
  6. 2024-08-03 10:06:03.879 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Running upgrade 8f2f1571d55b -> 16f1fbcab42b, Resolve shadow table diffs
  7. 2024-08-03 10:06:03.899 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Context impl MySQLImpl.
  8. 2024-08-03 10:06:03.899 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Will assume non-transactional DDL.
  9. 2024-08-03 10:06:03.905 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Running upgrade -> 8f2f1571d55b, Initial version
  10. 2024-08-03 10:06:04.629 14092 INFO alembic.runtime.migration [req-2c88e019-957e-4116-8e7c-29dd6243047c - - - - -] Running upgrade 8f2f1571d55b -> 16f1fbcab42b, Resolve shadow table diffs
  11. root@controller:~#

7、Verify nova cell0 and cell1 are registered correctly:

  1. root@controller:~# su -s /bin/sh -c "nova-manage cell_v2 list_cells" nova
  2. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  3. +-------+--------------------------------------+------------------------------------------+-------------------------------------------------+----------+
  4. | Name | UUID | Transport URL | Database Connection | Disabled |
  5. +-------+--------------------------------------+------------------------------------------+-------------------------------------------------+----------+
  6. | cell0 | 00000000-0000-0000-0000-000000000000 | none:/ | mysql+pymysql://nova:****@controller/nova_cell0 | False |
  7. | cell1 | 8b1967df-7901-42b3-8b03-fc4e884f490d | rabbit://openstack:****@controller:5672/ | mysql+pymysql://nova:****@controller/nova | False |
  8. +-------+--------------------------------------+------------------------------------------+-------------------------------------------------+----------+
  9. root@controller:~#

5.3 Finalize installation

Restart the Compute services:

  1. root@controller:~# service nova-api restart
  2. root@controller:~# service nova-scheduler restart
  3. root@controller:~# service nova-conductor restart
  4. root@controller:~# service nova-novncproxy restart
  5. root@controller:~#
  6. root@controller:~# systemctl | grep nova
  7. nova-api.service loaded active running OpenStack Compute API
  8. nova-conductor.service loaded active running OpenStack Compute Conductor
  9. nova-novncproxy.service loaded active running OpenStack Compute novncproxy
  10. nova-scheduler.service loaded active running OpenStack Compute Scheduler
  11. root@controller:~#

6、Install and configure a compute node for Ubuntu

计算服务(Compute Service)支持多种hypervisor来部署实例或虚拟机。为了简化配置,这里使用Quick EMUlator(QEMU)hypervisor,并在支持虚拟机硬件加速计算节点上结合了基于内核的虚拟机(KVM)扩展。在不支持硬件加速的传统硬件上,可以使用通用的QEMU hypervisor。另外可以通过简单修改这里的配置,增加额外的计算节点,从而水平扩展计算环境。

6.1 Install and configure components

root@compute1:~# apt install nova-compute

 6.2 Edit the /etc/nova/nova.conf file

  1. root@compute1:~# vi /etc/nova/nova.conf
  2. [DEFAULT]
  3. transport_url = rabbit://openstack:openstack@controller
  4. ...
  5. [api]
  6. auth_strategy = keystone
  7. ...
  8. [keystone_authtoken]
  9. www_authenticate_uri = http://controller:5000/
  10. auth_url = http://controller:5000/
  11. memcached_servers = controller:11211
  12. auth_type = password
  13. project_domain_name = Default
  14. user_domain_name = Default
  15. project_name = service
  16. username = nova
  17. password = openstack
  18. ...
  19. [service_user]
  20. send_service_user_token = true
  21. auth_url = https://controller/identity
  22. auth_strategy = keystone
  23. auth_type = password
  24. project_domain_name = Default
  25. project_name = service
  26. user_domain_name = Default
  27. username = nova
  28. password = openstack
  29. ...
  30. [DEFAULT]
  31. my_ip = 10.0.20.11
  32. ...
  33. [neutron]
  34. auth_url = http://controller:5000
  35. auth_type = password
  36. project_domain_name = default
  37. user_domain_name = default
  38. region_name = RegionOne
  39. project_name = service
  40. username = neutron
  41. password = openstack
  42. ...
  43. [glance]
  44. api_servers = http://controller:9292
  45. ...
  46. [oslo_concurrency]
  47. lock_path = /var/lib/nova/tmp
  48. ...
  49. [placement]
  50. region_name = RegionOne
  51. project_domain_name = Default
  52. project_name = service
  53. auth_type = password
  54. user_domain_name = Default
  55. auth_url = http://controller:5000/v3
  56. username = placement
  57. password = openstack

6.3 Finalize installation

1、检查计算节点(compute node)是否支持硬件虚拟化,返回1或者大于1,则支持;返回0则不支持:

  1. root@compute1:~# egrep -c '(vmx|svm)' /proc/cpuinfo
  2. 8

2、重启compute service:

  1. root@compute1:~# service nova-compute restart
  2. root@compute1:~# systemctl status nova-compute
  3. ● nova-compute.service - OpenStack Compute
  4. Loaded: loaded (/lib/systemd/system/nova-compute.service; enabled; vendor preset: enabled)
  5. Active: active (running) since Sat 2024-08-03 12:09:38 UTC; 1min 13s ago
  6. Main PID: 1167 (nova-compute)
  7. Tasks: 23 (limit: 4514)
  8. Memory: 122.8M
  9. CPU: 1.924s
  10. CGroup: /system.slice/nova-compute.service
  11. └─1167 /usr/bin/python3 /usr/bin/nova-compute --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf --log-file=/var
  12. /log/nova/nova-compute.log
  13. Aug 03 12:09:38 compute1 systemd[1]: Started OpenStack Compute.
  14. Aug 03 12:09:38 compute1 nova-compute[1167]: Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urlli
  15. b3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  16. root@compute1:~#

6.4 Add the compute node to the cell database

1、以admin的凭证获取admin-only openstack CLI,查看数据库是否有compute host:

  1. root@controller ~(admin/amdin)# cat admin-openrc
  2. export OS_PROJECT_DOMAIN_NAME=Default
  3. export OS_USER_DOMAIN_NAME=Default
  4. export OS_PROJECT_NAME=admin
  5. export OS_USERNAME=admin
  6. export OS_PASSWORD=openstack
  7. export OS_AUTH_URL=http://controller:5000/v3
  8. export OS_IDENTITY_API_VERSION=3
  9. export OS_IMAGE_API_VERSION=2
  10. export PS1='\u@\h \W(admin/amdin)\$ '
  11. root@controller ~(admin/amdin)#
  12. root@controller:~# . admin-openrc
  13. root@controller ~(admin/amdin)# openstack compute service list --service nova-compute
  14. +--------------------------------------+--------------+----------+------+---------+-------+----------------------------+
  15. | ID | Binary | Host | Zone | Status | State | Updated At |
  16. +--------------------------------------+--------------+----------+------+---------+-------+----------------------------+
  17. | c04e53a4-fdb8-4915-9b1a-f5d195e753c4 | nova-compute | compute1 | nova | enabled | up | 2024-08-03T12:14:15.000000 |
  18. +--------------------------------------+--------------+----------+------+---------+-------+----------------------------+

 2、Discover compute hosts:

  1. root@controller:~# su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
  2. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  3. Found 2 cell mappings.
  4. Skipping cell0 since it does not contain hosts.
  5. Getting computes from cell 'cell1': 8b1967df-7901-42b3-8b03-fc4e884f490d
  6. Checking host mapping for compute host 'compute1': 205c89e0-fb82-4def-a0f6-bfe4b120ab79
  7. Creating host mapping for compute host 'compute1': 205c89e0-fb82-4def-a0f6-bfe4b120ab79
  8. Found 1 unmapped computes in cell: 8b1967df-7901-42b3-8b03-fc4e884f490d
  9. root@controller:~#
  10. root@controller:~# nova-manage cell_v2 list_hosts --cell_uuid 8b1967df-7901-42b3-8b03-fc4e884f490d
  11. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  12. +-----------+--------------------------------------+----------+
  13. | Cell Name | Cell UUID | Hostname |
  14. +-----------+--------------------------------------+----------+
  15. | cell1 | 8b1967df-7901-42b3-8b03-fc4e884f490d | compute1 |
  16. +-----------+--------------------------------------+----------+
  17. root@controller:~#
  18. root@controller:~# su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
  19. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  20. Found 2 cell mappings.
  21. Skipping cell0 since it does not contain hosts.
  22. Getting computes from cell 'cell1': 8b1967df-7901-42b3-8b03-fc4e884f490d
  23. Found 0 unmapped computes in cell: 8b1967df-7901-42b3-8b03-fc4e884f490d
  24. root@controller:~#
  25. root@controller:~# nova-manage cell_v2 list_hosts --cell_uuid 8b1967df-7901-42b3-8b03-fc4e884f490d
  26. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  27. +-----------+--------------------------------------+----------+
  28. | Cell Name | Cell UUID | Hostname |
  29. +-----------+--------------------------------------+----------+
  30. | cell1 | 8b1967df-7901-42b3-8b03-fc4e884f490d | compute1 |
  31. +-----------+--------------------------------------+----------+
  32. root@controller:~#

当您添加新的计算节点时,您必须在控制节点上运行 nova-manage cell_v2 discover_hosts 命令来注册这些新的计算节点。

7、Verify operation

1、Source the admin credentials to gain access to admin-only CLI commands:

  1. root@controller:~# . admin-openrc
  2. root@controller ~(admin/amdin)#

2、List service components to verify successful launch and registration of each process:

  1. root@controller ~(admin/amdin)# openstack compute service list
  2. +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
  3. | ID | Binary | Host | Zone | Status | State | Updated At |
  4. +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
  5. | b935d869-0102-45c0-8b24-e338c5606890 | nova-scheduler | controller | internal | enabled | up | 2024-08-03T12:36:55.000000 |
  6. | e4929b42-af08-449f-b703-c0fc36c4220b | nova-conductor | controller | internal | enabled | up | 2024-08-03T12:37:02.000000 |
  7. | c04e53a4-fdb8-4915-9b1a-f5d195e753c4 | nova-compute | compute1 | nova | enabled | up | 2024-08-03T12:36:56.000000 |
  8. +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+

3、List API endpoints in the Identity service to verify connectivity with the Identity service:

  1. root@controller ~(admin/amdin)# openstack catalog list
  2. +-----------+-----------+-----------------------------------------+
  3. | Name | Type | Endpoints |
  4. +-----------+-----------+-----------------------------------------+
  5. | nova | compute | RegionOne |
  6. | | | public: http://controller:8774/v2.1 |
  7. | | | RegionOne |
  8. | | | internal: http://controller:8774/v2.1 |
  9. | | | RegionOne |
  10. | | | admin: http://controller:8774/v2.1 |
  11. | | | |
  12. | placement | placement | RegionOne |
  13. | | | internal: http://controller:8778 |
  14. | | | RegionOne |
  15. | | | admin: http://controller:8778 |
  16. | | | RegionOne |
  17. | | | public: http://controller:8778 |
  18. | | | |
  19. | keystone | identity | RegionOne |
  20. | | | admin: http://controller:5000/v3/ |
  21. | | | RegionOne |
  22. | | | internal: http://controller:5000/v3/ |
  23. | | | RegionOne |
  24. | | | public: http://controller:5000/v3/ |
  25. | | | |
  26. | glance | image | RegionOne |
  27. | | | admin: http://controller:9292 |
  28. | | | RegionOne |
  29. | | | internal: http://controller:9292 |
  30. | | | RegionOne |
  31. | | | public: http://controller:9292 |
  32. | | | |
  33. +-----------+-----------+-----------------------------------------+
  34. root@controller ~(admin/amdin)#

4、List images in the Image service to verify connectivity with the Image service:

  1. root@controller ~(admin/amdin)# openstack image list
  2. +--------------------------------------+--------+--------+
  3. | ID | Name | Status |
  4. +--------------------------------------+--------+--------+
  5. | 429decdd-9230-49c0-b735-70364c226eb5 | cirros | active |
  6. +--------------------------------------+--------+--------+

5、Check the cells and placement API are working successfully and that other necessary prerequisites are in place:

  1. root@controller ~(admin/amdin)# nova-status upgrade check
  2. Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
  3. +-------------------------------------------+
  4. | Upgrade Check Results |
  5. +-------------------------------------------+
  6. | Check: Cells v2 |
  7. | Result: Success |
  8. | Details: None |
  9. +-------------------------------------------+
  10. | Check: Placement API |
  11. | Result: Success |
  12. | Details: None |
  13. +-------------------------------------------+
  14. | Check: Cinder API |
  15. | Result: Success |
  16. | Details: None |
  17. +-------------------------------------------+
  18. | Check: Policy Scope-based Defaults |
  19. | Result: Success |
  20. | Details: None |
  21. +-------------------------------------------+
  22. | Check: Policy File JSON to YAML Migration |
  23. | Result: Success |
  24. | Details: None |
  25. +-------------------------------------------+
  26. | Check: Older than N-1 computes |
  27. | Result: Success |
  28. | Details: None |
  29. +-------------------------------------------+
  30. | Check: hw_machine_type unset |
  31. | Result: Success |
  32. | Details: None |
  33. +-------------------------------------------+
  34. | Check: Service User Token Configuration |
  35. | Result: Success |
  36. | Details: None |
  37. +-------------------------------------------+
  38. root@controller ~(admin/amdin)#

8、关闭虚机,拍摄快照

关闭controller node和compute node虚机,拍摄快照(可参考之前的章节)。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/人工智能uu/article/detail/951569
推荐阅读
相关标签
  

闽ICP备14008679号