Server/Product Requirements Document
Our primary deliverable for January should be the definition of how we're going to prepare the platform and the requirements for an application stack to be promoted to first-tier inclusion. (Agreed 5 Nov 2013)
Fedora Server is a common base platform with 'featured application stacks' built on top of it. We commit to produce, test, and distribute these application stacks.
We will use a set of personas to describe our target users and their respective needs. This document will list the personas in their simplified forms, with detailed explanations of each one available on their respective wiki pages.
- System Administrator "Macgyver"
- Administrator with limited hardware and personnel resources to work with
- Needs to be able to do "a lot with a little"
- DevOps Engineer/Administrator
- Focus is on time-to-deploy and time-to-recover as opposed to uptime
- Value is achieved by delivering the latest capabilities fastest
- Needs to be able to deliver quickly to PaaS, SaaS and bare-metal servers
- Traditional Application Developer
- Needs a platform with API and ABI stability guarantees
- Focus will be on minimizing risk when making changes
- Cannot tolerate rapid changes in core functionality
- Junior Enterprise System Administrator
- Simplify automation to manage repetitive tasks
- Needs intuitive mechanisms to effect common changes
- Decision Maker
- Makes purchasing decisions and directs technology choices
- Interacts with upstream FOSS communities to identify potential value
The Fedora Server will need to address the following use-cases: (Note: need to order these by priority)
- The user must be able to easily deploy and configure any supported Fedora Server role. (Examples may include: FreeIPA Domain Controller, BIND DNS, DHCP, Database server, iSCSI target, File/Storage server.)
- The user must be able to query, monitor, configure and manage a Fedora Server remotely using stable and consistent public interfaces.
- The user must be able to simply enroll the Fedora Server into a FreeIPA or Active Directory domain.
- Users must be able to control and contain the resources consumed by services running on the system.
- Users must be able to rapidly re-deploy services in accordance with their DevOps practices using Fedora Server.
- ASK SOFTWARE COLLECTIONS WG The user must be able to easily deploy and configure applications to supported high-value frameworks. (Example frameworks: JBoss, Ruby on Rails, Django, Turbogears, Node.js, PHP.)
- ASK CLOUD WG Provide a platform for acting as a node in an OpenStack rack.
- ASK CLOUD WG Users must be able to create, manipulate and terminate large numbers of containers using a stable and consistent interface.
- Users must be able to use Fedora Server in fully headless operation. We commit to supporting only those GUI applications that can work with forwarded X (or the equivalent on other windowing systems)
See Server Lifecycle Proposal for draft work.
See Server Lifecycle Proposal for draft work that includes this topic.
See Server Roles Proposal for draft work.
- The Server Role must be packaged in such a way that it is possible to install the complete set as a unit. AKA "One-click Install". [Use Case 1]
- The Server Role must provide an API or similar stable external interface for configuring the role post-installation. Exceptions to this rule may be granted if and only if Optional Requirement 2 (below) is met and it can be demonstrated that the default method of operation is the only reasonable method of operation. [Use Case 1]
- If the API is provided by the Fedora project it must be built using a common framework to all Fedora developed Role APIs. If upstream provides such an API, it is permissible to use that.
- The Server Role must provide an API to interrogate the configurable settings of the role as identified by Mandatory Requirement 2. [Use Case 2]
- The Server Role must add to the functionality of the Fedora Server. In other words, a Server Role cannot be considered "Featured" if its purpose is to further reduce the minimal system.
- A Server Role must have an identified point of contact that agrees to maintain the Server Role in Fedora. If this person or group becomes unresponsive, the Server Role will necessarily be demoted from Featured status. A Server role must be possible to trivially update to fix security vulnerabilities, and maintained to provide security fixes timely.
- A Server Role must be installable without a local graphical utility. [Use Case 9]
- If a Server Role packages multiple upstream projects together as a suite or solution, updates to any of these projects must be coordinated for concurrent release to allow testing of the complete system.
- A Server Role must automatically use and sufficiently implement $specified system-wide settings (e.g. a LDAP source for account information, CA certificates, and similar domain-originated or system-wide configuration)
- The Server Role may be packaged in such a way that it can be uninstalled as a complete unit. The mechanism to accomplish this removal must remain consistent. [Use Case 1]
- The Server Role may provide a sane, usable default. If it does so, it must remain capable of accepting input through its configuration API to change this default. [Use Case 1]
- The Server Role may provide an API to interrogate additional useful information about the running service(s) provided by the Server Role. The content here is up to the Server Role to define, but should be treated as stable (e.g an update should never remove the ability to monitor something). [Use Case 2]
- The Server Role may provide a specification of its needed resources to the Fedora Server in a standard format. (e.g. Memory requirements, etc.) If this is provided, the Fedora Server may use this information to create isolated services such as VMs or containers in which to run the Server Role. [Use Case 4]
- The Server Role may request operation in an isolated environment (with or without implementing Optional Requirement 4). If it does so, the Server Role must indicate (using a standard Fedora Server API) what form(s) of isolation it supports. Fedora Server must honor this. [Use Case 4]
- A Server Role may provide a remote graphical (which includes web-based) configuration tool.
- A server role may implement all of the other requirements by integrating with the Fedora Server-designated infrastructure (commands, APIs, and the like). This is preferred but not mandatory if the upstream provides a different way to achieve the same objective.
The original etherpad for this discussion is located at https://pad.riseup.net/p/serverwg-roles-proposal