Fix the localrc issue
1.Since the local.conf need to live on devstack directory Refine the cat command to be obvious 2.Also fix one issue, as devstack would use localrc directly if localrc file exists, but localrc not have enable_plugin setting. This would cause devstack install without magnum enable. So we use local.conf as the default configuration kick point to make magnum can be installed with devstack Closes-Bug: #1441977 Change-Id: Ib06cd38ed9744d42e664ff92d486c29e7932851f
This commit is contained in:
parent
00f3c2ab67
commit
5114844325
|
@ -11,11 +11,12 @@ needs to download an atomic fedora 21 qcow image. If you already have this image
|
|||
you can copy it to /opt/stack/devstack/files/fedora-21-atomic.qcow2 to save you
|
||||
this time.
|
||||
|
||||
To install magnum into devstack, Add this repo as an external repository: ::
|
||||
To install magnum into devstack, add the following settings to enable magnum plugin: ::
|
||||
|
||||
> cat local.conf
|
||||
cat > /opt/stack/devstack/local.conf << END
|
||||
[[local|localrc]]
|
||||
enable_plugin magnum https://github.com/openstack/magnum
|
||||
enable_plugin magnum https://github.com/openstack/magnum master
|
||||
END
|
||||
|
||||
Run devstack as normal: ::
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ enable_service h-api-cfn
|
|||
enable_service h-api-cw
|
||||
|
||||
# Enable Magnum services
|
||||
enable_service magnum
|
||||
enable_service m-api
|
||||
enable_service m-cond
|
||||
|
||||
|
|
|
@ -120,21 +120,25 @@ Clone DevStack::
|
|||
sudo chown $USER /opt/stack
|
||||
|
||||
git clone https://github.com/openstack-dev/devstack.git /opt/stack/devstack
|
||||
git clone https://github.com/openstack/magnum /opt/stack/magnum
|
||||
|
||||
Copy devstack/localrc with minimal settings required to enable Heat
|
||||
and Neutron, refer to http://docs.openstack.org/developer/devstack/guides/neutron.html
|
||||
for more detailed neutron configuration.
|
||||
|
||||
Be sure to update network and other config as appropriate for your setup.::
|
||||
To install magnum into devstack, add following settings to local.conf. You need to
|
||||
make customized setting according to your environment requirement, refer devstack
|
||||
guide for details.::
|
||||
|
||||
cp /opt/stack/magnum/devstack/settings /opt/stack/devstack/localrc
|
||||
|
||||
To install magnum into devstack, Add this repo as an external repository: ::
|
||||
|
||||
> cat local.conf
|
||||
cat > /opt/stack/devstack/local.conf << END
|
||||
[[local|localrc]]
|
||||
enable_plugin magnum https://github.com/openstack/magnum
|
||||
DATABASE_PASSWORD=password
|
||||
RABBIT_PASSWORD=password
|
||||
SERVICE_TOKEN=password
|
||||
SERVICE_PASSWORD=password
|
||||
ADMIN_PASSWORD=password
|
||||
PUBLIC_INTERFACE=eth1
|
||||
END
|
||||
|
||||
Run DevStack::
|
||||
|
||||
|
|
Loading…
Reference in New Issue