This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 302
fleetctl start != systemctl start #1025
Labels
Comments
This was referenced Nov 14, 2014
👍 |
...or rename the command |
As a temporary workaround you can do this: function fleet_start {
fleetctl load $*
for unit in $*
do
fleetctl ssh $unit sudo systemctl start $unit
done
} This will not work with global units. EDIT: shell script hates dashes, changed |
👍 |
I'm also a big 👍 on this one to finally get the inconsistency solved. Anything we can provide to help with this one? |
👍 |
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
Apr 25, 2016
To resolve inconsistency between systemctl start and fleetctl start, fleetctl needs to check systemd states after starting units. If the systemd state is not a desired one, wait until it gets an active state. Fixes: coreos#1025
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
Apr 25, 2016
To resolve inconsistency between systemctl start and fleetctl start, fleetctl needs to check systemd states after starting units. If the systemd state is not a desired one, wait until it gets an active state. Fixes: coreos#1025
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
Apr 25, 2016
To resolve inconsistency between systemctl start and fleetctl start, fleetctl needs to check systemd states after starting units. If the systemd state is not a desired one, wait until it gets an active state. Fixes: coreos#1025
dongsupark
pushed a commit
to endocode/fleet
that referenced
this issue
Apr 26, 2016
To resolve inconsistency between systemctl start and fleetctl start, fleetctl needs to check systemd states after starting units. If the systemd state is not a desired one, wait until it gets an active state. Fixes: coreos#1025
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
Apr 29, 2016
To resolve inconsistency between systemctl start and fleetctl start, fleetctl needs to check systemd states after starting units. If the systemd state is not a desired one, wait until it gets an active state. Fixes: coreos#1025
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
May 9, 2016
To resolve inconsistency between systemctl start and fleetctl start, fleetctl needs to check systemd states after starting units. If the systemd state is not a desired one, wait until it gets an active state. Fixes: coreos#1025
dongsupark
pushed a commit
to endocode/fleet
that referenced
this issue
May 30, 2016
To resolve inconsistency between systemctl start and fleetctl start, fleetctl needs to check systemd states after starting units. If the systemd state is not a desired one, wait until it gets an active state. Fixes: coreos#1025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
fleetctl start
command sets the desired state of a unit to "launched" (that's a fleet state, not a systemd state) and waits for the unit to be scheduled and the target machine to publish systemd state. fleetctl does not look at the contents of this systemd state.The
systemctl start
command acts more like an RPC command, sending aStartUnit
message over dbus and waiting for the created systemd job to finish.We have a clear usability problem here. Users expect
fleetctl start
to be equivalent tosystemctl start
(#1019). This inconsistency is also preventing us from moving forward on adding afleetctl restart
command, which should reasonably act likesystemctl restart
(#961).Assuming others agree that this inconsistency is a problem, I see only one real path forward.
fleetctl start
needs to watch for the unit to actually start successfuly in systemd.The text was updated successfully, but these errors were encountered: