Horizon deep dive. Matthias Runge Software Engineer May 18th, 2015

Similar documents
Introduction To OpenStack. Haim Ateya Group Manager, EMC

Part2: Let s pick one cloud IaaS middleware: OpenStack. Sergio Maffioletti

DEEP DIVE: OPENSTACK COMPUTE

Red Hat OpenStack Platform 10 Product Guide

"Charting the Course... H8Q14S HPE Helion OpenStack. Course Summary

An Introduction to Red Hat Enterprise Linux OpenStack Platform. Rhys Oxenham Field Product Manager, Red Hat

OSDC.de 2013 Introduction to OpenStack. Justin Clift Open Source & Standards RH 17 April 2013

Architecture and terminology

Metadata Tagging in Cinder

OpenStack in 10 minutes with DevStack

Build Cloud like Rackspace with OpenStack Ansible

OpenStack Mitaka Release Overview

Upcoming Services in OpenStack Rohit Agarwalla, Technical DEVNET-1102

OpenStack Manila An Overview of Manila Liberty & Mitaka

Application Centric Microservices Ken Owens, CTO Cisco Intercloud Services. Redhat Summit 2015

Minimal OpenStack Starting Your OpenStack Journey

May Octavia. Project Update, OpenStack Summit Vancouver

OpenStack Admin User Guide

Savanna. Release 0.3.dev4.gcba1bac. OpenStack Foundation

Introduction to OpenStack Trove

Getting Started with Contributing to OpenStack An Introductory Crash Course on OpenStack Development

GETTING STARTED WITH OPENSTACK. Kenneth Hui, Rackspace Dan Radez, Red Hat April 27, 2016

Introduction to Neutron. Network as a Service

BRKDCT-1253: Introduction to OpenStack Daneyon Hansen, Software Engineer

OpenShift 3 Technical Architecture. Clayton Coleman, Dan McPherson Lead Engineers

SuperVessel: The Open Cloud Service for OpenPOWER

vrealize Operations Management Pack for OpenStack 5.0

OpenStack Icehouse on IPv6

How to Deploy Virtual Test Agents in OpenStack

Integrating the RHCI Suite with IdM

HPE HELION CLOUDSYSTEM 9.0. Copyright 2015 Hewlett Packard Enterprise Development LP

May 2018 OpenStack Manila

User Guide for XenServer Fuel Plugin

High Availability for Enterprise Clouds: Oracle Solaris Cluster and OpenStack

Load Balancing as a Service

OpenStack and OpenDaylight, the Evolving Relationship in Cloud Networking Charles Eckel, Open Source Developer Evangelist

HPE Helion OpenStack Carrier Grade 1.1 Release Notes HPE Helion

Life Without DevStack: OpenStack Development With OSA. Miguel

OpenStack Ceilometer. Tong Li (IBM) Brad Topol (IBM)

getting started guide

Troubleshooting Your SUSE TUT6113. Cloud. Paul Thompson SUSE Technical Consultant. Dirk Müller SUSE OpenStack Engineer

White Paper The Storage System Best Suited for OpenStack FUJITSU Storage ETERNUS DX S4/S3 series and ETERNUS AF series

2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Overview. SUSE OpenStack Cloud Monitoring

ETSI NFV #19 SpecFest Denver 2017

OTC API Technical White Paper. Issue 2.0. Date

IBM Cloud Orchestrator Version User's Guide IBM

Welcome to Manila: An OpenStack File Share Service. May 14 th, 2014

What Multisite Means for Identity Management

EMC STORAGE SOLUTIONS WITH MIRANTIS OPENSTACK

Red Hat OpenStack Platform 9 Introduction to the OpenStack Dashboard

Identity federation in OpenStack - an introduction to hybrid clouds

Red Hat OpenStack Platform 13

Containers OpenStack. Murano brings Docker & Kubernetes to OpenStack. Serg Melikyan. software.mirantis.com. January 27, 2015

ovirt and Docker Integration

A Tracing Technique for Understanding the Behavior of Large-Scale Distributed Systems

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

VSEC FOR OPENSTACK R80.10

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Infrastructure-as-Code and CI Infrastructure at Open Stack A look at one of the largest CI systems and system administration

Edge Computing Operations:

Analyzing Performance of OpenStack with Grafana Dashboards

Why software defined storage matters? Sergey Goncharov Solution Architect, Red Hat

Red Hat OpenStack Platform 10

OpenStack. Architecture and Operation. OpenStack Tutorial Day 2. Kasidit Chanchio Vasabilab, Thammasat University

Cloud Computing. Amazon Web Services (AWS)

Red Hat OpenStack Platform 12

Best Practice Deployment of F5 App Services in Private Clouds. Henry Tam, Senior Product Marketing Manager John Gruber, Sr. PM Solutions Architect

Ceilometer Documentation

Trove Onboarding Session Introductory course for contributors and reviewers

Red Hat Enterprise Linux OpenStack Platform User Group.

Jumpstart your Production OpenStack Deployment with

Deployment Guide for Nuage Networks VSP

Getting Started with OpenStack

Deployment Guide for Nuage Networks VSP

Docker Universal Control Plane Deploy and Manage On-Premises, Your Dockerized Distributed Applications

What s New in Newton. Emily Hugenbruch, Advisory Software

Security Gateway for OpenStack

The Road to Digital Transformation: Increase Agility Building and Managing Cloud Infrastructure. Albert Law Solution Architect Manager

HPE Digital Learner OpenStack Content Pack

One Platform Kit: The Power to Innovate

Pure Storage FlashArray OpenStack Cinder Volume Driver Setup Guide

McAfee Web Gateway Administration Intel Security Education Services Administration Course Training

OPENSTACK PRIVATE CLOUD WITH GITHUB

Using the vrealize Orchestrator OpenStack Plug-In 2.0. Modified on 19 SEP 2017 vrealize Orchestrator 7.0

Building a Video Optimized Private Cloud Platform on Cisco Infrastructure Rohit Agarwalla, Technical

Transparent Service Migration to the Cloud Clone existing VMs to CloudStack/OpenStack templates without user downtime. CloudOpen Seattle 2015

NET1821BU THE FUTURE OF NETWORKING AND SECURITY WITH NSX-T Bruce Davie CTO, APJ 2

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

DEPLOYING NFV: BEST PRACTICES

Introduction to Cloudbreak

McAfee Web Gateway Administration

DRAFT Pure Storage FlashArray OpenStack Cinder Volume Driver Setup Guide

Enterprise Journey to OpenStack Adoption: Real World Stories

Cloud Essentials for Architects using OpenStack

FUJITSU Software ServerView Cloud Monitoring Manager V1.0. Overview

VMware Integrated OpenStack Administrator Guide

OpenStack Command-Line Interface Reference

FreeIPA and SSSD. Free software identity management. Red Hat Developers Conference Jakub Hrozek Martin Nagy September 14, 2009

Accelerate OpenStack* Together. * OpenStack is a registered trademark of the OpenStack Foundation

Transcription:

Horizon deep dive Matthias Runge Software Engineer May 18th, 2015

Agenda 1 Overview and introduction 2 Going deeper... 3 Configuration 4 Extending Horizon 5 Troubleshooting

Section 1 Overview and introduction

Let s talk about hats Horizon core contributor Fedora, RDO, and Red Hat OpenStack Platform package maintainer Open Source enthusiast

Horizon key facts wsgi application running in Apache httpd implemented in python using Django framework part of OpenStack since the early days end user interface for OpenStack cloud platform stateless, doesn t use a database

Project features instances images, volumes projects network configuration stacks, databases, hadoop

Admin features identity (organized in a additional dashboard) quotas, flavors hypervisor metering data networks and router configuration

Features not included in Horizon cloud infrastructure configuration setup related options deployment of nodes, storages,... hardware vendor specific additions

Section 2 Going deeper...

Horizon requirements Django describes itself as web framework for perfectionists with deadlines implemented in Python very active upstream releases about every 9 months announces deprecations two releases in advance in general

Static file handling django-compressor combines and compresses static files uses {% compress %} and {% endcompress %} filters or translates files pluggable django static files./manage.py collectstatic./manage.py compress python-xstatic-foo

django openstack auth pluggable authentication backend authenticates a user against Keystone creates a user object from keystone provided data retrieves an initial token used for permission checks

OpenStack related libraries OpenStack API clients python-*client provide an client to access related rest API using the same ways as cli tools interact with underlying services

What s new in Kilo? about 34 blueprints implemented in default install: 3 visible changes Heat UI improvement Wizards for Data processing UI Glance metadata definitions Admin UI under the hood, more changes Client-side re-implementation session on Thursday

Section 3 Configuration

Most likely to configure for horizon keystone(s) to contact ALLOWED HOSTS

ALLOWED HOSTS setting Warning ALLOWED HOSTS = [ *, ] Better ALLOWED_HOSTS = ['.example.com', 'horizon.corp.com',] What? performs checks on host header

Other config options /etc/openstack-dashboard/local settings WEBROOT = /dashboard OPENSTACK API VERSIONS OPENSTACK SSL NO VERIFY, OPENSTACK SSL CACERT LOGGING HORIZON CONFIG service specific options like for keystone: can edit user

Cache and session store Cache CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.memcachedcache', 'LOCATION': '127.0.0.1:11211', } } Session # SESSION_ENGINE = 'django.contrib.sessions.backends.signed_cookies' SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

Policy files Allowing or forbidding... e.g allow or disallow users to upload images to glance even works for single projects policy checked separately from service policy config http://docs.openstack.org/developer/horizon/topics/policy.html

Section 4 Extending Horizon

Extending or customizing Horizon Several ways fork the repo and change source code directly add a customized panel or dashboard Useful info templates, templatetags styles django static file handling python-xstatic-foo

Adding a new dashboard or panel mkdir openstack_dashboard/dashboards/mydashboard./run_tests.sh -m startdash mydashboard \ --target openstack_dashboard/dashboards/mydashboard mkdir openstack_dashboard/dashboards/mydashboard/mypanel./run_tests.sh -m startpanel mypanel \ --dashboard=openstack_dashboard.dashboards.mydashboard \ --target=openstack_dashboard/dashboards/mydashboard/mypanel http://docs.openstack.org/developer/horizon/topics/tutorial.html

Customizing Look using the new theming feature customizing by adding a theme dashboard

Configuration based changes adding or removing dashboards and panels adding panels to different dashboards examples in openstack dashboard/enabled Example: Disabling panels or dashboards # The slug of the panel to be added to HORIZON_CONFIG. Required. PANEL = 'info' # The slug of the dashboard the PANEL associated with. Required. PANEL_DASHBOARD = 'admin' # The slug of the panel group the PANEL is associated with. PANEL_GROUP = 'admin' REMOVE_PANEL = True

Section 5 Troubleshooting

Troubleshooting First steps 1 does it work in nova? 2 set DEBUG = True 3 enable debugging for specific services 4 if it s a bug: we need a reproducer 5 if possible, catch a stack trace

Horizon upstream #horizon on freenode tag emails with [Horizon] when contacting openstack-dev@lists... bugs: please report them! new features are implemented via blueprint process launchpad, but not for questions weekly meetings, alternating times, Wed, either 12 UTC or 20 UTC watch for announcements

The end. Thanks for listening.