Install and configure a compute node for Red Hat Enterprise Linux and CentOS in nova

Bug #1955633 reported by Ricardo Diaz Campos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Low
Unassigned

Bug Description

When configuring nova-compute in Xena, it is necessary to include in the documentation something like "In the [DEFAULT] section, configure the state_path option: state_path=/var/lib/nova". Otherwise, state_path is set to "/usr/lib/python3.6/site-packages/" and "ERROR nova.compute.manager FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.6/site-packages/instances" can be seen in the log when starting the nova-compute service.

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [ ] This doc is inaccurate in this way: ______
- [x] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.

If you have a troubleshooting or support issue, use the following resources:

 - The mailing list: https://lists.openstack.org
 - IRC: 'openstack' channel on OFTC

-----------------------------------
Release: 24.0.1.dev10 on 2019-11-27 17:09:44
SHA: 6b108d92df0d776e6acb82dab1ff2f7f38f20073
Source: https://opendev.org/openstack/nova/src/doc/source/install/compute-install-rdo.rst
URL: https://docs.openstack.org/nova/xena/install/compute-install-rdo.html

Tags: doc
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Changed in nova:
assignee: nobody → HanGuangyu (hanguangyu)
Revision history for this message
Phillip (phil1x) wrote :

Just have been bitten by this bug. But before it, it was throwing an error about the compute driver:

ERROR nova.virt.driver [req-00c7fc03-5657-45ab-b656-e24002e6d52d - - - - -] Compute driver option required, but not specified

So, the driver has to set as well on [DEFAULT]:
compute_driver=libvirt.LibvirtDriver

Changed in nova:
assignee: Han Guangyu (han-guangyu) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.