[tripleo] Scale up/down Ansible tasks

Martin Schuppert mschuppert at redhat.com
Thu Apr 11 12:27:40 UTC 2019


On Thu, Apr 11, 2019 at 2:20 PM Emilien Macchi <emilien at redhat.com> wrote:

> 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?
>

No, right now those are manual tasks, but Rajesh could help on this.

Regards,
Martin



> --
> Emilien Macchi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190411/0e151fe6/attachment.html>


More information about the openstack-discuss mailing list