Unable to install server certificate PEM file in Docker registry mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Jerry Sun |
Bug Description
Brief Description
-----------------
Created a server certificate pem file, server-
Attempted to install the new server certificate pem file in docker registry mode, but failed with the following error:
WARNING: For security reasons, the original certificate,
containing the private key, will be removed,
once the private key is processed.
Certificate server-
Severity
--------
Major
Steps to Reproduce
------------------
- Install Multi-node system
- Create a server certificate PEM file with OAM floating IP as common address.
- Install the server certificate pem file, created in above step, in docker registry mode
Expected Behavior
------------------
- Server certificate installs
Actual Behavior
----------------
- The server certificate install fails
Reproducibility
---------------
Reproducible
System Configuration
-------
Multi-node system
Lab-name: WCP_92_98
Branch/Pull Time/Commit
-------
stx master as of 20190725T013000Z
Last Pass
---------
2019-03-18 23:30:00 +0000
Timestamp/Logs
--------------
[sysadmin@
WARNING: For security reasons, the original certificate,
containing the private key, will be removed,
once the private key is processed.
Certificate server-
/var/log/sysinv.log
2019-07-26 20:36:05.676 219069 ERROR sysinv.
2019-07-26 20:36:05.680 220204 INFO sysinv.
Traceback (most recent call last):
File "/usr/lib64/
**args)
File "/usr/lib64/
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "/usr/lib64/
registry_
AttributeError: 'module' object has no attribute 'REGISTRY_PORT'
2019-07-26 20:36:14.226 13692 INFO sysinv.
Test Activity
-------------
Regression Testing - Attempting to verify docker registry with new server certificate created for user admin.
summary: |
- Unable to install server certificate PEM file with Docker registry mode + Unable to install server certificate PEM file in Docker registry mode |
tags: | added: stx.retestneeded |
tags: | added: stx.config |
Marking as stx.2.0 release gating / high priority as this is a supported feature that appears to have been broken since the initial introduction of this capability.