-
-
Save amotoki/b5ca4affd768177ed911 to your computer and use it in GitHub Desktop.
[[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 |
@amotoki
Hi, I am facing openstacksdk version problem.
2016-12-26 07:11:30.013 | ++userrc_early:source:7 OS_USER_DOMAIN_ID=default
2016-12-26 07:11:30.020 | ++userrc_early:source:8 export OS_PASSWORD=root
2016-12-26 07:11:30.027 | ++userrc_early:source:8 OS_PASSWORD=root
2016-12-26 07:11:30.033 | ++userrc_early:source:9 export OS_PROJECT_NAME=admin
2016-12-26 07:11:30.039 | ++userrc_early:source:9 OS_PROJECT_NAME=admin
2016-12-26 07:11:30.045 | ++userrc_early:source:10 export OS_PROJECT_DOMAIN_ID=default
2016-12-26 07:11:30.051 | ++userrc_early:source:10 OS_PROJECT_DOMAIN_ID=default
2016-12-26 07:11:30.057 | ++userrc_early:source:11 export OS_REGION_NAME=RegionOne
2016-12-26 07:11:30.064 | ++userrc_early:source:11 OS_REGION_NAME=RegionOne
2016-12-26 07:11:30.069 | +./stack.sh:main:1033 create_keystone_accounts
2016-12-26 07:11:30.074 | +lib/keystone:create_keystone_accounts:372 local admin_tenant
2016-12-26 07:11:30.081 | ++lib/keystone:create_keystone_accounts:373 openstack project show admin -f value -c id
2016-12-26 07:11:31.019 | Traceback (most recent call last):
2016-12-26 07:11:31.019 | File "/usr/local/bin/openstack", line 7, in
2016-12-26 07:11:31.019 | from openstackclient.shell import main
2016-12-26 07:11:31.019 | File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", line 32, in
2016-12-26 07:11:31.019 | from openstackclient.common import clientmanager
2016-12-26 07:11:31.019 | File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 293, in
2016-12-26 07:11:31.019 | 'openstack.cli.base',
2016-12-26 07:11:31.019 | File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 264, in get_plugin_modules
2016-12-26 07:11:31.019 | import(ep.module_name)
2016-12-26 07:11:31.019 | File "/usr/local/lib/python2.7/dist-packages/openstackclient/network/client.py", line 16, in
2016-12-26 07:11:31.019 | from openstack import connection
2016-12-26 07:11:31.019 | File "/usr/local/lib/python2.7/dist-packages/openstack/connection.py", line 68, in
2016-12-26 07:11:31.019 | from openstack import session as _session
2016-12-26 07:11:31.019 | File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 29, in
2016-12-26 07:11:31.019 | DEFAULT_USER_AGENT = "openstacksdk/%s" % openstack.version
2016-12-26 07:11:31.019 | AttributeError: 'module' object has no attribute 'version'
2016-12-26 07:11:31.041 | +lib/keystone:create_keystone_accounts:373 admin_tenant=
2016-12-26 07:11:31.049 | +lib/keystone:create_keystone_accounts:1 exit_trap
2016-12-26 07:11:31.056 | +./stack.sh:exit_trap:474 local r=1
2016-12-26 07:11:31.064 | ++./stack.sh:exit_trap:475 jobs -p
2016-12-26 07:11:31.072 | +./stack.sh:exit_trap:475 jobs=
2016-12-26 07:11:31.079 | +./stack.sh:exit_trap:478 [[ -n '' ]]
2016-12-26 07:11:31.086 | +./stack.sh:exit_trap:484 kill_spinner
2016-12-26 07:11:31.092 | +./stack.sh:kill_spinner:370 '[' '!' -z '' ']'
2016-12-26 07:11:31.098 | +./stack.sh:exit_trap:486 [[ 1 -ne 0 ]]
2016-12-26 07:11:31.105 | +./stack.sh:exit_trap:487 echo 'Error on exit'
2016-12-26 07:11:31.105 | Error on exit
2016-12-26 07:11:31.110 | +./stack.sh:exit_trap:488 generate-subunit 1482733821 2470 fail
2016-12-26 07:11:31.479 | +./stack.sh:exit_trap:489 [[ -z /opt/stack/logs ]]
2016-12-26 07:11:31.487 | +./stack.sh:exit_trap:492 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2016-12-26 07:11:31.895 | +./stack.sh:exit_trap:498 exit 1
stack@openstack:~/devstack$
I've tried to find the cause for this this from past few days and I found that they updated openstacksdk version (UPDATE DEFAULT_USER_AGENT = "openstacksdk/%s" % openstack_version.__version__),
; But it's not working and throwing same error.
Any help would be very much appreciable.
Thank you in advance.
@amotoki
I have the errors below :
nova-compute Guru Meditation Report
Skipping as nova-compute does not appear to be running