Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How devstack deploys the openstackM version

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to deploy the openstackM version of devstack. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

1. Installation

Ubuntu14.04

two。 Update

Sudo apt-get update

3. Install git

If ssh is required for sudo apt-get install git, apt-get ssh service ```is required.

4. Clone code from git

Git clone https://github.com/openstack-dev/devstack.git or git clone http://git.trystack.cn/openstack-dev/devstack.git / / this source is much faster

5. Create stack users / groups

# cd devstack/tools #. / devstack/tools/create-stack-user.sh

6. Modify / opt/stack user / group

# chown-R stack:stack / opt/stack

If there is a connection error in the installation, comment out the branches of each component in the local.conf, similar to

# HORIZON_BRANCH=stable/mitaka

Will be downloaded from the master branch by default.

7. Change the devstack/local.conf and modify the corresponding ip.

[[local | localrc]] # use TryStack git mirror GIT_BASE= http://git.trystack.cnNOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.gitSPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git # OFFLINE=True RECLONE=False # Define images to be automatically downloaded during the DevStack built process.DOWNLOAD_DEFAULT_IMAGES=FalseIMAGE_URLS= "http://images.trystack.cn/cirros/cirros-0.3.4-x86_64-disk.img"HOST_IP=192.168.232.128 # CredentialsDATABASE _ PASSWORD=pass ADMIN_PASSWORD=pass SERVICE_PASSWORD=passSERVICE_TOKEN=passRABBIT_PASSWORD=pass HORIZON_BRANCH=stable/mitakaKEYSTONE_BRANCH=stable/mitakaNOVA_BRANCH=stable/mitakaNEUTRON_BRANCH=stable/mitakaGLANCE_BRANCH=stable/mitakaCINDER_BRANCH=stable/mitakaMANILA_BRANCH=stable/mitakaFREEZER_API_BRANCH=stable/mitaka # keystoneKEYSTONE_TOKEN_FORMAT=UUID#Heat HEAT_BRANCH=stable/mitakaenable_service h-eng h-api h-api-cfn h-api-cw# TroveTROVE_BRANCH=stable/mitakaenable_service trove tr-api tr-tmgr tr-cond#manilaENABLED_SERVICES+= Manila,m-api,m-sch,m-shr # # SwiftSWIFT_BRANCH=stable/mitakaENABLED_SERVICES+=,s-proxy,s-object,s-container S-accountSWIFT_REPLICAS=1SWIFT_HASH=011688b44136573e209e# Ceilometerenable_plugin ceilometer http://git.trystack.cn/openstack/ceilometer stable/mitaka # # Murano enable_plugin murano http://git.trystack.cn/openstack/murano stable/mitaka enable_service murano-cfapi # # Manila MANILA_SERVICE_IMAGE_URL= file:///home/devstack/files/manila-service-image-master.qcow2 # enable_plugin manila https://github.com/openstack/manila stable/mitaka enable_plugin manila http://git.trystack.cn/openstack / manila stable/mitaka # reezer enable_service freezer enable_plugin freezer http://git.trystack.cn/openstack/freezer stable/mitaka enable_plugin freezer-api http://git.trystack.cn/openstack/freezer-api stable/mitaka enable_plugin freezer-web-ui http://git.trystack.cn/openstack/freezer-web-ui stable/mitaka # Enabling Neutron (network) Service disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 Enable_service q-meta enable_service q-metering enable_service neutron # # Neutron optionsQ_USE_SECGROUP=TrueFLOATING_RANGE= "192.168.232.0 FIXED_RANGE= 24" FIXED_RANGE= "20.0.0.0 Universe 24" Q_FLOATING_ALLOCATION_POOL=start=192.168.232.102 End=192.168.232.130PUBLIC_NETWORK_GATEWAY= "192.168.232.2" Q_L3_ENABLED=TruePUBLIC_INTERFACE=eth0Q_USE_PROVIDERNET_FOR_PUBLIC=TrueOVS_PHYSICAL_BRIDGE=br-exPUBLIC_BRIDGE=br-exOVS_BRIDGE_MAPPINGS=public:br-ex# # VLAN configuration.Q_PLUGIN=ml2ENABLE_TENANT_VLANS=True# LoggingLOGFILE=/opt/stack/logs/stack.sh.logVERBOSE=TrueLOG_COLOR=TrueSCREEN_LOGDIR=/opt/stack/logs

8. Execute stack.sh

# su stack#./stack.sh 's article on "how to deploy the openstackM version of devstack" ends here. I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report