Comments (5)
Hi,
Can you please provide some help on this issue?
from noobaa-core.
Hello @arunprasadmudaliar
I have tried to reproduce this issue with both v5.10.1 and the latest master branch operator/core installation, I do not see the issue:
➜ noobaa-operator git:(master) ✗ ./build/_output/bin/noobaa-operator-local -n noobaa api events_api read_activity_log '{}'
INFO[0000] ✅ Exists: NooBaa "noobaa"
INFO[0000] ✅ Exists: Service "noobaa-mgmt"
INFO[0000] ✅ Exists: Secret "noobaa-operator"
INFO[0000] ✅ Exists: Secret "noobaa-admin"
INFO[0000] ✈️ RPC: events.read_activity_log() Request: map[]
WARN[0000] RPC: GetConnection creating connection to wss://localhost:65366/rpc/ 0xc0003b6b40
INFO[0000] RPC: Connecting websocket (0xc0003b6b40) &{RPC:0xc00045dd60 Address:wss://localhost:65366/rpc/ State:init WS:<nil> PendingRequests:map[] NextRequestID:0 Lock:{state:1 sema:0} ReconnectDelay:0s cancelPings:<nil>}
INFO[0000] RPC: Connected websocket (0xc0003b6b40) &{RPC:0xc00045dd60 Address:wss://localhost:65366/rpc/ State:init WS:<nil> PendingRequests:map[] NextRequestID:0 Lock:{state:1 sema:0} ReconnectDelay:0s cancelPings:<nil>}
INFO[0000] ✅ RPC: events.read_activity_log() Response OK: took 44.9ms
logs:
- desc:
- Drive /noobaa_storage of noobaa-default-backing-store-noobaa-pod-e25426c8 in pool
noobaa-default-backing-store is online
event: node.connected
id: 63397dee5c53f6002fc965a0
level: info
node:
linkable: true
name: noobaa-default-backing-store-noobaa-pod-e25426c8#1
pool: noobaa-default-backing-store
time: 1664712174965
- actor:
email: [email protected]
linkable: true
desc:
- A managed pool noobaa-default-backing-store with 1 nodes was created by [email protected]
event: resource.create
id: 63397d225c53f6002fc9659c
level: info
pool:
linkable: true
name: noobaa-default-backing-store
resource_type: HOSTS
time: 1664711970827
- account:
email: [email protected]
linkable: true
desc:
- '[email protected] was created '
event: account.create
id: 63397cc45c53f6002fc96593
level: info
time: 1664711876291
- actor:
email: [email protected]
linkable: true
desc:
- noobaa was created by [email protected]
event: conf.create_system
id: 63397cb65c53f6002fc9658f
level: info
time: 1664711861995
Could you please provide more info?
Also, it might be a good idea to verify that the CLI and the core versions match.
v5.10.1
➜ noobaa-operator git:(6f571fd) ✗ ./build/_output/bin/noobaa-operator-local version
INFO[0000] CLI version: 5.10.1
INFO[0000] noobaa-image: noobaa/noobaa-core:5.10.1
INFO[0000] operator-image: noobaa/noobaa-operator:5.10.1
➜ noobaa-operator git:(6f571fd) ✗ k get noobaa noobaa -n noobaa -o yaml | grep Core
readme: "\n\n\tWelcome to NooBaa!\n\t-----------------\n\tNooBaa Core Version: 5.10.1-e8c9b09\n\tNooBaa
Latest master
➜ noobaa-operator git:(master) ✗ ./build/_output/bin/noobaa-operator-local version
INFO[0000] CLI version: 5.12.0
INFO[0000] noobaa-image: noobaa/noobaa-core:master-20220913
INFO[0000] operator-image: noobaa/noobaa-operator:5.12.0
➜ noobaa-operator git:(master) ✗ k get noobaa noobaa -n noobaa -o yaml | grep Core
readme: "\n\n\tWelcome to NooBaa!\n\t-----------------\n\tNooBaa Core Version: 5.12.0-cfbf726\n\tNooBaa
Please share your thoughts.
Best regards.
from noobaa-core.
Hello @baum,
Thank you for responding. Based on your comment, I verified the version of the client and the operator and indeed they were different in my case. ( operator was 5.8.0 and the client was 5.10.0).
I have now downgraded my client version to 5.8.0 to match the operator:
CLI
INFO[0000] CLI version: 5.8.0
INFO[0000] noobaa-image: noobaa/noobaa-core:5.8.0
INFO[0000] operator-image: noobaa/noobaa-operator:5.8.0
Operator version ( as shown in web-console)
But I still get the same error:
INFO[0002]
INFO[0002]
INFO[0002]
INFO[0003]
INFO[0003]
WARN[0003] RPC: GetConnection creating connection to wss://localhost:39703/rpc/ 0xc000f0f4a0
INFO[0003] RPC: Connecting websocket (0xc000f0f4a0) &{RPC:0xc00003a5a0 Address:wss://localhost:39703/rpc/ State:init WS: PendingRequests:map[] NextRequestID:0 Lock:{state:1 sema:0} ReconnectDelay:0s}
INFO[0004] RPC: Connected websocket (0xc000f0f4a0) &{RPC:0xc00003a5a0 Address:wss://localhost:39703/rpc/ State:init WS: PendingRequests:map[] NextRequestID:0 Lock:{state:1 sema:0} ReconnectDelay:0s}
ERRO[0024]
FATA[0024]
I have to connect to the server through a VPN connection and initially I thought might be its due to VPN. But later I realized that the websocket connection shows connected and as well as other api queries related to bucket works fine. It's only the events api that throws an error.
I tried the export_activity_log but again I get an error. Using the -o flag does not help here. Looks like it is failing due to type casting.
noobaa api events_api export_activity_log '{}' -o yaml
INFO[0005]
INFO[0006]
INFO[0006]
INFO[0006]
INFO[0008]
WARN[0008] RPC: GetConnection creating connection to wss://localhost:38625/rpc/ 0xc000521a90
INFO[0008] RPC: Connecting websocket (0xc000521a90) &{RPC:0xc000460690 Address:wss://localhost:38625/rpc/ State:init WS: PendingRequests:map[] NextRequestID:0 Lock:{state:1 sema:0} ReconnectDelay:0s}
INFO[0011] RPC: Connected websocket (0xc000521a90) &{RPC:0xc000460690 Address:wss://localhost:38625/rpc/ State:init WS: PendingRequests:map[] NextRequestID:0 Lock:{state:1 sema:0} ReconnectDelay:0s}
ERRO[0069]
FATA[0069]
Please provide any suggestions that you want me to try. Upgrading the operator to latest version is bit difficult as it is maintained by another team.
from noobaa-core.
Hello @arunprasadmudaliar
- I do see an issue with
export_activity_log
, see the #7087 PR. - Re
read_activity_log
, could you try with v5.10.1 CLI?
Best regards.
from noobaa-core.
Hello @baum,
Thanks for sharing the above issue details for export_activity_log.
I tried to run read_activity_log with 5.10.1 cli but the error still remains the same.
ERRO[0009]
FATA[0009]
root@~/noobaa5.10# ./noobaa version
INFO[0000] CLI version: 5.10.1
INFO[0000] noobaa-image: noobaa/noobaa-core:5.10.1
INFO[0000] operator-image: noobaa/noobaa-operator:5.10.1
So, if I could summarize, I have a noobaa server (operator) of version 5.8.0 and I had tried CLI version's 5.8.0 ( to match server version) and 5.10.1. But I still receive the same error. As far as I understood, the cli and operator are same binaries and so do you think I should try updating the noobaa server (operator) to latest version?
Regards,
from noobaa-core.
Related Issues (20)
- NSFS | versioning | Implement list-object-versions HOT 1
- Automatically comment out mongo-db code in Tests.Dockerfile when using Mac with M1 HOT 1
- Use Singelton design in node (MDStore for example) HOT 1
- Change allowed group in web console HOT 3
- noobaa_nsfs_list_buckets_count from S3 Ops are getting wrong metrics, always getting 1 value. HOT 2
- From delete buckets operation's metrics, remove `error_write_count` and `error_read_count` for I/O metrics. HOT 1
- from I/O Ops, `noobaa_nsfs_read_count` and `noobaa_nsfs_read_bytes` are unclear, when to expect these I/O metrics HOT 3
- metrics params name should be identical, for I/O Ops, S3Ops, and FS Ops HOT 2
- bucket list and namespace not shown in noobaa monitoring pod for odf 4.12 HOT 1
- Add the Option to Define Default Backing Store by the User Explicitly HOT 3
- RPC requests timeouts due to _serial_load semaphore deadlock HOT 2
- NSFS | MPU | GET/HEAD OBEJCT | Support of part-number parameter
- vacuumAndAnalyze runs also in standalone mode when there's no DB connection HOT 1
- Support versioned objects in log based replication
- PANIC: process uncaughtException Error: retry update after advisory lock release iostats HOT 2
- Supporting supplemental groups for accounts
- listObjects delimiter=/ prefix= returns infinite loop of first entry HOT 1
- The "npm run web" requires "/etc/noobaa_configured_dns.conf" but it is not automatically created. HOT 5
- `npm run web` has an error because it points to mongo. It must be postgres. HOT 2
- A 4GB object can not put due to "InvalidBucketState" 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 noobaa-core.