Comments (1)
The client was nil, which is intentionally done by lb.go:GetDedicatedRootLBClients():
if err != nil {
log.SpanLog(ctx, log.DebugLevelInfra, "failed to get rootLB client for dedicated cluster", "key", clusterInst.Key, "error", err)
// set client as nil and continue, caller will generate alert accordingly
client = nil
}
It became null because an openstack command failed:
2024-05-30T07:48:40.638Z INFO 6c13b42c2f461e03 openstack/openstack-cmd.go:41 OpenStack Command Start {"name": "openstack", "parms": "subnet show -f json 49359fba-f43a-4ada-a311-8411188486d1"}
2024-05-30T07:48:46.763Z INFO 6c13b42c2f461e03 openstack/openstack-cmd.go:49 OpenStack Command Done {"parmstr": "subnet show -f json 49359fba-f43a-4ada-a311-8411188486d1", "elapsed time": "6.124968207s"}
2024-05-30T07:48:46.763Z INFO 6c13b42c2f461e03 openstack/openstack-server.go:53 unable to update server IPs {"sd": {"Addresses":null,"Networks":null,"ID":"b3aee777-ae07-47d8-afa9-3bcd3c22125c","Name":"q-b-q-dev.b-m-t.e.app.tdg.edgexr.org","Status":"ACTIVE"}, "err": "failed to look up subnet 49359fba-f43a-4ada-a311-8411188486d1 for ip 80.187.128.219, can't unmarshal subnet detail, invalid character 'F' looking for beginning of value"}
2024-05-30T07:48:46.763Z INFO 6c13b42c2f461e03 vmlayer/lb.go:830 failed to get rootLB client for VM app instance {"key": {"name":"q-b","organization":"q-Dev","cloudlet_key":{"organization":"t","name":"b-m"}}, "error": "unable to update server IPs -- failed to look up subnet 49359fba-f43a-4ada-a311-8411188486d1 for ip 80.187.128.219, can't unmarshal subnet detail, invalid character 'F' looking for beginning of value"}
Running the same openstack command locally worked fine, although one of my openstack commands did return an extra failure message:
openstack subnet list | grep 49359fba-f43a-4ada-a311-8411188486d1
Failed to discover available identity versions when contacting https://b.t.d:5000/v3. Attempting to parse version from URL.
| 49359fba-f43a-4ada-a311-8411188486d1 | external-subnet | 22a842f3-4a1a-4c55-8e0b-f7438d045a91 | 80.187.128.0/22 |
It still eventually succeeded. Note that the json parse error "invalid character 'F'" is probably trying to unmarshal a string that starts wtih "Failed to ...".
Unforunately the caller (in this case certifications.go:refreshCerts()) did not check for a nil client.
from edge-cloud-platform.
Related Issues (20)
- Private deployment: users can only create Developer organizations HOT 1
- Openstack CRM takes too long to start
- Openstack: save rootLB object name on Cloudlet
- Edgebox package should be updated HOT 1
- Ansible address was incorrect, need way to update existing configure-node.sh scripts
- Password reset request failed due to different case in email address HOT 1
- MC: updating controller address does not take effect HOT 1
- Failed to get LB cert from vault the first time
- logging: vet correct arguments to logger
- Remove hard-coded path and version for VM base image.
- host edgecloud package on ccrm to update when needed
- Heat stack failed to update on cluster scale up HOT 1
- Change how volumes are generated in openstack heat stack
- Consolidate external network configuration during cloudlet creation HOT 1
- Cannot create cloudlet in a restricted mode HOT 1
- usage api doesn't give the correct data.
- Support Docker appInsts for rootLb rebuild HOT 1
- Cluster ORG for Auto-cluster apps is not tagged to original org HOT 4
- GetCloudletManifest re-creates the password for configure-node.sh script every time you run it HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edge-cloud-platform.