[openstack-dev] [ironic] SOFT_REBOOT powers off/on the server

2018-06-25 Thread Lenny Berkhovsky
Hi,
Is there a reason for powering off and on[1] instead of resetting server during 
SOFT_REBOOT?
I have a patchset[2] that resets the server instead of power cycling it.

[1] 
https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/ipmitool.py#L820
  elif power_state == states.SOFT_REBOOT:
_soft_power_off(task, driver_info, timeout=timeout)
driver_utils.ensure_next_boot_device(task, driver_info)
_power_on(task, driver_info, timeout=timeout)

[2] https://review.openstack.org/#/c/577748/

Lenny Verkhovsky
( aka lennyb )
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Is there any way to recheck only one job?

2018-04-30 Thread Lenny Berkhovsky
If your CI is using zuul, then you can try updating your zuul gerrit event 
comment in /etc/zuul/layout/layout.yaml accordingly.
Since most ( if not all ) Cis are triggered by 'recheck' comment you can use 
your custom one.

precedence: low
trigger:
  gerrit:
- event: patchset-created
- event: change-restored
- event: comment-added
  comment: 

Lenny

-Original Message-
From: Slawomir Kaplonski [mailto:skapl...@redhat.com] 
Sent: Monday, April 30, 2018 10:13 AM
To: OpenStack Development Mailing List (not for usage questions) 

Subject: [openstack-dev] Is there any way to recheck only one job?

Hi,

I wonder if there is any way to recheck only one type of job instead of 
rechecking everything.
For example sometimes I have to debug some random failure in specific job type, 
like „neutron-fullstack” and I want to collect some additional data or test 
something. So in such case I push some „Do not merge” patch and waits for job 
result - but I really don’t care about e.g. pep8 or UT results so would be good 
is I could run (recheck) only job which I want. That could safe some resources 
for other jobs and speed up my tests a little as I could be able to recheck 
only my job faster :)

Is there any way that I can do it with gerrit and zuul currently? Or maybe it 
could be consider as a new feature to add? What do You think about it?

— 
Best regards
Slawek Kaplonski
skapl...@redhat.com


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack-dev=02%7C01%7Clennyb%40mellanox.com%7C2e90994f3c63470d179108d5ae69da93%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636606692019701457=pd7%2FN8Tlpsxo7fYW7bbyy1UV4JlRTT6OWlnVp6qMZ44%3D=0
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev