-
Notifications
You must be signed in to change notification settings - Fork 13
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
Nil Pointer deferences on configure amtfeatures all #548
Comments
Clarified build |
Do you get a similar error when you do this |
Yes. Same backtrace. But also when I enter an incorrect password...? And on almost any command I try -
|
(But the |
Thanks @bkgoodman. We will look into this. |
Seems that the offending lines are just wrong. If an error was returned, you'd expect that will often be nil. I will try to debug why there was an error here...
|
Yes, I came across this as well the other day as it was causing all sorts of problems, I fixed it in our https://github.com/open-amt-cloud-toolkit/go-wsman-messages/releases/tag/v2.7.1 release of go-wsman-messages yesterday. I will update rpc-go shortly. |
It was being caused by the connection getting:
I am not 100% sure why. I mean - i cannot connect to this from the local machine, though it works from a remote machine. I am not exactly sure if this is the way AMT network connectivity is supposed to work? That said, |
At a high level, amtinfo uses local driver calls to get information and doesn't use localhost:16992 (which is the LMS service). When using configure commands, as of today, those commands don't have equivalent driver calls and need to talk to AMT using LMS. This is something we plan to address in the future to eliminate the LMS requirement. But for now, running |
@bkgoodman give it a try now, the panic should be fixed with https://github.com/open-amt-cloud-toolkit/rpc-go/releases/tag/v2.34.2 |
Yep - returns actual error. Thanks!
|
I do:
./rpc configure amtfeatures all
With version:
Running on:
Ubuntu 22.04.1 LTS
with5.19.0-41-generic
Built from
go version go1.18.1 linux/amd64
with:
```
commit a73486d (HEAD -> main, origin/main, origin/HEAD)
Author: Mike <michael.johanson@intel.com>
Date: Mon Jun 3 10:34:24 2024 -0700
ci: move permissions to job level (#541)
```
I get:
The text was updated successfully, but these errors were encountered: