test-config not parsed correctly

Bug #1887835 reported by Goutham Pacha Ravi on 2020-07-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Undecided
Unassigned

Bug Description

I'm trying to use the "devstack-minimal" setup to run a CI job with just manila and keystone enabled. As the definition goes, I don't want to run any of the other OpenStack services besides these two.

Here's a sample local.conf file:

     [[local|localrc]]
     disable_all_services
     enable_service memory_tracker
     enable_service key
     enable_service rabbit
     enable_service etcd3
     enable_service tls-proxy
     enable_service tempest
     enable_service dstat
     enable_service mysql
     ADMIN_PASSWORD=secret
     DATABASE_PASSWORD=$ADMIN_PASSWORD
     RABBIT_PASSWORD=$ADMIN_PASSWORD
     SERVICE_PASSWORD=$ADMIN_PASSWORD
     DEST=/opt/stack
     LOGFILE="/opt/stack/logs/devstacklog.txt"

     # Enabling manila services
     LIBS_FROM_GIT=python-manilaclient
     enable_plugin manila https://git.openstack.org/openstack/manila
     enable_plugin manila-ui https://github.com/openstack/manila-ui
     enable_plugin manila-tempest-plugin https://git.openstack.org/openstack/manila-tempest-plugin
     # LVM Backend config options
     MANILA_SERVICE_IMAGE_ENABLED=False
     SHARE_DRIVER=manila.share.drivers.lvm.LVMShareDriver
     MANILA_ENABLED_BACKENDS=chicago,denver
     MANILA_BACKEND1_CONFIG_GROUP_NAME=chicago
     MANILA_BACKEND2_CONFIG_GROUP_NAME=denver
     MANILA_SHARE_BACKEND1_NAME=CHICAGO
     MANILA_SHARE_BACKEND2_NAME=DENVER
     MANILA_OPTGROUP_chicago_driver_handles_share_servers=False
     MANILA_OPTGROUP_denver_driver_handles_share_servers=False
     SHARE_BACKING_FILE_SIZE=32000M
     MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
     MANILA_CONFIGURE_DEFAULT_TYPES=True
     MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST=True

     [[test-config|$TEMPEST_CONFIG]]
     [share]
     run_mount_snapshot_tests = True
     backend_names = CHICAGO,DENVER
     enable_user_rules_for_protocols = cifs
     multi_backend = True
     run_shrink_tests = False
     multitenancy_enabled = False
     run_revert_to_snapshot_tests = True
     enable_ip_rules_for_protocols = nfs

DevStack install fine, but there's a failure in the awk commands used to perform the test-config:
Invoked here: https://opendev.org/openstack/devstack/src/commit/302ce78aefd5727a7cfd1f2ccad5ae0754a3c7c7/stack.sh#L1438-L1440
Failure occurs in method: https://opendev.org/openstack/devstack/src/commit/302ce78aefd5727a7cfd1f2ccad5ae0754a3c7c7/inc/meta-config#L79-L165

A sample failure log looks like this: http://paste.openstack.org/show/796019/

The error does not occur when I enable nova, glance and neutron, strangely.

Changed in devstack:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers