Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[worker] push daemon status #16

Merged
merged 17 commits into from
Apr 9, 2024
Merged

[worker] push daemon status #16

merged 17 commits into from
Apr 9, 2024

Conversation

cgalibern
Copy link
Contributor

No description provided.

## for data:
            "monitor": {
              "status": "freezing",
              "placement": "",
              "global_expect": null,
              "global_expect_updated": 1712134523.4459593,
              "status_updated": 1712135462.337457,
              "local_expect": "started",
              "local_expect_updated": 1712134523.4153113,
              "restart": {
                "sync#i0": {
                  "retries": 1,
                  "updated": 1712134523.4425654
                }
              }
            }

## stack:
            goroutine 1 [running]:
            github.com/opensvc/oc3/worker.mapToS(0x1eb099d36?, {0x0?, 0x5?}, {0xc00011b038?, 0x0?, 0xa3990c?})
            	/root/dev/oc3/sources-rVTaucPjgM/worker/daemon_data_v2.go:191 +0x68
            github.com/opensvc/oc3/worker.(*daemonDataV2).InstanceStatus(0xc000084100?, {0xc0001d8790, 0x3}, {0xc0001d86d8, 0x5})
            	/root/dev/oc3/sources-rVTaucPjgM/worker/daemon_data_v2.go:208 +0x211
            github.com/opensvc/oc3/worker.(*daemonStatus).dbUpdateInstance(0xc00011b658)
            	/root/dev/oc3/sources-rVTaucPjgM/worker/daemon_status.go:554 +0x415
            github.com/opensvc/oc3/worker.(*Worker).handleDaemonStatus.func1(...)
            	/root/dev/oc3/sources-rVTaucPjgM/worker/daemon_status.go:149
            github.com/opensvc/oc3/worker.(*Worker).handleDaemonStatus(0xc00011bc38, {0xc0000ae4b0, 0x24})
            	/root/dev/oc3/sources-rVTaucPjgM/worker/daemon_status.go:157 +0x7f8
status, placement, provisioned local object cache was not refreshed after db update
db schema remain unchanged with `services`.`svc_status`
@cgalibern cgalibern merged commit b7c8ad4 into opensvc:main Apr 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant