openstack end user guide - suse openstack cloud 8 openstack end user guide suse openstack cloud 8...

Download OpenStack End User Guide - SUSE OpenStack Cloud 8 OpenStack End User Guide SUSE OpenStack Cloud 8 ABSTRACT

Post on 01-Sep-2019

0 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • OpenStack User Guide

    SUSE OpenStack Cloud Crowbar

  • OpenStack User Guide SUSE OpenStack Cloud Crowbar

    Publication Date: 12/06/2019

    SUSE LLC 10 Canal Park Drive Suite 200 Cambridge MA 02141 USA

    https://www.suse.com/documentation

    https://www.suse.com/documentation

  • Contents

    1 Glance User Guide 1 1.1 Image Identifiers 1

    1.2 Image Statuses 1

    1.3 Task Statuses 4

    1.4 Image Statuses 4

    1.5 Task Statuses 7

    1.6 Disk and Container Formats 7 Disk Format 7 • Container Format 8

    1.7 Common Image Properties 9 architecture 9 • instance_uuid 10 • kernel_id 10 •

    ramdisk_id 10 • os_distro 10 • os_version 10

    1.8 Metadata Definition Concepts 10 Terminology 11

    1.9 Using Glance’s Image Public APIs 15 Glance and the Images APIs: Past, Present, and

    Future 16 • Authentication 17 • Using v1.X 18 • Image

    Membership Changes in Version 2.0 29 • Images v2 Tasks API 30 • API

    Message Localization 32

    1.10 Using Glance’s Client Tools 33

    1.11 Using Glance’s Metadata Definitions Catalog Public APIs 33 Authentication 34 • Using v2.X 34 • API Message Localization 45

    1.12 Image Signature Verification 46 Requirements 46 • Configuration 46 • Using the Signature

    Verification 47 • Example Usage 49 • Other Links 50

    iii OpenStack User Guide

  • 2 Ironic User Guide 51 2.1 Why Provision Bare Metal 51

    2.2 Conceptual Architecture 51

    2.3 Logical Architecture 54

    2.4 Key Technologies for Bare Metal Hosting 56 Preboot Execution Environment (PXE) 56 • Dynamic Host Configuration

    Protocol (DHCP) 57 • Network Bootstrap Program (NBP) 57 • Trivial

    File Transfer Protocol (TFTP) 57 • Intelligent Platform Management Interface

    (IPMI) 57

    2.5 Ironic Deployment Architecture 57

    2.6 Understanding Bare Metal Deployment 58 Deploy Process 60 • Example 1: PXE Boot and iSCSI Deploy

    Process 62 • Example 2: PXE Boot and Direct Deploy Process 62

    3 Horizon User Guide 63 3.1 OpenStack Dashboard User Documentation 63

    Log in to the dashboard 63 • Upload and manage

    images 69 • Configure access and security for instances 77 • Launch

    and manage instances 82 • Create and manage networks 88 • Create

    and manage object containers 90 • Create and manage

    volumes 94 • Create and manage shares 97 • Launch and manage

    stacks 101 • Create and manage databases 110 • View and manage load

    balancers v2 114 • Supported Browsers 116

    4 Keystone User Guide 121 4.1 User Documentation 121

    API Examples using Curl 121

    5 Magnum User Documentation 148 5.1 Introduction 148

    5.2 Terminology 148

    5.3 Overview 149

    iv OpenStack User Guide

  • 5.4 ClusterTemplate 149 Labels 155

    5.5 Cluster 159 Infrastructure 159 • Life cycle 160

    5.6 Python Client 165 Installation 165 • Verifying installation 165 • Using the command-line

    client 166

    5.7 Horizon Interface 166

    5.8 Cluster Drivers 167 Directory structure 168 • Sample cluster driver 169 • Installing a cluster

    driver 169

    5.9 Cluster Type Definition 169 The Heat Stack Template 169 • The Template Definition 170 • The

    Definition Entry Point 170 • Installing Cluster Templates 170

    5.10 Heat Stack Templates 172

    5.11 Choosing a COE 172

    5.12 Native Clients 173

    5.13 Kubernetes 175 External load balancer for services 178

    5.14 Swarm 178

    5.15 Mesos 181 Building Mesos image 184 • Using Marathon 186

    5.16 Transport Layer Security 187 Deploying a secure cluster 187 • Interfacing with a secure

    cluster 190 • User Examples 192 • Storing the certificates 194

    5.17 Networking 195

    5.18 High Availability 198

    v OpenStack User Guide

  • 5.19 Scaling 198 Performance tuning for periodic task 198 • Containers and nodes 199

    5.20 Storage 201 Ephemeral storage 201 • Persistent storage 202

    5.21 Image Management 207 Kubernetes on Fedora Atomic 208 • Kubernetes on

    CoreOS 209 • Kubernetes on Ironic 210 • Swarm on Fedora

    Atomic 210 • Mesos on Ubuntu 210

    5.22 Notification 211 Auditing with CADF 211 • Supported Events 215 • Example Notification -

    Cluster Create 216

    5.23 Container Monitoring 217 Container Monitoring in Kubernetes 217

    5.24 Kubernetes External Load Balancer 218 Steps for the cluster administrator 219 • Steps for the users 220 • How it

    works 223

    5.25 Terminology 225

    5.26 Overview 226

    5.27 ClusterTemplate 227 Labels 232

    5.28 Cluster 236 Infrastructure 236 • Life cycle 237

    5.29 Python Client 242 Installation 242 • Verifying installation 242 • Using the command-line

    client 243

    5.30 Horizon Interface 243

    5.31 Cluster Drivers 244 Directory structure 245 • Sample cluster driver 246 • Installing a cluster

    driver 246

    vi OpenStack User Guide

  • 5.32 Cluster Type Definition 246 The Heat Stack Template 246 • The Template Definition 247 • The

    Definition Entry Point 247 • Installing Cluster Templates 247

    5.33 Heat Stack Templates 249

    5.34 Choosing a COE 249

    5.35 Native Clients 250

    5.36 Kubernetes 252 External load balancer for services 255

    5.37 Swarm 255

    5.38 Mesos 258 Building Mesos image 261 • Using Marathon 263

    5.39 Transport Layer Security 264 Deploying a secure cluster 264 • Interfacing with a secure

    cluster 267 • User Examples 269 • Storing the certificates 271

    5.40 Networking 272

    5.41 High Availability 275

    5.42 Scaling 275 Performance tuning for periodic task 275 • Containers and nodes 276

    5.43 Storage 278 Ephemeral storage 278 • Persistent storage 279

    5.44 Image Management 284 Kubernetes on Fedora Atomic 285 • Kubernetes on

    CoreOS 286 • Kubernetes on Ironic 287 • Swarm on Fedora

    Atomic 287 • Mesos on Ubuntu 287

    5.45 Notification 288 Auditing with CADF 288 • Supported Events 292 • Example Notification -

    Cluster Create 293

    5.46 Container Monitoring 294 Container Monitoring in Kubernetes 294

    vii OpenStack User Guide

  • 5.47 Kubernetes External Load Balancer 295 Steps for the cluster administrator 296 • Steps for the users 297 • How it

    works 300

    6 Nova User Guide 303 6.1 Tools for using Nova 303

    6.2 Writing to the API 303

    Glossary 305

    viii OpenStack User Guide

  • 1 Glance User Guide

    1.1 Image Identifiers Images are uniquely identified by way of a URI that matches the following signature:

    /v1/images/

    where is the resource location of the Glance service that knows about an image, and is the image’s identifier. Image identifiers in Glance are uuids, making them globally unique.

    1.2 Image Statuses Images in Glance can be in one the following statuses:

    queued

    The image identifier has been reserved for an image in the Glance registry. No image data has been uploaded to Glance and the image size was not explicitly set to zero on creation.

    saving

    Denotes that an image’s raw data is currently being uploaded to Glance. When an image is registered with a call to POST /images and there is an x-image-meta-location head- er present, that image will never be in the saving status (as the image data is already available in some other location).

    active

    Denotes an image that is fully available in Glance. This occurs when the image data is uploaded, or the image size is explicitly set to zero on creation.

    deactivated

    Denotes that access to image data is not allowed to any non-admin user. Prohibiting down- loads of an image also prohibits operations like image export and image cloning that may require image data.

    killed

    Denotes that an error occurred during the uploading of an image’s data, and that the image is not readable.

    1 Image Identifiers SUSE OpenStack Cl…

  • deleted

    Glance has retained the information about the image, but it is no longer available to use. An image in this state will be removed automatically at a later date.

    pending_delete

    This is similar to deleted , however, Glance has not yet removed the image data. An image in this state is not recoverable.

    2 Image Statuses SUSE OpenStack Cl…

  • FIGURE 1.1: THIS IS A REPRESENTATION OF HOW THE IMAGE MOVE FROM ONE STATUS TO THE NEXT.

    3 Image Statuses SUSE OpenStack Cl…

  • 1.3 Task Statuses Tasks in Glance can be in one the following statuses:

    pending

    The task identifier has been reserved for a task in the Glance. No processing has begun on it yet.

    processing

    The task has been picked up by the underlying executor and is being run using the backend Glance execution logic for that task type.

    success

    Denotes that the task has had a successful run within Glance. The result eld of the task shows more details about the outcome.

    failure

    Denotes that an error occurred during the execution of the task and it cannot continue processing. The message eld of the task shows what the error was.

    1.4 Image Statuses Images in Glance can be in one the following statuses:

    queued

    The image identifier has been reserved for an image in the Glance regis

Recommended

View more >