Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread JAEHOON KIM
On 6/9/2025 9:57 AM, Daniel P. Berrangé wrote: On Mon, Jun 09, 2025 at 09:54:02AM -0500, JAEHOON KIM wrote: On 6/9/2025 8:50 AM, Daniel P. Berrangé wrote: On Mon, Jun 09, 2025 at 09:39:48AM -0400, Steven Sistare wrote: On 6/9/2025 9:20 AM, Daniel P. Berrangé wrote: On Mon, Jun 09, 2025 at 0

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread Daniel P . Berrangé
On Mon, Jun 09, 2025 at 09:54:02AM -0500, JAEHOON KIM wrote: > > On 6/9/2025 8:50 AM, Daniel P. Berrangé wrote: > > On Mon, Jun 09, 2025 at 09:39:48AM -0400, Steven Sistare wrote: > > > On 6/9/2025 9:20 AM, Daniel P. Berrangé wrote: > > > > On Mon, Jun 09, 2025 at 09:12:27AM -0400, Steven Sistare

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread JAEHOON KIM
On 6/9/2025 8:50 AM, Daniel P. Berrangé wrote: On Mon, Jun 09, 2025 at 09:39:48AM -0400, Steven Sistare wrote: On 6/9/2025 9:20 AM, Daniel P. Berrangé wrote: On Mon, Jun 09, 2025 at 09:12:27AM -0400, Steven Sistare wrote: On 6/9/2025 4:06 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread Daniel P . Berrangé
On Mon, Jun 09, 2025 at 09:39:48AM -0400, Steven Sistare wrote: > On 6/9/2025 9:20 AM, Daniel P. Berrangé wrote: > > On Mon, Jun 09, 2025 at 09:12:27AM -0400, Steven Sistare wrote: > > > On 6/9/2025 4:06 AM, Daniel P. Berrangé wrote: > > > > On Fri, Jun 06, 2025 at 03:37:56PM -0400, Steven Sistare

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread JAEHOON KIM
On 6/9/2025 8:39 AM, Steven Sistare wrote: On 6/9/2025 9:20 AM, Daniel P. Berrangé wrote: On Mon, Jun 09, 2025 at 09:12:27AM -0400, Steven Sistare wrote: On 6/9/2025 4:06 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 03:37:56PM -0400, Steven Sistare wrote: The easiest solution, with

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread Steven Sistare
On 6/9/2025 9:20 AM, Daniel P. Berrangé wrote: On Mon, Jun 09, 2025 at 09:12:27AM -0400, Steven Sistare wrote: On 6/9/2025 4:06 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 03:37:56PM -0400, Steven Sistare wrote: The easiest solution, with no interface changes, is adding wait_for_soc

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread Daniel P . Berrangé
On Mon, Jun 09, 2025 at 09:12:27AM -0400, Steven Sistare wrote: > On 6/9/2025 4:06 AM, Daniel P. Berrangé wrote: > > On Fri, Jun 06, 2025 at 03:37:56PM -0400, Steven Sistare wrote: > > > > > > The easiest solution, with no interface changes, is adding > > > wait_for_socket() in qtest, > > > with

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread Steven Sistare
On 6/9/2025 4:06 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 03:37:56PM -0400, Steven Sistare wrote: On 6/6/2025 2:06 PM, JAEHOON KIM wrote: On 6/6/2025 12:04 PM, Steven Sistare wrote: On 6/6/2025 12:06 PM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 11:50:10AM -0400, Steven S

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-09 Thread Daniel P . Berrangé
On Fri, Jun 06, 2025 at 03:37:56PM -0400, Steven Sistare wrote: > On 6/6/2025 2:06 PM, JAEHOON KIM wrote: > > On 6/6/2025 12:04 PM, Steven Sistare wrote: > > > On 6/6/2025 12:06 PM, Daniel P. Berrangé wrote: > > > > On Fri, Jun 06, 2025 at 11:50:10AM -0400, Steven Sistare wrote: > > > > > On 6/6/20

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-08 Thread JAEHOON KIM
On 6/6/2025 2:37 PM, Steven Sistare wrote: On 6/6/2025 2:06 PM, JAEHOON KIM wrote: On 6/6/2025 12:04 PM, Steven Sistare wrote: On 6/6/2025 12:06 PM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 11:50:10AM -0400, Steven Sistare wrote: On 6/6/2025 11:43 AM, Daniel P. Berrangé wrote: On

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Steven Sistare
On 6/6/2025 2:06 PM, JAEHOON KIM wrote: On 6/6/2025 12:04 PM, Steven Sistare wrote: On 6/6/2025 12:06 PM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 11:50:10AM -0400, Steven Sistare wrote: On 6/6/2025 11:43 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 10:37:28AM -0500, JAEHOON

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread JAEHOON KIM
On 6/6/2025 12:04 PM, Steven Sistare wrote: On 6/6/2025 12:06 PM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 11:50:10AM -0400, Steven Sistare wrote: On 6/6/2025 11:43 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 10:37:28AM -0500, JAEHOON KIM wrote: On 6/6/2025 10:12 AM, Stev

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Steven Sistare
On 6/6/2025 12:06 PM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 11:50:10AM -0400, Steven Sistare wrote: On 6/6/2025 11:43 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 10:37:28AM -0500, JAEHOON KIM wrote: On 6/6/2025 10:12 AM, Steven Sistare wrote: On 6/6/2025 11:06 AM, JAEHOO

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Daniel P . Berrangé
On Fri, Jun 06, 2025 at 11:50:10AM -0400, Steven Sistare wrote: > On 6/6/2025 11:43 AM, Daniel P. Berrangé wrote: > > On Fri, Jun 06, 2025 at 10:37:28AM -0500, JAEHOON KIM wrote: > > > On 6/6/2025 10:12 AM, Steven Sistare wrote: > > > > On 6/6/2025 11:06 AM, JAEHOON KIM wrote: > > > > > On 6/6/2025

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Steven Sistare
On 6/6/2025 11:43 AM, Daniel P. Berrangé wrote: On Fri, Jun 06, 2025 at 10:37:28AM -0500, JAEHOON KIM wrote: On 6/6/2025 10:12 AM, Steven Sistare wrote: On 6/6/2025 11:06 AM, JAEHOON KIM wrote: On 6/6/2025 9:14 AM, Steven Sistare wrote: On 6/6/2025 9:53 AM, Daniel P. Berrangé wrote: On Thu,

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Daniel P . Berrangé
On Fri, Jun 06, 2025 at 09:48:41AM -0500, JAEHOON KIM wrote: > > On 6/6/2025 8:40 AM, Fabiano Rosas wrote: > > Jaehoon Kim writes: > > > > > When the source VM attempts to connect to the destination VM's Unix > > > domain socket(cpr.sock) during CPR transfer, the socket file might not > > > yet b

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Daniel P . Berrangé
On Fri, Jun 06, 2025 at 10:37:28AM -0500, JAEHOON KIM wrote: > > On 6/6/2025 10:12 AM, Steven Sistare wrote: > > On 6/6/2025 11:06 AM, JAEHOON KIM wrote: > > > On 6/6/2025 9:14 AM, Steven Sistare wrote: > > > > On 6/6/2025 9:53 AM, Daniel P. Berrangé wrote: > > > > > On Thu, Jun 05, 2025 at 06:08:

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread JAEHOON KIM
On 6/6/2025 10:12 AM, Steven Sistare wrote: On 6/6/2025 11:06 AM, JAEHOON KIM wrote: On 6/6/2025 9:14 AM, Steven Sistare wrote: On 6/6/2025 9:53 AM, Daniel P. Berrangé wrote: On Thu, Jun 05, 2025 at 06:08:08PM -0500, Jaehoon Kim wrote: When the source VM attempts to connect to the destinati

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Steven Sistare
On 6/6/2025 11:06 AM, JAEHOON KIM wrote: On 6/6/2025 9:14 AM, Steven Sistare wrote: On 6/6/2025 9:53 AM, Daniel P. Berrangé wrote: On Thu, Jun 05, 2025 at 06:08:08PM -0500, Jaehoon Kim wrote: When the source VM attempts to connect to the destination VM's Unix domain socket(cpr.sock) during CPR

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread JAEHOON KIM
On 6/6/2025 9:14 AM, Steven Sistare wrote: On 6/6/2025 9:53 AM, Daniel P. Berrangé wrote: On Thu, Jun 05, 2025 at 06:08:08PM -0500, Jaehoon Kim wrote: When the source VM attempts to connect to the destination VM's Unix domain socket(cpr.sock) during CPR transfer, the socket file might not yet

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread JAEHOON KIM
On 6/6/2025 8:40 AM, Fabiano Rosas wrote: Jaehoon Kim writes: When the source VM attempts to connect to the destination VM's Unix domain socket(cpr.sock) during CPR transfer, the socket file might not yet be exist if the destination side hasn't completed the bind operation. This can lead to co

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Steven Sistare
On 6/6/2025 9:53 AM, Daniel P. Berrangé wrote: On Thu, Jun 05, 2025 at 06:08:08PM -0500, Jaehoon Kim wrote: When the source VM attempts to connect to the destination VM's Unix domain socket(cpr.sock) during CPR transfer, the socket file might not yet be exist if the destination side hasn't compl

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Daniel P . Berrangé
On Thu, Jun 05, 2025 at 06:08:08PM -0500, Jaehoon Kim wrote: > When the source VM attempts to connect to the destination VM's Unix > domain socket(cpr.sock) during CPR transfer, the socket file might not > yet be exist if the destination side hasn't completed the bind > operation. This can lead to

Re: [PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-06 Thread Fabiano Rosas
Jaehoon Kim writes: > When the source VM attempts to connect to the destination VM's Unix > domain socket(cpr.sock) during CPR transfer, the socket file might not > yet be exist if the destination side hasn't completed the bind > operation. This can lead to connection failures when running tests

[PATCH v1] migration: Wait for cpr.sock file to appear before connecting

2025-06-05 Thread Jaehoon Kim
When the source VM attempts to connect to the destination VM's Unix domain socket(cpr.sock) during CPR transfer, the socket file might not yet be exist if the destination side hasn't completed the bind operation. This can lead to connection failures when running tests with the qtest framework. To