Zun

Multi-host devstack guide

Bug #1675245 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Released
High
Yongfeng Du

Bug Description

We have a document for developer to setup a single host devstack environment, but there is no document for setting up a multi-host dev environment. It would be good to have one.

* Document for setting up single-host Zun environment: https://docs.openstack.org/developer/zun/dev/quickstart.html#exercising-the-services-using-devstack
* Document for setting up multi-host devstack environment: https://docs.openstack.org/developer/devstack/guides/multinode-lab.html

We could possibly produce multi-host Zun environment by referencing the documents above.

hongbin (hongbin034)
description: updated
Changed in zun:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Lana (loquacity) wrote :

For the record, docs now give you the ability to write and maintain an Install/Deployment guide in your own repo, and publish it up to the main docs site at docs.openstack.org (so your users can find it). Instructions are here: https://docs.openstack.org/contributor-guide/project-guides.html

Yongfeng Du (dolpherdu)
Changed in zun:
assignee: nobody → Yongfeng Du (dolpherdu)
Revision history for this message
Yongfeng Du (dolpherdu) wrote :

Tried with the following local.conf:
=============================
[[local|localrc]]
# HOST_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
# MultiHOST
HOST_IP=10.0.0.34
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_TOKEN=password
SERVICE_PASSWORD=password
ADMIN_PASSWORD=password
enable_plugin zun https://git.openstack.org/openstack/zun
enable_plugin kuryr-libnetwork https://git.openstack.org/openstack/kuryr-libnetwork

SERVICE_HOST=10.0.0.35

MULTI_HOST=True
MYSQL_HOST=10.0.0.35
RABBIT_HOST=10.0.0.35
GLANCE_HOSTPORT=10.0.0.35:9292

ENABLED_SERVICES=zun-compute,kuryr-libnetwork
=====================
has following problems:
1. the /etc/zun/zun.conf is not correctly set because SERVICE_HOST/XXX_HOST is not respected by plugin.sh
2. zun-api/etcd was enabled.

Need to fix the devstack plugin first

Revision history for this message
hongbin (hongbin034) wrote :

I see. Feel free to open another bug for the devstack issue.

Revision history for this message
Yongfeng Du (dolpherdu) wrote :

https://bugs.launchpad.net/zun/+bug/1691606
After the devstack fixes, seems there are more issues need to be addressed before doc changes.
I remove myself from assignee, any one can continue with this effort.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.openstack.org/466166

Changed in zun:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/466166
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=8a1c854be2fc76ae0e7167b9fa32833268019ac8
Submitter: Jenkins
Branch: master

commit 8a1c854be2fc76ae0e7167b9fa32833268019ac8
Author: Yongfeng Du <email address hidden>
Date: Fri May 19 11:23:16 2017 +0800

    Add multi host part for devstack guide

    Add guide for set up the standalone zun-compute nodes.

    Change-Id: I87d80fa9790b68f407cfa25ab3fbfa97bbb10b34
    Closes-Bug: #1675245

Changed in zun:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun 0.2.0

This issue was fixed in the openstack/zun 0.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.