Bug 565450
Summary: | org.create API call not existing | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Jérôme Fenal <jfenal> |
Component: | API | Assignee: | Tomas Lestach <tlestach> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 530 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-02-16 00:27:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jérôme Fenal
2010-02-15 11:27:27 UTC
OK, found the bug, after searching Spacewalk code. It turns out that we need to pass a boolean as last parameter. The script above can't work, as missing the last parameter. But in order to make it work, the code is still nasty : my $org = $client->call( 'org.create', $session, "testorg", "test-admin", "redhat", "Mr.", "shadowman", "test", 'test', Frontier::RPC2::Boolean->new(0), # here, the definition of a boolean :( ); So we can close the bug, but would need to open a RFE to get predefined booleans for API, and doc entry to point to those. |