I have been struggling for the last days on the installation of DataPower on OpenShift (DP alone, not part of CP4I or APIC).
I was able to create a DataPowerService, but not to use it.
Here are the details of what I did:
- I was able to create an operator, a DataPowerService and a DataPowerMonitor. However, I could not go any further. I found kind of a documentation (https://ibm.github.io/datapower-operator-doc/), but it did not provide me with the level of information I needed.
- It seems that the DataPowerService which was created includes the REST admin interface only:
mgmtPorts:
- name: rest-mgmt
port: 5554
And it does not seem possible to add other interfaces (such as the Web mgmt interface) when creating the DataPowerService.
- A "datapower-operator" service was also created, but it does not include the 5554 port. I added it:
- name: rest-mgmt
protocol: TCP
port: 5554
targetPort: 5554
- No route was created and I created one with settings suitable for the REST mgmt interface:
host: datapower-os.datapower-os.apps.ace4pm.os.fyre.ibm.com
to:
kind: Service
name: datapower-operator
weight: 100
port:
targetPort: rest-mgmt
tls:
termination: passthrough
wildcardPolicy: None
With these settings, I am still not able to reach the REST mgmt interface:
curl -u admin:******* -k -v
https://datapower-os.datapower-os.apps.ace4pm.os.fyre.ibm.com/mgmt/status/default/DateTimeStatus* Trying 9.30.189.245...
* TCP_NODELAY set
* Connected to datapower-os.datapower-os.apps.ace4pm.os.fyre.ibm.com (9.30.189.245) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to datapower-os.datapower-os.apps.ace4pm.os.fyre.ibm.com:443
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to datapower-os.datapower-os.apps.ace4pm.os.fyre.ibm.com:443
Any idea?
------------------------------
Patrick Marie
------------------------------