Tuskar UI Documentation



Similar documents
Rebuild Perfume With Python and PyPI

AuShadha Documentation

OpenShift on you own cloud. Troy Dawson OpenShift Engineer, Red Hat November 1, 2013

OpenDaylight & PacketFence install guide. for PacketFence version 4.5.0

Web Developer Toolkit for IBM Digital Experience

RHadoop Installation Guide for Red Hat Enterprise Linux

OS Installation: CentOS 5.8

IBM Cloud Manager with OpenStack

Memopol Documentation

Python DNS Failover Documentation

Ettema Lab Information Management System Documentation

Hudson configuration manual

How To Install Openstack On Ubuntu (Amd64)

Guide to the LBaaS plugin ver for Fuel

Git - Working with Remote Repositories

Dry Dock Documentation

Magento Search Extension TECHNICAL DOCUMENTATION

Rapid Access Cloud: Se1ng up a Proxy Host

docs.hortonworks.com

Using GitHub for Rally Apps (Mac Version)

Zero-Touch Drupal Deployment

Sahara. Release rc2. OpenStack Foundation

Building a Continuous Integration Pipeline with Docker

ALERT installation setup

Deploy Big Data Extensions on vsphere Standard Edition

Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE

Savanna Hadoop on. OpenStack. Savanna Technical Lead

Tibbr Installation Addendum for Amazon Web Services

latest Release 0.2.6

A10 Networks LBaaS Driver for Thunder and AX Series Appliances

Manila OpenStack File Sharing Service

DEPLOYING EMC DOCUMENTUM BUSINESS ACTIVITY MONITOR SERVER ON IBM WEBSPHERE APPLICATION SERVER CLUSTER

CentOS. Apache. 1 de 8. Pricing Features Customers Help & Community. Sign Up Login Help & Community. Articles & Tutorials. Questions. Chat.

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

Virtualization Management the ovirt way

RHadoop and MapR. Accessing Enterprise- Grade Hadoop from R. Version 2.0 (14.March.2014)

CISE Research Infrastructure: Mid-Scale Infrastructure - NSFCloud (CRI: NSFCloud)

StriderCD Book. Release 1.4. Niall O Higgins

DevKey Documentation. Release 0.1. Colm O Connor

VOC Documentation. Release 0.1. Russell Keith-Magee

SUSE Cloud Installation: Best Practices Using an Existing SMT and KVM Environment

OpenStack/Quantum SDNbased network virtulization with Ryu

Networks and Services

IBM WEBSPHERE LOAD BALANCING SUPPORT FOR EMC DOCUMENTUM WDK/WEBTOP IN A CLUSTERED ENVIRONMENT

depl Documentation Release depl contributors

Automated build service to facilitate Continuous Delivery

Adventures & Challenges building an OpenStack public cloud. Walter Heukels, Koert van der Veer en Pim van Riezen

Practicing Continuous Delivery using Hudson. Winston Prakash Oracle Corporation

EMC Data Protection Search

CollabNet TeamForge Git Integration README

Dragonframe License Manager User Guide Version 1.2.2

Windows Firewall Configuration with Group Policy for SyAM System Client Installation

IBM Tivoli Monitoring for Virtual Environments: Dashboard, Reporting, and Capacity Planning Version 7.2 Fix Pack 2. User s Guide SC

Document Freedom Workshop DFW 2012: CMS, Moodle and Web Publishing

Automated Configuration of Open Stack Instances at Boot Time

Fast Lane OpenStack Overview Red Hat Enterprise Linux OpenStack Platform

Challenge to add OpenStack API Validation Framework

Continuous integration with Jenkins CI

Syslog Configuration for Auditing

Déployer son propre cloud avec OpenStack. GULL François Deppierraz

Magento OpenERP Integration Documentation

CloudCIX Bootcamp. The essential IaaS getting started guide.

ArcGIS for Server: Administrative Scripting and Automation

Livezilla How to Install on Shared Hosting By: Jon Manning

Salesforce Integration

Koalix ERP. Release 0.2

Static webpages with Pelican

CactoScale Guide User Guide. Athanasios Tsitsipas (UULM), Papazachos Zafeirios (QUB), Sakil Barbhuiya (QUB)

Flask-SSO Documentation

TEST AUTOMATION FRAMEWORK

Project Documentation

Open Source Datacenter Conference 2011 System Management with RHN Satellite. Dirk Herrmann, Solution Architect, Red Hat

CS312 Solutions #6. March 13, 2015

Deploying and Managing SolrCloud in the Cloud ApacheCon, April 8, 2014 Timothy Potter. Search Discover Analyze

Prepared for: How to Become Cloud Backup Provider

Installation Runbook for Avni Software Defined Cloud

Chef Integration. Chef Integration. with IDERA s Uptime Cloud Monitor. Simple, Smart, Seamless May 10, 2013 IDERA

Cloud on TIEN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat

Change the Game with HP Helion

Citrix XenServer 5.6 OpenSource Xen 2.6 on RHEL 5 OpenSource Xen 3.2 on Debian 5.0(Lenny)

OpenShift Enterprise PaaS by Red Hat. Andrey Markelov RHCA Red Hat, Presales Solution Architect

MOOSE-Based Application Development on GitLab

SAIP 2012 Performance Engineering

Continuous Integration and Delivery. manage development build deploy / release

CI Pipeline with Docker

OPENPROJECT INSTALL ON CENTOS 7 RUNNING IN VMWARE PLAYER

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

OPAS Prerequisites. Prepared By: This document contains the prerequisites and requirements for setting up OPAS.

Using Toaster in a Production Environment

Mobile Development with Git, Gerrit & Jenkins

OpenStack Introduction. November 4, 2015

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Drupal CMS for marketing sites

Transcription:

Tuskar UI Documentation Release Juno Tuskar Team May 05, 2015

Contents 1 Tuskar UI 3 1.1 High-Level Overview.......................................... 3 1.2 Installation Guide............................................ 3 1.3 License.................................................. 3 1.4 Contact Us................................................ 3 2 Installation instructions 5 2.1 Note................................................... 5 2.2 Prerequisites............................................... 5 2.3 Installing the packages.......................................... 5 2.4 Install the management UI........................................ 6 2.5 Starting the app.............................................. 6 3 User Guide 9 3.1 Nodes List File.............................................. 9 4 Contributing 11 5 Running tests 13 6 OpenStack Style Commandments 15 7 Indices and tables 17 i

ii

Tuskar UI Documentation, Release Juno Contents: Contents 1

Tuskar UI Documentation, Release Juno 2 Contents

CHAPTER 1 Tuskar UI Tuskar UI is a user interface for Tuskar, a management API for OpenStack deployments. It is a plugin for OpenStack Horizon. 1.1 High-Level Overview Tuskar UI endeavours to be a stateless UI, relying on Tuskar API calls as much as possible. We use existing Horizon libraries and components where possible. If added libraries and components are needed, we will work with the OpenStack community to push those changes back into Horizon. Interested in seeing Tuskar and Tuskar UI in action? Watch a demo! 1.2 Installation Guide Use the Installation Guide to install Tuskar UI. 1.3 License This project is licensed under the Apache License, version 2. More information can be found in the LICENSE file. 1.4 Contact Us Join us on IRC (Internet Relay Chat): Network: Freenode (irc.freenode.net/tuskar) Channel: #tuskar Or send an email to openstack-dev@lists.openstack.org. 3

Tuskar UI Documentation, Release Juno 4 Chapter 1. Tuskar UI

CHAPTER 2 Installation instructions 2.1 Note If you want to install and configure the entire TripleO + Tuskar + Tuskar UI stack, you can use the devtest installation guide. Otherwise, you can use the installation instructions for Tuskar UI below. 2.2 Prerequisites Installation prerequisites are: 1. A functional OpenStack installation. Horizon and Tuskar UI will connect to the Keystone service here. Keystone does not need to be on the same machine as your Tuskar UI interface, but its HTTP API must be accessible. 2. A functional Tuskar installation. Tuskar UI talks to Tuskar via an HTTP interface. It may, but does not have to, reside on the same machine as Tuskar UI, but it must be network accessible. You may find the Tuskar install guide helpful. 2.3 Installing the packages Tuskar UI is a Django app written in Python and has a few installation dependencies: On a RHEL 6 system, you should install the following: yum install git python-devel swig openssl-devel mysql-devel libxml2-devel libxslt-devel gcc gcc-c++ The above should work well for similar RPM-based distributions. For other distros or platforms, you will obviously need to convert as appropriate. Then, you ll want to use the easy_install utility to set up a few other tools: easy_install pip easy_install nose 5

Tuskar UI Documentation, Release Juno 2.4 Install the management UI Begin by cloning the Horizon and Tuskar UI repositories: git clone git://github.com/openstack/horizon.git git clone git://github.com/openstack/python-tuskarclient.git git clone git://github.com/openstack/tuskar-ui.git Go into horizon and install a virtual environment for your setup: cd horizon python tools/install_venv.py Next, run run_tests.sh to have pip install Horizon dependencies:./run_tests.sh Set up your local_settings.py file: cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py Open up the copied local_settings.py file in your preferred text editor. You will want to customize several settings: OPENSTACK_HOST should be configured with the hostname of your OpenStack server. Verify that the OPENSTACK_KEYSTONE_URL and OPENSTACK_KEYSTONE_DEFAULT_ROLE settings are correct for your environment. (They should be correct unless you modified your OpenStack server to change them.) Install Tuskar UI with all dependencies in your virtual environment: tools/with_venv.sh pip install -e../python-tuskarclient/ tools/with_venv.sh pip install -e../tuskar-ui/ And enable it in Horizon: cp../tuskar-ui/_50_tuskar.py.example openstack_dashboard/local/enabled/_50_tuskar.py Then disable the other dashboards: cp../tuskar-ui/_10_admin.py.example openstack_dashboard/local/enabled/_10_admin.py cp../tuskar-ui/_20_project.py.example openstack_dashboard/local/enabled/_20_project.py cp../tuskar-ui/_30_identity.py.example openstack_dashboard/local/enabled/_30_identity.py 2.5 Starting the app If everything has gone according to plan, you should be able to run: tools/with_venv.sh./manage.py runserver and have the application start on port 8080. The Tuskar UI dashboard will be located at http://localhost:8080/infrastructure If you wish to access it remotely (i.e., not just from localhost), you need to open port 8080 in iptables: iptables -I INPUT -p tcp --dport 8080 -j ACCEPT and launch the server with 0.0.0.0:8080 on the end: 6 Chapter 2. Installation instructions

Tuskar UI Documentation, Release Juno tools/with_venv.sh./manage.py runserver 0.0.0.0:8080 2.5. Starting the app 7

Tuskar UI Documentation, Release Juno 8 Chapter 2. Installation instructions

CHAPTER 3 User Guide 3.1 Nodes List File To allow users to load a bunch of nodes at once, there is possibility to upload CSV file with given list of nodes. This file should be formatted as driver,address,username,password/ssh key,mac addresses,cpu architecture,number of CPUs,available memo Even if there is no all data available, we assume empty values for missing keys and try to parse everything, what is possible. 9

Tuskar UI Documentation, Release Juno 10 Chapter 3. User Guide

CHAPTER 4 Contributing The code repository is located at OpenStack. Please go there if you want to check it out: git clone https://github.com/openstack/tuskar-ui.git The list of bugs and blueprints is on Launchpad: https://launchpad.net/tuskar-ui We use OpenStack s Gerrit for the code contributions: https://review.openstack.org/#/q/status:open+project:openstack/tuskar-ui,n,z and we follow the OpenStack Gerrit Workflow. If you re interested in the code, here are some key places to start: tuskar_ui/api.py - This file contains all the API calls made to the Tuskar API (through python-tuskarclient). tuskar_ui/infrastructure - The Tuskar UI code is contained within this directory. 11

Tuskar UI Documentation, Release Juno 12 Chapter 4. Contributing

CHAPTER 5 Running tests There are several ways to run tests for tuskar-ui. Using tox: This is the easiest way to run tests. When run, tox installs dependencies, prepares the virtual python environment, then runs test commands. The gate tests in gerrit usually also use tox to run tests. For avaliable tox environments, see tox.ini. By running run_tests.sh: Tests can also be run using the run_tests.sh script, to see available options, run it with the --help option. It handles preparing the virtual environment and executing tests, but in contrast with tox, it does not install all dependencies, e.g. jshint must be installed before running the jshint testcase. Manual tests: To manually check tuskar-ui, it is possible to run a development server for tuskar-ui by running run_tests.sh --runserver. To run the server with the settings used by the test environment: run_tests.sh --runserver 0.0.0.0:8000 --settings=tuskar_ui.test.settings 13

Tuskar UI Documentation, Release Juno 14 Chapter 5. Running tests

CHAPTER 6 OpenStack Style Commandments Step 1: Read http://www.python.org/dev/peps/pep-0008/ Step 2: Read http://www.python.org/dev/peps/pep-0008/ again Step 3: Read https://github.com/openstack-dev/hacking/blob/master/hacking.rst 15

Tuskar UI Documentation, Release Juno 16 Chapter 6. OpenStack Style Commandments

CHAPTER 7 Indices and tables genindex modindex search 17