Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
local.conf (Mitaka) - Almost all services are enabled with Neutron
[[local|localrc]]
#OFFLINE=True
RECLONE=True
HORIZON_BRANCH=stable/mitaka
KEYSTONE_BRANCH=stable/mitaka
NOVA_BRANCH=stable/mitaka
NEUTRON_BRANCH=stable/mitaka
GLANCE_BRANCH=stable/mitaka
CINDER_BRANCH=stable/mitaka
HEAT_BRANCH=stable/mitaka
#-----------------------------
# Common congigurations
#-----------------------------
#disable_service cinder c-sch c-api c-vol
#disable_service tempest
#disable_service horizon
#disable_service heat h-api h-api-cfn h-api-cw h-eng
enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api
enable_service s-proxy s-object s-container s-account
enable_plugin sahara git://git.openstack.org/openstack/sahara stable/mitaka
enable_plugin trove git://git.openstack.org/openstack/trove stable/mitaka
enable_plugin sahara-dashboard git://git.openstack.org/openstack/sahara-dashboard stable/mitaka
enable_plugin trove-dashboard git://git.openstack.org/openstack/trove-dashboard stable/mitaka
enable_plugin neutron https://git.openstack.org/openstack/neutron stable/mitaka
#enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas
#NEUTRON_LBAAS_SERVICE_PROVIDERV2="LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default"
#NEUTRON_LBAAS_SERVICE_PROVIDERV2="LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default"
#enable_plugin neutron-lbaas-dashboard https://git.openstack.org/openstack/neutron-lbaas-dashboard
#enable_plugin neutron-lbaas-dashboard file:///home/ubuntu/work/neutron-lbaas-dashboard review/akihiro_motoki/devstack-plugin
enable_plugin neutron-vpnaas https://git.openstack.org/openstack/neutron-vpnaas stable/mitaka
enable_plugin magnum https://git.openstack.org/openstack/magnum master
enable_plugin magnum-ui https://git.openstack.org/openstack/magnum-ui master
# designate-dashboard is installed by designate devstack plugin
enable_plugin designate https://git.openstack.org/openstack/designate stable/mitaka
DESIGNATE_BACKEND_DRIVER=fake
DESIGNATE_BRANCH=stable/mitaka
DESIGNATEDASHBOARD_BRANCH=stable/mitaka
# murano-dashboard is installed by murano devstack plugin
enable_plugin murano https://git.openstack.org/openstack/murano stable/mitaka
MURANO_BRANCH=stable/mitaka
MURANO_DASHBOARD_BRANCH=stable/mitaka
enable_service murano-cfapi
MURANO_APPS=io.murano.apps.apache.Tomcat,io.murano.apps.Guacamole
# Some more processing for translation check site
enable_plugin horizon-i18n-tools https://github.com/amotoki/horizon-i18n-tools.git
LIBS_FROM_GIT=django_openstack_auth
HORIZONAUTH_BRANCH=stable/mitaka
KEYSTONE_TOKEN_FORMAT=UUID
PRIVATE_NETWORK_NAME=net1
PUBLIC_NETWORK_NAME=ext_net
#-----------------------------
# Neutron
#-----------------------------
disable_service n-net
enable_service neutron q-svc q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
#enable_service q-lbaas
enable_service q-lbaasv2
enable_service q-fwaas
enable_service q-vpn
enable_service q-qos
enable_service q-flavors
# murano devstack enables q-metering by default
disable_service q-metering
Q_PLUGIN=ml2
#Q_USE_DEBUG_COMMAND=True
if [ "$Q_PLUGIN" = "ml2" ]; then
#Q_ML2_TENANT_NETWORK_TYPE=gre
Q_ML2_TENANT_NETWORK_TYPE=vxlan
:
fi
#-----------------------------
# Devstack configurations
#-----------------------------
LOGDIR=$DEST/logs
SCREEN_LOGDIR=$LOGDIR
SCREEN_HARDSTATUS="%{= rw} %H %{= wk} %L=%-w%{= bw}%30L> %n%f %t*%{= wk}%+Lw%-17< %-=%{= gk} %y/%m/%d %c"
LOGFILE=$LOGDIR/devstack.log
LOGDAYS=1
#LOG_COLOR=False
ADMIN_PASSWORD=UW3D9n6TqdGn
MYSQL_PASSWORD=EemCSA3gLAqK2hwg
RABBIT_PASSWORD=FeFfxuSvDaAQnfEK
SERVICE_PASSWORD=tVQfFNNlsDUb5Bzp
SERVICE_TOKEN=xynMtSp9KS59SPHp
SWIFT_HASH=JRBj7ukxMG4tckek
[[post-config|/etc/neutron/dhcp_agent.ini]]
[DEFAULT]
enable_isolated_metadata = True

It appears to be an AIO kind of setup? How about Multinode with standalone Neutron and compute nodes?

Thank you for publishing this,
The only issue I've encountered using this localrc file is that ceilometer is not available.

For example we get this error for command "ceilometer meter-list"

PublicURL endpoint for metering service in RegionOne region not found

keystone service-list does not list ceilometer,

7caf39568a70438089d67d627bbdd023 | cinder | volume | Cinder Volume Service |
| f62db846faf241a9ac46f20d31e64cdd | cinderv2 | volumev2 | Cinder Volume Service V2 |
| a75c4a969f5b4a148d26c48d48880add | designate | dns | Designate DNS Service |
| d3b60a847f384b60911638b43135bc54 | glance | image | Glance Image Service |
| f79d81c238134d248479bf879c9fb2ce | heat | orchestration | Heat Orchestration Service |
| 77c637dd1e574d3ab217cd6467864ee8 | heat-cfn | cloudformation | Heat CloudFormation Service |
| dd21c082e33542d58e55ec9803ba6a99 | keystone | identity | |
| c5edb1ed60da43ef8b8d7783abde271f | magnum | container-infra | Container Infrastructure Management Service |
| 92b08eaa3e44458393886b138fbcb159 | murano | application-catalog | Application Catalog Service |
| 0c2bb949cf624117896802c59b30b03b | murano-cfapi | service-broker | Murano CloudFoundry Service Broker |
| 3c38da4cb1da4f739a77fc8d172f1c34 | neutron | network | Neutron Service |
| bc554a70dd91481a9dd642c4c08bbc72 | nova | compute | Nova Compute Service |
| 4685eae92f6c4c13a578453b5c2ae501 | nova_legacy | compute_legacy | Nova Compute Service (Legacy 2.0) |
| 23e81bee71364cd198f4d022270bf988 | sahara | data-processing | Sahara Data Processing |
| 653a7717e5c7409eb6aff025072971a9 | swift | object-store | Swift Service |
| 49275636db8a41fbb9043174acec4fd6 | trove | database | Trove Service |
+

I've tried to find the cause for this this from past 4 days and was not able to, any help would be very much appreciable.

By the way, have devstack installed on a Ubuntu 14.04.

Thank you

with Ubuntu 16.04Lts Server Edition there is an error that I've reported here:
2016-08-05 19:37:59.589 | E: Package 'openswan' has no installation candidate
2016-08-05 19:37:59.601 | +functions-common:apt_get:1 exit_trap
2016-08-05 19:37:59.612 | +./stack.sh:exit_trap:480 local r=100
2016-08-05 19:37:59.633 | ++./stack.sh:exit_trap:481 jobs -p
2016-08-05 19:37:59.647 | +./stack.sh:exit_trap:481 jobs=
2016-08-05 19:37:59.659 | +./stack.sh:exit_trap:484 [[ -n '' ]]
2016-08-05 19:37:59.670 | +./stack.sh:exit_trap:490 kill_spinner
2016-08-05 19:37:59.682 | +./stack.sh:kill_spinner:376 '[' '!' -z '' ']'
2016-08-05 19:37:59.696 | +./stack.sh:exit_trap:492 [[ 100 -ne 0 ]]
2016-08-05 19:37:59.708 | +./stack.sh:exit_trap:493 echo 'Error on exit'
2016-08-05 19:37:59.708 | Error on exit
2016-08-05 19:37:59.719 | +./stack.sh:exit_trap:494 generate-subunit 1470424796 1083 fail
2016-08-05 19:38:00.489 | +./stack.sh:exit_trap:495 [[ -z /opt/stack/logs ]]
2016-08-05 19:38:00.500 | +./stack.sh:exit_trap:498 /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2016-08-05 19:38:01.383 | +./stack.sh:exit_trap:504 exit 100

Openswan package is not avalable on Ubuntu 16.04Lts. How Can I resolve that? thanks in advance

Owner

amotoki commented Aug 22, 2016

@venumurthy This local.conf is for stable/mitaka. Which branch did you use? DevStack changes release by release and day by day, so there is no surprise this doesn't work with the latest master branch.

Owner

amotoki commented Aug 22, 2016

@richardsith Does IPSEC_PACKAGE=strongswan work for you?
If it doesn't work. devstack plugin in neutron-vpnaas needs to be updated.

SyCode7 commented Oct 3, 2016

@amotoki
I have the errors below :

nova-compute Guru Meditation Report

Skipping as nova-compute does not appear to be running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment