Bug 1937036
| Summary: | Error "values has to be a tuple" when creating schema using dsconf [RHDS 11.2] | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | mreynolds |
| Component: | 389-ds-base | Assignee: | mreynolds |
| Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> |
| Severity: | unspecified | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
| Priority: | unspecified | ||
| Version: | 11.2 | CC: | aadhikar, ds-qe-bugs, ldap-maint, mmuehlfe, sgouvern, vashirov |
| Target Milestone: | DS11.2 | ||
| Target Release: | dirsrv-11.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | redhat-ds-11-8030020210311231232.0b92cc7b | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1937029 | Environment: | |
| Last Closed: | 2021-04-19 09:54:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1937029, 1944759 | ||
| Bug Blocks: | |||
|
Description
mreynolds
2021-03-09 17:32:33 UTC
Build Tested: 389-ds-base-1.4.3.21-2.module+el8dsrv+10309+dd9f990e.x86_64
cockpit-389-ds-1.4.3.21-2.module+el8dsrv+10309+dd9f990e.noarch
# dsconf -v DS-TEST schema objectclasses add testOC
DEBUG: The 389 Directory Server Configuration Tool
DEBUG: Inspired by works of: ITS, The University of Adelaide
DEBUG: dsrc path: /root/.dsrc
DEBUG: dsrc container path: /data/config/container.inf
DEBUG: dsrc instances: []
DEBUG: dsrc no such section: slapd-DS-TEST
DEBUG: Called with: Namespace(basedn=None, binddn=None, bindpw=None, desc=None, func=<function add_objectclass at 0x7ff94dd352f0>, instance='DS-TEST', json=False, kind=None, may=None, must=None, name='testOC', oid=None, prompt=False, pwdfile=None, starttls=False, sup=None, verbose=True, x_origin=None)
DEBUG: Instance details: {'uri': 'DS-TEST', 'basedn': None, 'binddn': None, 'bindpw': None, 'saslmech': None, 'tls_cacertdir': None, 'tls_cert': None, 'tls_key': None, 'tls_reqcert': None, 'starttls': False, 'prompt': False, 'pwdfile': None, 'args': {'ldapurl': 'DS-TEST', 'root-dn': None}}
.....
DEBUG: cn=schema get_attr_vals('objectClasses')
DEBUG: cn=schema set ADD: ('objectClasses', "( None NAME 'testOC' STRUCTURAL )")
Successfully added the objectClass
INFO: Command successful.
Marking as VERIFIED
============================================================================ test session starts ================================================================
platform linux -- Python 3.6.8, pytest-6.2.3, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.6
cachedir: .pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-240.6.1.el8_3.x86_64-x86_64-with-redhat-8.3-Ootpa', 'Packages': {'pytest': '6.2.3', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.11.0', 'html': '3.1.1'}}
389-ds-base: 1.4.3.21-2.module+el8dsrv+10309+dd9f990e
nss: 3.53.1-17.el8_3
nspr: 4.25.0-2.el8_2
openldap: 2.4.46-16.el8
cyrus-sasl: not installed
FIPS: disabled
rootdir: /workspace/ds/dirsrvtests, configfile: pytest.ini
plugins: metadata-1.11.0, html-3.1.1
collected 4 items
dirsrvtests/tests/suites/clu/schema_test.py::test_origins[attr1-99999.1-None] PASSED [ 25%]
dirsrvtests/tests/suites/clu/schema_test.py::test_origins[attr2-99999.2-test-str] PASSED [ 50%]
dirsrvtests/tests/suites/clu/schema_test.py::test_origins[attr3-99999.3-xorg2] PASSED [ 75%]
dirsrvtests/tests/suites/clu/schema_test.py::test_origins[attr4-99999.4-test-tuple] PASSED [100%]
============================================================================ 4 passed in 11.49s =================================================================
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: redhat-ds:11 security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1243 |