allow no-param input when get smapi level
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zVM Cloud Connector |
Fix Committed
|
Low
|
Chuck Brazie |
Bug Description
testlx:
Failed
Return Code: 100
Reason Code: 8
Description: ULGSMC5100E Request not authorized by external security manager
API issued : Query_API_
ERROR: Unable to determine SMAPI level.
Calls to SMAPI with ESM will require a targetId.
smapiUtilities.c has a function called
getSmapiLevel
There are 6 places in the code that call this routine and they all pass in a null target id.
ex:
rc = getSmapiLevel(
we can do following as suggested
fp = popen("sudo /sbin/vmcp q userid", "r");
if (fp == NULL) {
return 1;
}
fgets(
pclose(fp);
myUserid = strtok_r(queryData, " ", &saveptr);
Changed in python-zvm-sdk: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in python-zvm-sdk: | |
assignee: | nobody → Huang Rui (bjhuangr) |
fix committed: /review. gerrithub. io/c/mfcloud/ python- zvm-sdk/ +/410928
https:/