Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy Up Task Communications Methods #3511

Closed
datamel opened this issue Mar 6, 2020 · 4 comments
Closed

Tidy Up Task Communications Methods #3511

datamel opened this issue Mar 6, 2020 · 4 comments
Milestone

Comments

@datamel
Copy link
Contributor

datamel commented Mar 6, 2020

In Cylc 7, Contact2 file is generated for the remote platform, when indirect communication (eg. ssh) is set. It contains one field name: CYLC_COMMS_PROTOCOL_2.
This is currently redundant for Cylc 8, some code remains.

Do we still want a Contact2 file for Cylc8? If not this needs clearing out.
Indirect communication needs investigating - possibly ZMQ but alternatively maybe ssh.
Documentation: needs updating.
Test: cylc-poll/14-intervals references CYLC_TASK_COMMS_METHOD.

@datamel datamel added this to the cylc-8.0a2 milestone Mar 6, 2020
@hjoliver
Copy link
Member

This is currently redundant for Cylc 8, some code remains.

Redundant because we've removed ssh task comms on master?

Do we still want a Contact2 file for Cylc8? If not this needs clearing out.

Presumably we do (once ssh comms is re implemented on master) but I'm not sure; we'll have to figure it out. I think the contact2 logic was added in #2582 and #2637

@hjoliver
Copy link
Member

Ref: #3327 (re-implement ssh comms)

@hjoliver hjoliver modified the milestones: cylc-8.0a2, cylc-8.0a3 Apr 30, 2020
@oliver-sanders
Copy link
Member

Do we still want a Contact2 file for Cylc8? If not this needs clearing out.

Update: 2020-06-15

As of #3509 the CONTACT2 file has been removed. Instead we now install the contact file only if using TCP task comms.

You can still tell apart a remote installation from a suite run dir by the presence of .service/source.

For #3327 we can probably install the contact file with a task comms field.

Test: cylc-poll/14-intervals references CYLC_TASK_COMMS_METHOD.

tests/cylc-poll/14-intervals uses CYLC_TASK_COMMS_METHOD to break TCP comms, there are other ways of achieving that.

 
Is #3509 enough to close this issue?

@dpmatthews
Copy link
Contributor

I think we can close this (I'm sure we'll pick up any documentation issues as part of general doc review)

@dpmatthews dpmatthews modified the milestones: cylc-8.0a3, cylc-8.0a2 Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants