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

Only report an error on Terminate machine, if machine exists. #28

Merged
merged 1 commit into from Oct 17, 2016

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Oct 17, 2016

We are failing oci-register-machine Terminate if the container PID 1
does not exist. We should let the caller handle this, since the act
of calling us was to kill this process.

We are failing oci-register-machine Terminate if the container PID 1
does not exist.  We should let the caller handle this, since the act
of calling us was to kill this process.
@rhatdan
Copy link
Member Author

rhatdan commented Oct 17, 2016

@mrunalp @runcom PTAL

@rhatdan
Copy link
Member Author

rhatdan commented Oct 17, 2016

@runcom
Copy link

runcom commented Oct 17, 2016

I'll test this out and report back

@mrunalp
Copy link
Collaborator

mrunalp commented Oct 17, 2016

👍

@rhatdan
Copy link
Member Author

rhatdan commented Oct 17, 2016

I hate doing the string contains, but I don't believe there is a way to get ENOEXIST or something from the dbus call.

@rhatdan rhatdan merged commit fcdbff0 into projectatomic:master Oct 17, 2016
@rhatdan
Copy link
Member Author

rhatdan commented Oct 17, 2016

@lsm5 we need a new version of oci-register-machine. For F25, Rawhide, F24, RHEL7.3.1

@runcom
Copy link

runcom commented Oct 17, 2016

works like a charm though 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants