The process of requesting resources within the QA testbed infrastructure is managed via the Help Desk and maintained by WP9 Task 2. The Help Desk service, based on JIRA, allows the GÉANT QA testbed request system to request Virtual Machines that have a specified capacity. In particular, the Help Desk service enables the following actions:
The Help Desk provides facilities for managing the VM environment at the level of virtual machines. All the aspects related to the maintenance of the particular operating system running on the assigned Virtual Machine are handled by an appointed member of a specific development team, who is given operating system root level privileges.
To request a Virtual Machine or actions to be carried out on a VM, the GÉANT QA testbed uses JIRA issues. This means that if you want to request a new VM you need to create an issue in JIRA's GÉANT QA testbed project. You can requests the following VM types:
When you create an issue to request a VM, you specify the requested OS type, capacity, usage time frame and other important features. In particular:
To request an action to be carried out on an existing VM (e.g. a maintenance action), you need to modify this VM's issue by creating sub-tasks for it. The sub-tasks cover the following actions:
It is recommended that you provide the description of the requested action (i.e. the text of one of the bullets listed above) as sub-task summary.
When a VM is closed, its corresponding issue is closed in JIRA.
Once a VM is created and assigned to the requestor, the VM is available via SSH. Developers are required to login by using SSH keys. In fact, login with passwords for SSH is disabled by default.
Virtual machines have ports 80 and 443 open.
As far as operating systems are concerned, currently Ubuntu server and CentOS are available.
Developers assigned to the requested machines have full root access to the machine, however, once the machine is broken, it will be simply rebuild from scratch and handed over again.
In case of problems with accessing the services on other ports (e.g. tomcat 8080) you can change service default port (see service administration guide). If you do not want to change service configuration, you can configure http proxy with e.g. nginx http and reverse proxy server (http://nginx.org/en, License BSD-like). If other port need to be open please request new sub-task issue with the request (with information port number and tcp/udp/both).
The QA Testbed delivers virtual machines hosting Linux operating systems (Ubuntu, CentOS), dedicated to GN development teams as demo or testing instances. The QA Testbed hosts VMs assigned permanently to development teams as well as up to 50 Virtual Machines running in parallel and assigned to development teams on a resource-booking basis. Such limitations are due to hardware constraints and a number of assigned public IP addresses.
The procedure for requesting virtual machine resources (with CentOS or Ubuntu OS) in the QA testbed is managed through Help Desk. The GÉANT QA testbed JIRA allows you to request the actions described below. The resource can be requested as a fixed VM (assigned permanently to a development team) or as a temporary VM (assigned for a particular time window). As far as the number of fixed VMs is concerned, initially development teams are assigned to the VMs according to the figures given at the time the requirements were specified. The QA testbed calendar shows the confirmed bookings of VMs that are already running, and can be used to check if resources might be available (approximate number of available resources = overall capacity of the QA testbed - resources assigned to already running VMs at a given date). However, the calendar does not guarantee that there are free resources, as there might be requests that are already being processed. The issue creation timestamp determines the order in which tickets are dealt with and resources assigned to VMs.
To request a virtual machine in a QA testbed environment:
You can request a snapshot of a particular VM via the GÉANT QA testbed Help Desk by creating a sub-task for an issue that is related to the VM you want the snapshot of. The limitation is two snapshot per virtual machine. The procedure is as follows:
Once the snapshot is created you will receive confirmation.
You can request a VM to be loaded from a particular snapshot via the GÉANT QA testbed Help Desk by creating a sub-task for an issue that is related to the VM you want the snapshot of. The procedure is as follows:
Please bear in mind that the operating system with all applications and other dependencies will be replaced with the snapshot you requested.
Once the resources are available, it is possible to increase the capacity of a virtual machine in terms of processor (GHz) and assigned RAM memory. This can be done where justified, i.e. when the history of VM utilization/load clearly shows that the VM resources are extensively used.
To request resources to be extended:
The request will be analysed along with the load history of a particular VM, and confirmation will be sent whether the extension is reasonable and possible.
If a permanently assigned VM is no longer going to be used, you should request the VM to be suspended to free up its resource for other requests. To do this:
As far as the temporary VMs are concerned, when the time window dedicated for a particular virtual machine is finished, the VM will be suspended and resources (GHz, RAM) reassigned to a common pool for new requests. The VM can be up and running in the next time window according to the reservation.