Glance Mirroring Service:Glance consists of three main components: Glance-api, glance-registry, and image storeGLANCE-API: Accepts the creation, deletion, and read requests of the system image.Glance-registry: Mirrored registration Service for cloud systemsGlance installation:[[emailprotected] ~]# yum -y install openstack
Mirroring a virtual hard disk that has a system installedManagement is done with glance.Status of the Mirror:The active image has been uploaded and is availableSaving is being uploaded, not yet completed.Killed upload errorQueued does not actually upload, but is marked with this image
Installing glanceRegister at KeystoneGlance the required accountCreate a Glance ServiceSpecify the endpoint of the Glance
Preface:
The entire openstack consists of control nodes, computing nodes, network nodes, and storage nodes. The basic management services of control nodes include five services: Keystone, glance, Nova, neutron, and horizon. This article will deploy the galnce component.Glance: The image Management Service manages images that can be provided during Virtual Machine deployment, including image import, format
Problem descriptionOpenStack J Version Centos7 deploymentRestart service when not to come, the log is not error, to glance services as an example, as follows:# systemctl start Openstack-glance-api.service openstack-glance-registry.serviceJob forOpenstack-
Descriptive narrative of the problemOpenStack J Version Centos7 deploymentRestarting the service does not come up, the log does not error. Take the glance service as an example, such as the following:# systemctl start Openstack-glance-api.service openstack-glance-registry.se
Disclaimer: The recent installation of the kilo version of OpenStack found that there were very few existing web tutorials and that most of the tutorials did not install successfully, So write this tutorial. The installation of OpenStack is complex, and this tutorial does not guarantee that it will be installed successfully in different environments. Personal installation tutorials are also prone to erro
"N Version" openstack--Mirroring service GlanceA. OpenStackThe Glance Mirror service1.1glanceIntroductionGlance mainly consists of three parts
Glance-api : Receive cloud system image creation, deletion, read request, similar to NOVA-API, through other modules (Glance-registry and image store) to complete such as im
I. Glance environmentReference Document: Http://www.aboutyun.com/thread-13080-1-1.htmlHttp://docs.openstack.org/mitaka/install-guide-ubuntu/glance-install.html1. Create a Glance database and authorize
Create
mysql -u root -pCREATE DATABASE glance;
Authorization (self-setting password, connect dat
tenant
get/ Shared-images/{id}
GLANCE/API/V1/MEMBERS.PYNBSP; def index_shared_images (self, req, id) Retrieves list of image memberships for the given member.
Performs database operations through Glance-registry. 1.1registry.get_member_images 1.1.1registry/api/v1/members.py:def index_shared_ Images 1.1.1.1db/sqlalchemy/api.py:image_member_find
Member-create
The article is also published in the [Ceph China community], named Thomas, the other is not very clear, the need for readers, can leave a message to ask, thank you!
Creating a cloud host in OpenStack first has to be mirrored, while the Glance module provides mirroring service capabilities, including: Image discovery, retrieval, and storage, including: Glance
play:
First install such a virtual machine manually
In this process, the 1th step is similar to the traditional approach, requiring manual operation and a certain amount of time.But the 2nd, 3 steps very fast, fully automated, generally is the second level.and 2, 3 steps can be recycled. For example, the company has a new set of OA system, each employee's PC must have client software. Then you can manually install the OA client in an employee's virtual machine
OpenStack Glance upload image
Glance is a sub-project that provides mirroring services in OpenStack, this article mainly describes the process of uploading images glance.The Glance service consists of two services Glance-api and
Operate in the controller.Vim/etc/glance/glance-api.conf[Glance_store]Default_store = Swift defaults to file changed to SwiftStores = file, HTTP is not moved by defaultSwift_store_auth_version = 2 The default version is 2Stores=glance.store.swift.store,glance.store.filesystem.store This item must be added, otherwise it cannot be uploadedSwift_store_auth_address = http://controller:5000/v2.0 Controller's Key
openstack-glance API for convenience, you can customize a function first put it in the credentials.py .# VI credentials.py#!/usr/bin/env pythonImport OSDef get_keystone_creds (): d = {} d[' username ' =os.environ[' os_username '] d[' password ' =os.environ[' Os_password '] d[' auth_url ' =os.environ[' Os_auth_url '] d[' tenant_name ') = os.environ[' Os_tenant_name '] return DDef get_nova_creds (): d = {}
results, such as load, memory, child node proximity, CPU architecture, and so on. The powerful is that the Nova Scheduler uses a pluggable architecture.
Currently, the Nova Scheduler uses several basic scheduling algorithms:
Randomization: Host randomly selects available nodes;
Usability: Similar to random, only randomly selected range is specified;
Simplicity: In this way, the host chooses the least load to run the instance. Load data can be obtained from elsewhere, such as load-balancing
hopes to help you use the OpenStack front-end to set up and manage your own public cloud or private cloud by providing the necessary guidance information.
Ii. The basic structure of OpenStack
Horizon (Dashboard): To provide users with a graphical Web front-end console for the management of OpenStack resources and services to make them relatively intuitive; Nova:
also growing, resulting in demands for multi-hypervisor management tools and technologies on cloud computing platforms. As an industry-leading open-source cloud computing management platform, openstack provides excellent support for hybrid hypervisor management.
What is openstack?
Openstack is both a community and an open source software project. It provides an
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.