osdir.com


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

[tripleo] Scale up/down Ansible tasks


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

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

I'm prototyping it on https://review.openstack.org/#/c/653893/ - I'll
iterate on that patch and once it works I'll tackle Neutron. Feedback is
welcome!
-- 
Emilien Macchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190418/a5da4d49/attachment-0001.html>