Commit ea6193d5 authored by David Johnson's avatar David Johnson

Initial metadata for `rocky`.

parent 424a1556
...@@ -35,8 +35,8 @@ pc = portal.Context() ...@@ -35,8 +35,8 @@ pc = portal.Context()
# Define *many* parameters; see the help docs in geni-lib to learn how to modify. # Define *many* parameters; see the help docs in geni-lib to learn how to modify.
# #
pc.defineParameter("release","OpenStack Release", pc.defineParameter("release","OpenStack Release",
portal.ParameterType.STRING,"queens",[("queens","Queens"),("pike","Pike"),("ocata","Ocata"),("newton","Newton"),("mitaka","Mitaka"),("liberty","Liberty (deprecated)"),("kilo","Kilo (deprecated)"),("juno","Juno (deprecated)")], portal.ParameterType.STRING,"rocky",[("rocky","Rocky"),("queens","Queens"),("pike","Pike"),("ocata","Ocata"),("newton","Newton"),("mitaka","Mitaka"),("liberty","Liberty (deprecated)"),("kilo","Kilo (deprecated)"),("juno","Juno (deprecated)")],
longDescription="We provide OpenStack Queens (Ubuntu 18.04), Pike, Ocata, Newton, Mitaka (Ubuntu 16.04); Liberty (Ubuntu 15.10); Kilo (Ubuntu 15.04); or Juno (Ubuntu 14.10). OpenStack is installed from packages available on these distributions.") longDescription="We provide OpenStack Rocky, Queens (Ubuntu 18.04), Pike, Ocata, Newton, Mitaka (Ubuntu 16.04); Liberty (Ubuntu 15.10); Kilo (Ubuntu 15.04); or Juno (Ubuntu 14.10). OpenStack is installed from packages available on these distributions.")
pc.defineParameter("computeNodeCount", "Number of compute nodes (at Site 1)", pc.defineParameter("computeNodeCount", "Number of compute nodes (at Site 1)",
portal.ParameterType.INTEGER, 1) portal.ParameterType.INTEGER, 1)
pc.defineParameter("osNodeType", "Hardware Type", pc.defineParameter("osNodeType", "Hardware Type",
...@@ -437,7 +437,7 @@ for param in pc._parameterOrder: ...@@ -437,7 +437,7 @@ for param in pc._parameterOrder:
pass pass
tourDescription = \ tourDescription = \
"This profile provides a highly-configurable OpenStack instance with a controller and one or more compute nodes (potentially at multiple Cloudlab sites) (and optionally a network manager node, in a split configuration). This profile runs x86, arm64, and POWER8 (Queens and up) nodes. It sets up OpenStack Queens (Ubuntu 18.04), Pike, Ocata, Newton, or Mitaka (Ubuntu 16.04) (Liberty on 15.10, Kilo on 15.04, and Juno on 14.10 are *deprecated*) according to your choice, and configures all OpenStack services, pulls in some VM disk images, and creates basic networks accessible via floating IPs. You'll be able to create instances and access them over the Internet in just a few minutes. When you click the Instantiate button, you'll be presented with a list of parameters that you can change to control what your OpenStack instance will look like; **carefully** read the parameter documentation on that page (or in the Instructions) to understand the various features available to you." "This profile provides a highly-configurable OpenStack instance with a controller and one or more compute nodes (potentially at multiple Cloudlab sites) (and optionally a network manager node, in a split configuration). This profile runs x86, arm64, and POWER8 (Queens and up) nodes. It sets up OpenStack Rocky, Queens (Ubuntu 18.04), Pike, Ocata, Newton, or Mitaka (Ubuntu 16.04) (Liberty on 15.10, Kilo on 15.04, and Juno on 14.10 are *deprecated*) according to your choice, and configures all OpenStack services, pulls in some VM disk images, and creates basic networks accessible via floating IPs. You'll be able to create instances and access them over the Internet in just a few minutes. When you click the Instantiate button, you'll be presented with a list of parameters that you can change to control what your OpenStack instance will look like; **carefully** read the parameter documentation on that page (or in the Instructions) to understand the various features available to you."
###if not params.adminPass or len(params.adminPass) == 0: ###if not params.adminPass or len(params.adminPass) == 0:
passwdHelp = "Your OpenStack admin and instance VM password is randomly-generated by Cloudlab, and it is: `{password-adminPass}` ." passwdHelp = "Your OpenStack admin and instance VM password is randomly-generated by Cloudlab, and it is: `{password-adminPass}` ."
...@@ -623,6 +623,9 @@ elif params.release == 'pike': ...@@ -623,6 +623,9 @@ elif params.release == 'pike':
elif params.release == 'queens': elif params.release == 'queens':
image_os = 'UBUNTU18-64' image_os = 'UBUNTU18-64'
image_tag_rel = '-Q' image_tag_rel = '-Q'
elif params.release == 'rocky':
image_os = 'UBUNTU18-64'
image_tag_rel = '-R'
else: else:
image_os = 'UBUNTU16-64' image_os = 'UBUNTU16-64'
params.fromScratch = True params.fromScratch = True
...@@ -653,9 +656,9 @@ if params.osNodeType == 'ibm8335': ...@@ -653,9 +656,9 @@ if params.osNodeType == 'ibm8335':
else: else:
image_os = 'UBUNTU18-PPC' image_os = 'UBUNTU18-PPC'
if params.release not in [ 'queens' ]: if params.release not in [ 'queens','rocky' ]:
perr = portal.ParameterError( perr = portal.ParameterError(
"You can only run the Queens release (or greater) on `ibm8335` (POWER8) hardware!", "You can only run the Queens release, or greater, on `ibm8335` (POWER8) hardware!",
['release','osNodeType']) ['release','osNodeType'])
pc.reportError(perr) pc.reportError(perr)
pc.verifyParameters() pc.verifyParameters()
......
...@@ -341,6 +341,7 @@ OSNEWTON=14 ...@@ -341,6 +341,7 @@ OSNEWTON=14
OSOCATA=15 OSOCATA=15
OSPIKE=16 OSPIKE=16
OSQUEENS=17 OSQUEENS=17
OSROCKY=18
. /etc/lsb-release . /etc/lsb-release
# #
...@@ -356,6 +357,7 @@ if [ ! "x$OSRELEASE" = "x" ]; then ...@@ -356,6 +357,7 @@ if [ ! "x$OSRELEASE" = "x" ]; then
if [ $OSCODENAME = "ocata" ]; then OSVERSION=$OSOCATA ; fi if [ $OSCODENAME = "ocata" ]; then OSVERSION=$OSOCATA ; fi
if [ $OSCODENAME = "pike" ]; then OSVERSION=$OSPIKE ; fi if [ $OSCODENAME = "pike" ]; then OSVERSION=$OSPIKE ; fi
if [ $OSCODENAME = "queens" ]; then OSVERSION=$OSQUEENS ; fi if [ $OSCODENAME = "queens" ]; then OSVERSION=$OSQUEENS ; fi
if [ $OSCODENAME = "rocky" ]; then OSVERSION=$OSROCKY ; fi
# #
# We only use cloudarchive for LTS images! # We only use cloudarchive for LTS images!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment