Pg_num values were increased to avoid ceph health warning
that occurs on larger systems due to the default
pg_num settings not being large enough.
Signed-off-by: Elena Taivan <email@example.com>
The commit that we are reverting broke the normal lock/unlock
case when stx-openstack is applied. More specifically,
the mariadb pod failed to start when stx-openstack
was applied automatically after unlock.
This reverts commit 754a1d33de.
The dbapi calls in nova and neutron plugins scale linearly with
the number of worker nodes which results in poor performance on
a large number of nodes system.
Currently, the dbapi calls get invoked for each of worker node.
This commit reduces it to a certain number of calls.
Tested stx-openstack upload and apply on a lab with 6 worker nodes.
The time of override generation for nova reduced from 11s to 0.6s
and for neutron reduced from 24s to 0.2s.
Also tested on vbox and lab has "vf" type of interface. Verified
the content of generated overrides are same as before.
Signed-off-by: Angie Wang <firstname.lastname@example.org>
Currently, all of the stx-openstack services have the
replica count set to the number of the controllers.
If one of the controllers is locked their replicas
number will still be 2 which is incorrect.
We solve this by changing the number of replicas
to be equal to the number of the active controllers.
The rabbitmq service cannot use this approach because
it is unable to work properly if its replicas number
is decreasaed from 2 to 1. So a kubernetes toleration
is used here to allow the second rabbitmq pod to be
deployed on the locked controller.
Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com>
By default, nova-compute has the NUMA-aware vswitch feature
enabled. This can be restrictive to users and, if needed,
users can use the sysinv helm-overrides commands to enable
Partial revert of 1a923c8474b0e4d7ef78b3444d131682babfe6aa
Signed-off-by: Stefan Dinescu <email@example.com>
This creates a new package spec called python-k8sapp-openstack that will
hold all the stevedore plugins needed to support the application. This
spec will build two packages python-k8sapp-openstack and
These packages are included in the build dependencies for the
stx-openstack-helm application package build where the wheels file is
included in the application tarball.
The helm and armada plugins have been relocated to this repo and
provided in a k8sapp_openstack python module. This module will be
extracted from the wheels and installed on the platform via the sysinv
application framework. The module will be made available when the
application is enabled.
Signed-off-by: Robert Church <firstname.lastname@example.org>