[Starlingx-discuss] how to modify nova.conf?
Hi All, In some case, I need to modify /etc/nova/nova.conf. But it will recover to original after reboot. Are there some way to persist nova.conf? Thanks Kunpeng
StarlingX is a managed system; modifying conf/ini files manually is not supported. All system configuration changes should be done via: nova, openstack, neutron, system, cinder, etc.... Regards -Chris ________________________________ From: 张鲲鹏 [zhang.kunpeng@99cloud.net] Sent: Monday, April 08, 2019 1:09 AM To: starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] how to modify nova.conf? Hi All, In some case, I need to modify /etc/nova/nova.conf. But it will recover to original after reboot. Are there some way to persist nova.conf? Thanks Kunpeng
For quick designer testing, you can modify nova.conf by altering /opt/platform/armada/19.01/stx-openstack-manifest.yaml on the active controller. Find the openstack-nova schema section and then alter values in data.values.conf.nova: schema: armada/Chart/v1 metadata: schema: metadata/Document/v1 name: openstack-nova data: chart_name: nova release: openstack-nova namespace: openstack … values: … conf: ceph: enabled: true nova: DEFAULT: default_mempages_size: 2048 reserved_host_memory_mb: 0 compute_monitors: cpu.virt_driver Then restart the appropriate pods from platform cli via: system application-apply Gerry From: Winnicki, Chris [mailto:Chris.Winnicki@windriver.com] Sent: Monday, April 08, 2019 1:15 PM To: 张鲲鹏; starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] how to modify nova.conf? StarlingX is a managed system; modifying conf/ini files manually is not supported. All system configuration changes should be done via: nova, openstack, neutron, system, cinder, etc.... Regards -Chris ________________________________ From: 张鲲鹏 [zhang.kunpeng@99cloud.net] Sent: Monday, April 08, 2019 1:09 AM To: starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] how to modify nova.conf? Hi All, In some case, I need to modify /etc/nova/nova.conf. But it will recover to original after reboot. Are there some way to persist nova.conf? Thanks Kunpeng
Or update the helm override. Example: system helm-override-update --set conf.nova.DEFAULT.default_mempages_size=<new_value> nova openstack system application-apply stx-openstack From: Kopec, Gerald (Gerry) [mailto:Gerry.Kopec@windriver.com] Sent: April-08-19 4:24 PM To: 张鲲鹏 Cc: Winnicki, Chris; starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] how to modify nova.conf? For quick designer testing, you can modify nova.conf by altering /opt/platform/armada/19.01/stx-openstack-manifest.yaml on the active controller. Find the openstack-nova schema section and then alter values in data.values.conf.nova: schema: armada/Chart/v1 metadata: schema: metadata/Document/v1 name: openstack-nova data: chart_name: nova release: openstack-nova namespace: openstack … values: … conf: ceph: enabled: true nova: DEFAULT: default_mempages_size: 2048 reserved_host_memory_mb: 0 compute_monitors: cpu.virt_driver Then restart the appropriate pods from platform cli via: system application-apply Gerry From: Winnicki, Chris [mailto:Chris.Winnicki@windriver.com] Sent: Monday, April 08, 2019 1:15 PM To: 张鲲鹏; starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] how to modify nova.conf? StarlingX is a managed system; modifying conf/ini files manually is not supported. All system configuration changes should be done via: nova, openstack, neutron, system, cinder, etc.... Regards -Chris ________________________________ From: 张鲲鹏 [zhang.kunpeng@99cloud.net] Sent: Monday, April 08, 2019 1:09 AM To: starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] how to modify nova.conf? Hi All, In some case, I need to modify /etc/nova/nova.conf. But it will recover to original after reboot. Are there some way to persist nova.conf? Thanks Kunpeng
This is the officially-supported way of changing the configuration. Chris On 4/8/2019 2:41 PM, Liu, Yang wrote:
Or update the helm override. Example:
system helm-override-update --set conf.nova.DEFAULT.default_mempages_size=<new_value> nova openstack
system application-apply stx-openstack
*From:*Kopec, Gerald (Gerry) [mailto:Gerry.Kopec@windriver.com] *Sent:* April-08-19 4:24 PM *To:* 张鲲鹏 *Cc:* Winnicki, Chris; starlingx-discuss@lists.starlingx.io *Subject:* Re: [Starlingx-discuss] how to modify nova.conf?
For quick designer testing, you can modify nova.conf by altering /opt/platform/armada/19.01/stx-openstack-manifest.yaml on the active controller.
Find the openstack-nova schema section and then alter values in data.values.conf.nova:
schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: openstack-nova
data:
chart_name: nova
release: openstack-nova
namespace: openstack
…
values:
…
conf:
ceph:
enabled: true
nova:
DEFAULT:
default_mempages_size: 2048
reserved_host_memory_mb: 0
compute_monitors: cpu.virt_driver
Then restart the appropriate pods from platform cli via: system application-apply
Gerry
*From:*Winnicki, Chris [mailto:Chris.Winnicki@windriver.com] *Sent:* Monday, April 08, 2019 1:15 PM *To:* 张鲲鹏; starlingx-discuss@lists.starlingx.io *Subject:* Re: [Starlingx-discuss] how to modify nova.conf?
StarlingX is a managed system; modifying conf/ini files manually is not supported. All system configuration changes should be done via: nova, openstack, neutron, system, cinder, etc....
Regards
-Chris
------------------------------------------------------------------------
*From:*张鲲鹏[zhang.kunpeng@99cloud.net] *Sent:* Monday, April 08, 2019 1:09 AM *To:* starlingx-discuss@lists.starlingx.io *Subject:* [Starlingx-discuss] how to modify nova.conf?
Hi All,
In some case, I need to modify /etc/nova/nova.conf. But it will recover to
original after reboot. Are there some way to *persist nova.conf?*
*Thanks*
*Kunpeng*
_______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
participants (5)
-
Chris Friesen
-
Kopec, Gerald (Gerry)
-
Liu, Yang
-
Winnicki, Chris
-
张鲲鹏