Comments (14)
It seems the CPU you are using isn't supported - see bitnami/charts#12834 and bitnami/charts#10255.
from packages.
@charanhs123 By default, the cloud2edge chart uses Kafka messaging. For that, there is also a Kafka-based Ditto connection being created.
In order to use AMQP-based messaging (with the dispatch-router and a amqp-10
type Ditto connection), the profileAmqpMessaging-values.yaml profile can be used when installing the chart. See also the cloud2edge README.
from packages.
Yes , I figured it out thank you anyways @calohmn
from packages.
Hii @calohmn also , i am getting version error i tried copying yaml into amqp.yaml and used
kubectl apply -f amqp.yaml -n $NS
from packages.
The profileAmqpMessaging-values.yaml is to be used as parameter to helm install
(with -f
):
helm install -n $NS -f profileAmqpMessaging-values.yaml --wait --timeout 20m $RELEASE eclipse-iot/cloud2edge
from packages.
it looks like you haven't set the RELEASE
env variable:
RELEASE=c2e
from packages.
Yes , i had missed it , silly error :) Thank you @calohmn
from packages.
This error has been persistent even when I was using Kafka messaging type @calohmn
from packages.
@charanhs123 As noted in #529 (comment) in your other issue, you can check the status of pods and container logs for errors.
And in general, it's better to post terminal output as text in code blocks here instead of posting screenshots (see here).
from packages.
Hello @calohmn now after installing for AMQP messaging , the pods are not ready , i tried multiple times , is there a issue with the repository also the Ditto api is not opening with the URl it echoes
iffroot4@iffroot:~$ kubectl get pods -n cloud2edge
NAME READY STATUS RESTARTS AGE
c2e-ditto-connectivity-6b76d896d9-8t6tt 1/1 Running 0 35m
c2e-ditto-dittoui-6694fd44c6-785wz 1/1 Running 0 35m
c2e-ditto-gateway-7f47dc44f4-rks8d 1/1 Running 0 35m
c2e-ditto-nginx-6b7d6bfc74-shs5s 1/1 Running 0 35m
c2e-ditto-policies-5f86cf48dd-qh8z8 1/1 Running 0 35m
c2e-ditto-swaggerui-86888c6bc5-q7nsf 1/1 Running 0 35m
c2e-ditto-things-668486b4f8-f6577 1/1 Running 0 35m
c2e-ditto-thingssearch-66757448cc-t9d5v 1/1 Running 0 35m
c2e-hono-adapter-amqp-5f496cb67b-q86bb 0/1 Running 0 35m
c2e-hono-adapter-http-57c9fcb8c5-fjt9g 0/1 Running 0 35m
c2e-hono-adapter-mqtt-847b9677cb-khlb5 0/1 Running 0 35m
c2e-hono-artemis-7c4b4cf49f-chmzb 1/1 Running 0 35m
c2e-hono-dispatch-router-9cc7d4647-4bxt9 1/1 Running 0 35m
c2e-hono-service-auth-679599b48c-gw7ks 1/1 Running 0 35m
c2e-hono-service-command-router-8f559d488-nkl2k 0/1 Running 0 35m
c2e-hono-service-device-registry-87c7956d-9ht9p 0/1 Running 0 35m
c2e-mongodb-bf5679b5b-62qhr 0/1 CrashLoopBackOff 11 (3m47s ago) 35m
from packages.
c2e-mongodb-bf5679b5b-62qhr 0/1 CrashLoopBackOff 11 (3m47s ago) 35m
This is causing the other pods to not get ready.
Can you check the output of
kubectl describe pod -n cloud2edge c2e-mongodb-bf5679b5b-62qhr
and in there check the events and the status of the mongodb container (looking for Last State
, Reason
and Exit code
)?
You could also get the logs of the mongodb container and look for errors there:
kubectl logs -n cloud2edge cloud2edge c2e-mongodb-bf5679b5b-62qhr
from packages.
hey @calohmn i am attching the output below
iffroot4@iffroot:~$ kubectl describe pod -n cloud2edge c2e-mongodb-bf5679b5b-cnx6k
Name: c2e-mongodb-bf5679b5b-cnx6k
Namespace: cloud2edge
Priority: 0
Service Account: c2e-mongodb
Node: minikube/192.168.49.2
Start Time: Mon, 13 May 2024 13:00:50 +0200
Labels: app.kubernetes.io/component=mongodb
app.kubernetes.io/instance=c2e
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mongodb
helm.sh/chart=mongodb-12.1.31
pod-template-hash=bf5679b5b
Annotations:
Status: Running
IP: 10.244.1.40
IPs:
IP: 10.244.1.40
Controlled By: ReplicaSet/c2e-mongodb-bf5679b5b
Containers:
mongodb:
Container ID: docker://5b848c9f22e33814e20f3d9abb899aa2b9fa4275482717c4f0681da967a89609
Image: docker.io/bitnami/mongodb:5.0.10-debian-11-r3
Image ID: docker-pullable://bitnami/mongodb@sha256:563e1572db6c23a7bc5d8970d4cf06de1f1a80bd41c4b5e273a92bfa9f26d0f1
Port: 27017/TCP
Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 132
Started: Mon, 13 May 2024 13:07:05 +0200
Finished: Mon, 13 May 2024 13:07:08 +0200
Ready: False
Restart Count: 6
Limits:
cpu: 250m
memory: 512Mi
from packages.
also the logs
iffroot4@iffroot:~$ kubectl logs -n cloud2edge c2e-mongodb-bf5679b5b-cnx6k
mongodb 11:12:16.55
mongodb 11:12:16.56 Welcome to the Bitnami mongodb container
mongodb 11:12:16.57 Subscribe to project updates by watching https://github.com/bitnami/containers
mongodb 11:12:16.58 Submit issues and feature requests at https://github.com/bitnami/containers/issues
mongodb 11:12:16.66
mongodb 11:12:16.67 INFO ==> ** Starting MongoDB setup **
mongodb 11:12:17.06 INFO ==> Validating settings in MONGODB_* env vars...
mongodb 11:12:17.85 WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
mongodb 11:12:18.16 INFO ==> Initializing MongoDB...
mongodb 11:12:19.37 INFO ==> Deploying MongoDB from scratch...
/opt/bitnami/scripts/libos.sh: line 336: 47 Illegal instruction (core dumped) "$@" > /dev/null 2>&1
from packages.
hello @calohmn thank you so much for the information, I went through the discussion and like mentioned here https://www.mongodb.com/docs/manual/administration/production-notes/#platform-support
I changed the processor on my VM in Proxmox to Sandry Bridge , now the pod Mongodb is working properly and I tried the examples given in Cloud2edge vlog and it worked.
Thanks for the responses again
from packages.
Related Issues (20)
- [HAWKBIT] Artifact upload file chunks cant exceed 500 bytes
- Get the data from eclipse hono to apache IoTDB/ Tdengine - cloud2edge package HOT 1
- Issue: Fail installation locally hono HOT 4
- Update to Hono 2.5.0
- SSL certificate issue HOT 2
- How to replace default certificates on a cloud2edge instance?
- Deployments missing toleration options HOT 1
- mongo downgrade from 4.2 to 4.0 fails HOT 1
- Ditto api url is not opening HOT 2
- Update to Hono 2.5.1
- Update cloud2edge chart to use Hono 2.5 / Ditto 3.5
- Connecting/ Accessing Hono services from local Machine HOT 8
- Update Hono chart to use Hono 2.6.0
- Eclipse Ditto Latency
- kafka connection issue HOT 1
- Not fully initializing Pods(hono-adapter-amqp, hono-adapter-http, hono-service-command-router and hono-adapter-mqtt) In Cloud2edge #Clioud2edge
- Not fully initializing Pods(hono-adapter-amqp, hono-adapter-http, hono-service-command-router and hono-adapter-mqtt) In Cloud2edge HOT 3
- Hono/Kafka Certificates Expired
- hono certificate issues, kafka and other pods do not go into ready state.(but they are running except for kafka, none of them in ready state)) 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 packages.