git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tripleo] Scale up/down Ansible tasks


On Thu, Apr 11, 2019 at 3:23 AM Martin Schuppert <mschuppert at redhat.com>
wrote:

> For nova/neutron it would be to disable the service/agent:
>
> (overcloud) $ openstack compute service list
> (overcloud) $ openstack compute service set [hostname] nova-compute
> --disable
>
> (overcloud) $ openstack network agent list
> (overcloud) $ openstack network agent set --disable [openvswitch-agent-id]
>
> After service is stopped/or host delete
> (overcloud) $ openstack compute service delete [service-id]
> (overcloud) $ openstack network agent delete [openvswitch-agent-id]
>

Ok so these commands would need to be executed from the Undercloud in the
mistral_container, since they do nothing on local nodes but just do CLI
against APIs.
I take note and will make sure it's possible.

Do you folks already have some playbooks doing these things or should we
start from scratch?
-- 
Emilien Macchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190411/5118c81c/attachment.html>