Commit Graph

9 Commits

Author SHA1 Message Date
Sławek Kapłoński dac7f02d0a Remove lib/neutron-legacy leftovers
In [1] we finally got rid of the unfinished lib/neutron module and kept
only lib/neutron-legacy. It's renamed to lib/neutron now and it's the
only neutron related module in Devstack.
So this patch removes leftovers related to the old lib/neutron-legacy.

[1] https://review.opendev.org/c/openstack/devstack/+/865014

Change-Id: I698d87eba1fd92abfc4f631dc6109004d8bc827e
2022-12-20 11:19:31 +01:00
Kaifeng Wang a228912827 Wrap rpc server into oslo.service
This patch is part of work splitting inspector api and worker.
The rpc server is wrapped into oslo.service, and launched from
api process.

Now api and worker belongs to separate thread, functional tests
use the fake messaging driver, while devstack jobs use rabbitmq.

Change-Id: Ie03d16f9d115c3561723463dea6a57d2a763bcc6
Story: #2001842
Task: #23109
2018-10-23 09:17:42 +08:00
dparalen bea2df1b3f fix dvsm config deprecations
The [firewall] group was deprecated but our devstack still uses it.  This
patch replaces the IRONIC_INSPECTOR_MANAGE_FIREWALL=True/False variable
with an IRONIC_INSPECTOR_DHCP_FILTER variable with a default of 'iptables'
and sets the [pxe_filter]driver config value. The
IRONIC_INSPECTOR_INTERFACE is now set in the [iptables] config section.

Change-Id: Icf6fe6c6a98ab815edefe3c0e1ec3ce9a064bf2e
2017-12-13 14:10:47 +01:00
Dmitry Tantsur 208b66dadf Remove ensure_logs_exist check during upgrade
We now run services under systemd, and this check is not necessary in
this case. Follow-up to commit ee538d1e7c1a92cb8412713e03cdfbcdacad7fab
to grenade.

Change-Id: I6371b7a244c1aebfba5cb46a595a7bf43a4ee454
Depends-On: I0d6d3e9e60785bb9b6a10c8c7a07867a5b2a5e6e
2017-08-18 11:28:46 +00:00
Dmitry Tantsur e0f8b23116 Make grenade actually upgrade our source code
stack_install_service is a no-op for us due to naming mismatch.

Change-Id: I46424bcf4f197a2a283529ceec231fdabd2c6693
2017-01-24 15:53:35 +01:00
Anton Arefiev bcfc86ee67 Remove upgrade from non-ironic setup
Grenade should only upgrade, and shouldn't setup new services,
remove setup code for case inspector is missing during upgrade.

Also ironic doesn't support this anymore, related code was removed
Id7159aac8c8a343e3d20561cedc4722d87d3e776.

Change-Id: I867215574af7135103876d8004241761a5e2c683
2016-12-08 13:25:04 +02:00
Vasyl Saienko 5de0c24676 Do not source old/localrc twise in grenade
By sourcing localrc second time we try to enable ironic plugin
one more time witch is not allowed by [0]

This patch checks if ironic was enabled or not in base environment
without sourcing localrc.

[0] https://review.openstack.org/#/c/396794/

Change-Id: I432c243c66c0d11adcf4c6568968fbeaaf9acdcd
2016-12-01 11:46:34 +02:00
Anton Arefiev 253fd3704b Don't recreate db during grenade upgrade
Recreating db means skip testing migration of created resources,
which was created during introspection.

Change-Id: I4d94a5d03f4bbdec021d328928afd7c3fda49155
Closes-Bug: 1644204
2016-11-23 13:41:54 +02:00
dparalen 99c81d9c60 Introduce upgrade testing with Grenade
This change makes it possible to run Grenade jobs on ironic-inspector.
The only thing tested in this patch is that ironic-inspector actually
comes up after upgrade from a previous version. We will make it run
actual introspection tests in the next patch.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Change-Id: I79e7ecaa89936144b63a72baf8460ae6ad139890
2016-07-01 10:11:48 +02:00