Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 240170 - Add virt-provisioning XMLRPC api methods
Add virt-provisioning XMLRPC api methods
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API (Show other bugs)
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Mike McCune
Brandon Perkins
Depends On:
Blocks: 232034
  Show dependency treegraph
Reported: 2007-05-15 12:31 EDT by Mike McCune
Modified: 2007-06-25 22:09 EDT (History)
1 user (show)

See Also:
Fixed In Version: sat500
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-25 22:09:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike McCune 2007-05-15 12:31:53 EDT
Adding 2 new methods to our SystemHandler:

public int provisionVirtualGuest(String sessionKey, Integer sid, String
guestName, String profileName) {

public int provisionVirtualGuest(String sessionKey, Integer sid, String
guestName,             String profileName, Integer memoryMb, Integer vcpus,
Integer storageMb) {

This will allow callers to use the API to create new virtual guests.
Comment 1 Mike McCune 2007-05-21 17:54:58 EDT
Comment 2 Mike McCune 2007-05-21 17:57:39 EDT
ON_QA for real.
Comment 3 Brandon Perkins 2007-05-22 12:41:05 EDT
Fails QA.  Here's what I got:

./test_system.provision_virtual_guest.pl --host
https://rlx-2-06.rhndev.redhat.com --user bdperkin --password redhat --target
1000010002 --name test08 --profile ks-rhel-i386-server-5-pv-guest-external
Fault returned from XML RPC Server, fault code -1: Kickstart --url requires a host

My *very* quick and dirty script is at:

rhn-svn: trunk/qa/api_test/scripts/test_system.provision_virtual_guest.pl

I attempted this both with internal and external distro profiles...and these
profiles have been used in the past to scuessfuly create PV guests.
Comment 4 Mike McCune 2007-05-24 10:17:07 EDT
fixed in svn. 
Comment 5 Mike McCune 2007-05-25 11:55:55 EDT
Comment 6 Brandon Perkins 2007-05-31 16:55:15 EDT
Verified.  General case, for both long and short versions, looks good, but needs
more robust testing.  Any other issues will be reported as separate bugs.
Comment 7 Brandon Perkins 2007-06-18 12:45:39 EDT
Release Pending.
Comment 8 Brandon Perkins 2007-06-25 22:09:57 EDT
Closed for Satellite 500 Release.

Note You need to log in before you can comment on or make changes to this bug.