[Starlingx-discuss] How to power off an active controller via VM? (STX R1.0)

Ezpeer Chen ezpeerchen at gmail.com
Wed Aug 21 02:12:47 UTC 2019


Dear Elio,

>From the STX R1.0 testplan:
https://wiki.openstack.org/wiki/StarlingX/stx.2018.10_Testplan_Instructions

Testplan:
- An active controller can be power off/on via VM.




I want to know how to power off an active controller via VM?

I can't find any command about this.

Thanks



Martinez Monroy, Elio <elio.martinez.monroy at intel.com> 於 2019年8月20日 週二
下午11:58寫道:

> Hi Chen, it seems that you want to turn off  the active controller, the
> system is protecting for doing that. That is because is saying that you
> need to lock it first.
>
>
>
> My suggestion should be to swact controller in case that you have more
> than one controller nodes. If you don’t then you can try to turn it down
> using your BMC ip with ipmitool.
>
>
>
> Besides that. Im guessing that when you say VM , it is a virtual
> environment. Then you can use virsh.
>
>
>
> Please correct me if I’m making wrong asummptions.
>
>
>
> BR
>
>
>
> Elio
>
>
>
> *From:* Xie, Cindy
> *Sent:* Tuesday, August 20, 2019 7:52 AM
> *To:* Ezpeer Chen <ezpeerchen at gmail.com>; Hu, Yong <yong.hu at intel.com>;
> Martinez Monroy, Elio <elio.martinez.monroy at intel.com>
> *Cc:* starlingx-discuss at lists.starlingx.io
> *Subject:* RE: [Starlingx-discuss] How to power off an active controller
> via VM? (STX R1.0)
>
>
>
> Hi, Ezpeer,
>
> I am adding Elio, who may know how to execute those test steps.
>
>
>
> Thanks. - cindy
>
>
>
> *From:* Ezpeer Chen [mailto:ezpeerchen at gmail.com <ezpeerchen at gmail.com>]
> *Sent:* Tuesday, August 20, 2019 11:53 AM
> *To:* Hu, Yong <yong.hu at intel.com>
> *Cc:* starlingx-discuss at lists.starlingx.io
> *Subject:* Re: [Starlingx-discuss] How to power off an active controller
> via VM? (STX R1.0)
>
>
>
> Dear Yong,
>
>
>
> =============================================================
>
> [wrsroot at controller-0 ~(keystone_admin)]$ system host-power-off
> controller-0
> Can not 'Power-Off' an 'unlocked' host controller-0; Please 'Lock' first
> [wrsroot at controller-0 ~(keystone_admin)]$ system host-lock controller-0
> controller-0 : Rejected: Can not lock an active controller.
> [wrsroot at controller-0 ~(keystone_admin)]$
> [wrsroot at controller-0 ~(keystone_admin)]$
> =============================================================
>
>
>
> I don't know how to power off an active controller via VM?
>
>
>
> There's no Instructions about VM.?
>
>
>
>
>
> Thanks
>
>
>
>
>
> Yong Hu <yong.hu at intel.com> 於 2019年8月20日 週二 上午12:32寫道:
>
> Did the test steps in this test_plan page answer your question?
> Or you tried the steps but saw issues?
>
>
> On 18/08/2019 8:29 PM, Ezpeer Chen wrote:
> > Dear all,
> >
> >
> > How to power off an active controller via VM?
> >
> >  From the STX R1.0 testplan:
> >
> https://wiki.openstack.org/wiki/StarlingX/stx.2018.10_Testplan_Instructions
> >
> > - An active controller can be power off/on via VM.
> >
> >
> >
> >
> > Thanks
> >
> > _______________________________________________
> > Starlingx-discuss mailing list
> > Starlingx-discuss at lists.starlingx.io
> > http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
> >
>
> _______________________________________________
> Starlingx-discuss mailing list
> Starlingx-discuss at lists.starlingx.io
> http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190821/8a5a703b/attachment-0001.html>


More information about the Starlingx-discuss mailing list