IPL for guest

Bug #1815921 reported by Herald ten Dam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zVM Cloud Connector
Confirmed
Low
Unassigned

Bug Description

When deploying a new guest the IPL is always the disk mentioned as boot disk (the one mentioned in zvmsdk.conf). In the profile always comes IPL 100 or so. This is nice but we want to call the profile exec in our environment so we can make use of vdisks for the guest for swapping. We like to call IPL CMS for example.
So we would like to see an option in the configuration (zvmsdk.conf) to set the IPL to a value or otherwise choose the boot disk. This way we have the flexibility to adjust our environment.

Thanks in advance
Herald ten Dam

Revision history for this message
jichenjc (jichenjc) wrote :

we have following code in each layer

        if (disk_list and 'is_boot_disk' in disk_list[0] and
            disk_list[0]['is_boot_disk']):
            ipl_disk = CONF.zvm.user_root_vdev
            rd += (' --ipl %s' % ipl_disk)

    if 'ipl' in rh.parms:
        dirLines.append("IPL %0.4s" % rh.parms['ipl'])

so I think you want an option like following?

if CONF.use_customer_ipl
     rd += (' --ipl %s' % CONF.use_customer_ipl)
else:
     rd += (' --ipl %s' % ipl_disk)

will CMS be the only option or you want something else ? Thanks

Changed in python-zvm-sdk:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Herald ten Dam (damsteen) wrote :

Hi,

as described is our intention. For us CMS will do, but there are many options for IPL in a profile, see the manual. But most use is a VDEV or CMS.

Thanks
Herald ten Dam

Revision history for this message
jichenjc (jichenjc) wrote :
Revision history for this message
Herald ten Dam (damsteen) wrote :

I saw that the code was checked in. I downloaded the master and tested it. I created a guest and added the parameter "ipl_from". This works if it has only "cms" as value. We adjusted our situation and now we need besides "cms" also "parm autocr". I tested also with "ipl_from" set as "cms parm autocr", but got the error:
{
   "rs": 6,
   "overallRC": 500,
   "modID": 1,
   "rc": 4,
   "output": "",
   "errmsg": "Unexpected internal error in ZVM SDK, error: SMT internal error. Results: {'rs': 6, 'errno': 0, 'strError': '', 'overallRC': 4, 'rc': 4, 'response': [\"(Error) ULTGUT0006E MAKEVM's DIRECTORY subfunction encountered an unknown operand: parm\"]}"
}
So I think there is some error if there is more than 1 word in the ipl_from parameter.

Is it possible to fix?

Thanks in advance
Herald

Revision history for this message
jichenjc (jichenjc) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.