Solved

Integration Openstack HCS Client

  • 2 November 2021
  • 10 replies
  • 78 views

Userlevel 2
Badge +7

 

Hello,
 
I am trying to set up an openstack client (Huawei HCS 6.5)
I deployed an access node under centos 7.6 with VSA without internet access.
 
I entered the full URL of the service center (Keystone) because not listenable on port 5000.
I arrived at a mistake in the final.
IN cvd.log, it seems that it requires access to the web ?
 
An idea to properly deploy the client, I can't find

Regards

 

Log file (cvd_log fromm access node )

10944 2f27 11/02 16:27:49 ### OpenStackSDKWrapper::CVKeystoneWrapper::GetAccessInfoForTenant() - Failed to generate token for []
10944 2b1e 11/02 16:29:20 ### CvInternetDirectConnection::checkDirectConnection() - Failed to establish direct connection. Error code [7] Error Msg [Failed to connect to api.skyhookwireless.com port 443: Connection timed out]
10944 2b1e 11/02 16:29:20 ### InvokeRESTApi() - cvInternetGateway connect failed with error [Error in CvLibCurlWrapper]
10944 2b1e 11/02 16:29:20 ### myGeoLocationHTTP() - Failed to fetch geolocation from skyhook. ErrorCode-[0xEDDD0001:{InvokeRESTApi(1636)/Int.1.0x1-REST connect failed.}]
10944 2b1e 11/02 16:29:20 ### myGeoLocationHTTP() - Fetching Geolocation failed. Will try other option now.
10944 2f27 11/02 16:29:56 ### CVLibCurl::CVLibCurlSendHttpReqInternal() - failed to send http request
10944 2f27 11/02 16:29:56 ### CVLibCurl::CVLibCurlSendHttpReqInternal() - curl-err:[Couldn't connect to server] http-resp:[0] url:[https://auth.harpecloud.fr:5000/v2.0/tokens] server-resp:[_null_] resp-size:[0]
10944 2f27 11/02 16:29:56 ### OpenStackSDKWrapper::CVKeystoneWrapper::GetAccessInfoForTenant() - Failed to generate token for []
10944 2f27 11/02 16:29:56 ### OpenStackSDKWrapper::CVOpenStackSDKWrapper::Connect() - [OPENSTACK WRAPPER] Keystone failed to connect [xxxxxxxxxxxxxx]
10944 2f27 11/02 16:29:56 ### COpenStackInfo::Connect() - Connect failed []
10944 2f27 11/02 16:29:56 ### CVMManualDiscVMInfoCache::PrepareVMInfo() - Error Connecting - Failed to connect to virtual machine host [https://auth.harpecloud.fr] as user [tin_cvlt] from access node [srhavm-tinsave].  Please ensure that the access node is able to communicate with the host and that the user account and password are correct.
10944 2f27 11/02 16:29:56 ### CVMManualDiscVMInfoCache::GetVMInfo() - Failed to prepare VMInfo object for xxxxxxxxxxxxx
10944 2b06 11/02 16:30:04 ### TPool [N/A]. Ser# [0] Tot [1], Pend [0], Comp [1], Max Par [3], Avg Work Time [284.00 us], Avg Wait Time [35.00 us]
10944 2b06 11/02 16:30:04 ### TPool [N/A]. Ser# [1] Tot [48], Pend [2], Comp [46], Max Par [7], Avg Work Time [2.95 ms], Avg Wait Time [4.41 ms]
10944 2b06 11/02 16:30:04 ### TPool [sLNVMMANUALDISC]. Ser# [0] Tot [1], Pend [0], Comp [1], Max Par [1], Avg Work Time [254.58 s], Avg Wait Time [62.00 us]
10944 30de 11/02 16:30:05 ### PreProcessClientOwnerPeriodicTaskStatus() - Owner association is disabled till next cycle.
10944 30de 11/02 16:30:05 ### UpdateOwnerPeriodic() - Client owner periodic thread is disabled for further processing. Will try again in next run.
10944 2b1e 11/02 16:31:27 ### CvInternetDirectConnection::checkDirectConnection() - Failed to establish direct connection. Error code [7] Error Msg [Failed to connect to edc.commvault.com port 443: Connection timed out]
10944 2b1e 11/02 16:31:27 ### InvokeRESTApi() - cvInternetGateway connect failed with error [Error in CvLibCurlWrapper]
10944 2b1e 11/02 16:31:27 ### myGeoLocationEDC() - Failed to fetch geolocation from skyhook. ErrorCode-[0xEDDD0001:{InvokeRESTApi(1636)/Int.1.0x1-REST connect failed.}]

icon

Best answer by virgil 10 December 2021, 17:43

View original

10 replies

Userlevel 2
Badge +4

Hello Virgil,

The api.skyhookwireless.com is a location services that CVD has to verify the system’s location, which you can ignore. 

The main keystone endpoint looks like we’re still reaching out to 5000 according to logging, whats the endpoint URL you’ve inputted for the keystone?

https://auth.harpecloud.fr:5000 is what CVD is reporting.

 

-Chi Miao

Userlevel 2
Badge +7

Hi Chi

why the client try to connect to the port 5000 ?

it’s only avaliable via 443.

Regards.

 

Userlevel 2
Badge +4

Hello Virgil,

By default, port 5000 is the keystone endpoint service port.  Openstack documentation references what ports their services use.

https://docs.openstack.org/install-guide/firewalls-default-ports.html

Identity service (keystone) endpoint

5000

Userlevel 2
Badge +7

@Chi Miao HCS is not openstack, is an embeded solution from Huawei.

the keystone port 5000 is not open by default.

regards

Userlevel 2
Badge +7

HI ,

in fact it seems that it coudn’t generate the token.

OpenStackSDKWrapper::CVKeystoneWrapper::GetAccessInfoForTenant() - Failed to generate token for []

Regards
 

Userlevel 2
Badge +7

 

Hello,
 
I am trying to set up an openstack client (Huawei HCS 6.5)
I deployed an access node under centos 7.6 with VSA without internet access.
 
I entered the full URL of the service center (Keystone) because not listenable on port 5000.
I arrived at a mistake in the final.
IN cvd.log, it seems that it requires access to the web ?
 
An idea to properly deploy the client, I can't find

Regards

 

Log file (cvd_log fromm access node )

10944 2f27 11/02 16:27:49 ### OpenStackSDKWrapper::CVKeystoneWrapper::GetAccessInfoForTenant() - Failed to generate token for []
10944 2b1e 11/02 16:29:20 ### CvInternetDirectConnection::checkDirectConnection() - Failed to establish direct connection. Error code [7] Error Msg [Failed to connect to api.skyhookwireless.com port 443: Connection timed out]
10944 2b1e 11/02 16:29:20 ### InvokeRESTApi() - cvInternetGateway connect failed with error [Error in CvLibCurlWrapper]
10944 2b1e 11/02 16:29:20 ### myGeoLocationHTTP() - Failed to fetch geolocation from skyhook. ErrorCode-[0xEDDD0001:{InvokeRESTApi(1636)/Int.1.0x1-REST connect failed.}]
10944 2b1e 11/02 16:29:20 ### myGeoLocationHTTP() - Fetching Geolocation failed. Will try other option now.
10944 2f27 11/02 16:29:56 ### CVLibCurl::CVLibCurlSendHttpReqInternal() - failed to send http request
10944 2f27 11/02 16:29:56 ### CVLibCurl::CVLibCurlSendHttpReqInternal() - curl-err:[Couldn't connect to server] http-resp:[0] url:[https://auth.harpecloud.fr:5000/v2.0/tokens] server-resp:[_null_] resp-size:[0]
10944 2f27 11/02 16:29:56 ### OpenStackSDKWrapper::CVKeystoneWrapper::GetAccessInfoForTenant() - Failed to generate token for []
10944 2f27 11/02 16:29:56 ### OpenStackSDKWrapper::CVOpenStackSDKWrapper::Connect() - [OPENSTACK WRAPPER] Keystone failed to connect [xxxxxxxxxxxxxx]
10944 2f27 11/02 16:29:56 ### COpenStackInfo::Connect() - Connect failed []
10944 2f27 11/02 16:29:56 ### CVMManualDiscVMInfoCache::PrepareVMInfo() - Error Connecting - Failed to connect to virtual machine host [https://auth.harpecloud.fr] as user [tin_cvlt] from access node [srhavm-tinsave].  Please ensure that the access node is able to communicate with the host and that the user account and password are correct.
10944 2f27 11/02 16:29:56 ### CVMManualDiscVMInfoCache::GetVMInfo() - Failed to prepare VMInfo object for xxxxxxxxxxxxx
10944 2b06 11/02 16:30:04 ### TPool [N/A]. Ser# [0] Tot [1], Pend [0], Comp [1], Max Par [3], Avg Work Time [284.00 us], Avg Wait Time [35.00 us]
10944 2b06 11/02 16:30:04 ### TPool [N/A]. Ser# [1] Tot [48], Pend [2], Comp [46], Max Par [7], Avg Work Time [2.95 ms], Avg Wait Time [4.41 ms]
10944 2b06 11/02 16:30:04 ### TPool [sLNVMMANUALDISC]. Ser# [0] Tot [1], Pend [0], Comp [1], Max Par [1], Avg Work Time [254.58 s], Avg Wait Time [62.00 us]
10944 30de 11/02 16:30:05 ### PreProcessClientOwnerPeriodicTaskStatus() - Owner association is disabled till next cycle.
10944 30de 11/02 16:30:05 ### UpdateOwnerPeriodic() - Client owner periodic thread is disabled for further processing. Will try again in next run.
10944 2b1e 11/02 16:31:27 ### CvInternetDirectConnection::checkDirectConnection() - Failed to establish direct connection. Error code [7] Error Msg [Failed to connect to edc.commvault.com port 443: Connection timed out]
10944 2b1e 11/02 16:31:27 ### InvokeRESTApi() - cvInternetGateway connect failed with error [Error in CvLibCurlWrapper]
10944 2b1e 11/02 16:31:27 ### myGeoLocationEDC() - Failed to fetch geolocation from skyhook. ErrorCode-[0xEDDD0001:{InvokeRESTApi(1636)/Int.1.0x1-REST connect failed.}]

 

Userlevel 7
Badge +23

Hi @virgil , based on what you are seeing, I’d suggest opening a case with Customer Support.

Can you create an incident and share the case number with me?

Thanks!

Userlevel 2
Badge +7

Hi Mike,

Case

i see that in documentation :

Note: If the endpoint uses a port other than 5000 or if the endpoint listening on port 5000 is not configured to authenticate the user, enter the full keystone endpoint URL. The endpoint URL must be able to authenticate the user logon credentials, and can be the public or admin URL.

 

the port 500 is not unfigured but as we can see from the logs it tries when even to connect on it
is a prerequisite for the deployment of the openstack agent on HCS 6.5 Environnement. ?
I would like to have a confirmation from an expert or someone who has already deployed this solution
Thanks for feedback
 
 

211108-201 2 211108-201 11108-201 211108-201

Userlevel 7
Badge +23

@virgil , I’ll speak with @Chi Miao to have him confirm (he’s our expert in Support).

Userlevel 2
Badge +7

it’s just a problem od DNS adress Keystonne

 

Reply