Skip to content

Instantly share code, notes, and snippets.

@xarses
Created February 24, 2016 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xarses/2b4aa6c872c25b996776 to your computer and use it in GitHub Desktop.
Save xarses/2b4aa6c872c25b996776 to your computer and use it in GitHub Desktop.
Hacking fuel-web/nailgun/nailgun/fixtures/openstack.yaml for fun
From f4bb672bfc64bacaa7fe19bdefaa22c3010dca35 Mon Sep 17 00:00:00 2001
From: Andrew Woodward <awoodward@mirantis.com>
Date: Wed, 17 Feb 2016 11:51:38 -0800
Subject: [PATCH] Add Kilo and Liberty Releases
Change-Id: I48f8a712801e5c73056b634946c9b36ae1d942c1
---
nailgun/nailgun/fixtures/openstack.yaml | 154 +++++++++++++++++++++++++++++++-
1 file changed, 153 insertions(+), 1 deletion(-)
diff --git a/nailgun/nailgun/fixtures/openstack.yaml b/nailgun/nailgun/fixtures/openstack.yaml
index c195ca7..95204b6 100644
--- a/nailgun/nailgun/fixtures/openstack.yaml
+++ b/nailgun/nailgun/fixtures/openstack.yaml
@@ -1943,7 +1943,8 @@
uri: "http://{settings.MASTER_IP}:8080/targetimages/centos_65_x86_64-boot.img.gz"
format: "ext2"
container: "gzip"
-- pk: 2
+- &ubuntu-current
+ pk: 2
extend: *base_release
fields:
name: "Liberty on Ubuntu 14.04"
@@ -2097,3 +2098,154 @@
uri: "http://{settings.MASTER_IP}:8080/targetimages/env_{cluster.id}_ubuntu_1404_amd64-boot.img.gz"
format: "ext2"
container: "gzip"
+- pk: 3
+ extend: *ubuntu-current
+ fields:
+ name: "Mitaka on Ubuntu 14.04"
+ version: "mitaka-9.0"
+ description: "This option will install the OpenStack Mitaka packages using Ubuntu as a base operating system. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment."
+ attributes_metadata:
+ editable:
+ repo_setup:
+ metadata:
+ label: "Repositories"
+ weight: 50
+ group: "general"
+ always_editable: true
+ repos:
+ type: "custom_repo_configuration"
+ extra_priority: null
+ description: |
+ Please note: the first repository will be considered the operating system mirror that will be used during node provisioning.
+ To create a local repository mirror on the Fuel master node, please follow the instructions provided by running "fuel-createmirror --help" on the Fuel master node.
+ Please make sure your Fuel master node has Internet access to the repository before attempting to create a mirror.
+ For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-9.0/operations.html#external-ubuntu-ops).
+ value:
+ - type: "deb"
+ name: "ubuntu"
+ uri: "http://archive.ubuntu.com/ubuntu/"
+ suite: "trusty"
+ section: "main universe multiverse"
+ priority: null
+ - type: "deb"
+ name: "ubuntu-updates"
+ uri: "http://archive.ubuntu.com/ubuntu/"
+ suite: "trusty-updates"
+ section: "main universe multiverse"
+ priority: null
+ - type: "deb"
+ name: "ubuntu-security"
+ uri: "http://archive.ubuntu.com/ubuntu/"
+ suite: "trusty-security"
+ section: "main universe multiverse"
+ priority: null
+ - type: "deb"
+ name: "mos"
+ uri: "http://{settings.MASTER_IP}:8080/liberty-9.0/ubuntu/x86_64"
+ suite: "mos9.0"
+ section: "main restricted"
+ priority: 1050
+ - type: "deb"
+ name: "mos-updates"
+ uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/{cluster.release.environment_version}/"
+ suite: "mos9.0-updates"
+ section: "main restricted"
+ priority: 1050
+ - type: "deb"
+ name: "mos-security"
+ uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/{cluster.release.environment_version}/"
+ suite: "mos9.0-security"
+ section: "main restricted"
+ priority: 1050
+ - type: "deb"
+ name: "mos-holdback"
+ uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/{cluster.release.environment_version}/"
+ suite: "mos9.0-holdback"
+ section: "main restricted"
+ priority: 1100
+ - type: "deb"
+ name: "Auxiliary"
+ uri: "http://{settings.MASTER_IP}:8080/liberty-9.0/ubuntu/auxiliary"
+ suite: "auxiliary"
+ section: "main restricted"
+ priority: 1150
+ generated:
+ puppet:
+ manifests: "rsync://{settings.MASTER_IP}:/puppet/liberty-9.0/manifests/"
+ modules: "rsync://{settings.MASTER_IP}:/puppet/liberty-9.0/modules/"
+
+- pk: 4
+ extend: *ubuntu-current
+ fields:
+ name: "Kilo on Ubuntu 14.04"
+ version: "kilo-9.0"
+ description: "This option will install the OpenStack Kilo packages using Ubuntu as a base operating system. With high availability features built in, you are getting a robust, enterprise-grade OpenStack deployment."
+ attributes_metadata:
+ editable:
+ repo_setup:
+ metadata:
+ label: "Repositories"
+ weight: 50
+ group: "general"
+ always_editable: true
+ repos:
+ type: "custom_repo_configuration"
+ extra_priority: null
+ description: |
+ Please note: the first repository will be considered the operating system mirror that will be used during node provisioning.
+ To create a local repository mirror on the Fuel master node, please follow the instructions provided by running "fuel-createmirror --help" on the Fuel master node.
+ Please make sure your Fuel master node has Internet access to the repository before attempting to create a mirror.
+ For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-9.0/operations.html#external-ubuntu-ops).
+ value:
+ - type: "deb"
+ name: "ubuntu"
+ uri: "http://archive.ubuntu.com/ubuntu/"
+ suite: "trusty"
+ section: "main universe multiverse"
+ priority: null
+ - type: "deb"
+ name: "ubuntu-updates"
+ uri: "http://archive.ubuntu.com/ubuntu/"
+ suite: "trusty-updates"
+ section: "main universe multiverse"
+ priority: null
+ - type: "deb"
+ name: "ubuntu-security"
+ uri: "http://archive.ubuntu.com/ubuntu/"
+ suite: "trusty-security"
+ section: "main universe multiverse"
+ priority: null
+ - type: "deb"
+ name: "mos"
+ uri: "http://{settings.MASTER_IP}:8080/liberty-9.0/ubuntu/x86_64"
+ suite: "mos9.0"
+ section: "main restricted"
+ priority: 1050
+ - type: "deb"
+ name: "mos-updates"
+ uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/{cluster.release.environment_version}/"
+ suite: "mos9.0-updates"
+ section: "main restricted"
+ priority: 1050
+ - type: "deb"
+ name: "mos-security"
+ uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/{cluster.release.environment_version}/"
+ suite: "mos9.0-security"
+ section: "main restricted"
+ priority: 1050
+ - type: "deb"
+ name: "mos-holdback"
+ uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/{cluster.release.environment_version}/"
+ suite: "mos9.0-holdback"
+ section: "main restricted"
+ priority: 1100
+ - type: "deb"
+ name: "Auxiliary"
+ uri: "http://{settings.MASTER_IP}:8080/liberty-9.0/ubuntu/auxiliary"
+ suite: "auxiliary"
+ section: "main restricted"
+ priority: 1150
+ generated:
+ puppet:
+ manifests: "rsync://{settings.MASTER_IP}:/puppet/liberty-9.0/manifests/"
+ modules: "rsync://{settings.MASTER_IP}:/puppet/liberty-9.0/modules/"
\ No newline at end of file
--
2.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment