-
Notifications
You must be signed in to change notification settings - Fork 36
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
problem modifying interfaces #88
Comments
Sorry for the delay, I'm not using this project for work anymore so I have to fall back to maintaining it on my spare time. So, first I would check if there are any logs on the server side that might give any hints. Then I'd check if the underlying put request that is sent is correct (probably with tcpdump or similar... I'm a systems guy xd). If the put request looks ok, then it might be an issue on the server side (as the cli is sending what it should), if not, then the issue is on the cli side, if you pass me that info then I will be able to dig into that sooner. On the other side, for me is not completely clear from the foreman api docs (I checked the latest version), how should the interfaces be upgraded. There seem to be two endpoints, hosts update ( You are using the first. To me it looks like though the
For the other form, should be quite similar:
I have not tried, but something like this should be equivalent to the other request you showed:
|
Hello,
I am trying to modify an interface on an existing host but am not having any luck. This is a physical server that has 4 interfaces, plus an IPMI interface. I want to modify only one of the interfaces. I have tried using the
hosts.update
routine like this:The only thing that happens is that I get back a hash of the host attributes but the interface doesn't get updated. There is no error. I have also tried the same thing with
hosts.interfaces_host_id_updateinterfaces
and have not been able to get that function to work correctly at all. Can you give me any pointers on the best way to go about modifying an interface?The text was updated successfully, but these errors were encountered: