Cluster status widget does not display data in container all-in-one

Description

In all-in-one deployment, I see the status is well displayed, however when checking the cluster status it says no services.

The docker image used: (from Jan 21)
https://cloudify-release-eu.s3-eu-west-1.amazonaws.com/cloudify/5.0.5/ga-build/cloudify-docker-manager-5.0.5.tar

Status commands are operational through CFY.

Steps to Reproduce

Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------

Steps to reproduce:
------------------
1.
2.
3.

Expected result:
---------------

Actual result:
-------------

Why Propose Close?

None

Activity

Show:
Ofer Yarom
January 22, 2020, 1:44 PM

Browser cached items… closing

Ofer Yarom
January 22, 2020, 12:00 PM

CFY commands:

 

[root@d81ffdeec931 /]# cfy status

Retrieving manager services status... [ip=localhost]

 

Services:

+--------------------------------+--------+

| service | status |

+--------------------------------+--------+

| Cloudify Console | Active |

| PostgreSQL | Active |

| AMQP-Postgres | Active |

| Manager Rest-Service | Active |

| RabbitMQ | Active |

| Webserver | Active |

| Cloudify Composer | Active |

| Management Worker | Active |

+--------------------------------+--------+

 

[root@d81ffdeec931 /]# cfy cluster status

You are trying to run cluster related commands on an all-in-one Cloudify Manager!

Retrieving Cloudify cluster status... [ip=localhost]

Current cluster status is OK:

 

Cluster status services:

+--------------------------------+--------+

| service | status |

+--------------------------------+--------+

| manager | OK |

| db | OK |

| broker | OK |

+--------------------------------+--------+

 

[root@d81ffdeec931 /]# cfy cluster status -json

Error: no such option: -j

[root@d81ffdeec931 /]# cfy cluster status --json

{"status": "OK", "services": {"manager": {"status": "OK", "nodes": {"f4094abad165": {"status": "OK", "public_ip": "172.17.0.2", "version": "5.0.5", "private_ip": "172.17.0.2", "services": {"Cloudify Console": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "Cloudify Console Service", "MainPID": 7156, "state": "running", "Id": "cloudify-stage.service", "ActiveState": "active", "SubState": "running"}], "display_name": "Cloudify Console", "unit_id": "cloudify-stage.service"}}}, "PostgreSQL": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "PostgreSQL 9.5 database server", "MainPID": 39, "state": "running", "Id": "postgresql-9.5.service", "ActiveState": "active", "SubState": "running"}], "display_name": "PostgreSQL", "unit_id": "postgresql-9.5.service"}}}, "AMQP-Postgres": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "Cloudify AMQP PostgreSQL Broker Service", "MainPID": 7319, "state": "running", "Id": "cloudify-amqp-postgres.service", "ActiveState": "active", "SubState": "running"}], "display_name": "AMQP-Postgres", "unit_id": "cloudify-amqp-postgres.service"}}}, "Manager Rest-Service": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "Cloudify REST Service", "MainPID": 7347, "state": "running", "Id": "cloudify-restservice.service", "ActiveState": "active", "SubState": "running"}], "display_name": "Manager Rest-Service", "unit_id": "cloudify-restservice.service"}}}, "RabbitMQ": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "RabbitMQ Service", "MainPID": 379, "state": "running", "Id": "cloudify-rabbitmq.service", "ActiveState": "active", "SubState": "running"}], "display_name": "RabbitMQ", "unit_id": "cloudify-rabbitmq.service"}, "connection_check": "OK"}}, "Webserver": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "nginx - high performance web server", "MainPID": 148, "state": "running", "Id": "nginx.service", "ActiveState": "active", "SubState": "running"}], "display_name": "Webserver", "unit_id": "nginx.service"}}}, "Cloudify Composer": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "Cloudify Composer Service", "MainPID": 26, "state": "running", "Id": "cloudify-composer.service", "ActiveState": "active", "SubState": "running"}], "display_name": "Cloudify Composer", "unit_id": "cloudify-composer.service"}}}, "Management Worker": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "Cloudify Management Worker Service", "MainPID": 908, "state": "running", "Id": "cloudify-mgmtworker.service", "ActiveState": "active", "SubState": "running"}], "display_name": "Management Worker", "unit_id": "cloudify-mgmtworker.service"}}}}, "node_id": "9614ae48-c584-47c4-b37f-6e6e29be010e"}}, "is_external": false}, "db": {"status": "OK", "nodes": {"f4094abad165": {"status": "OK", "public_ip": null, "version": "5.0.5", "private_ip": "172.17.0.2", "services": {"PostgreSQL": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "PostgreSQL 9.5 database server", "MainPID": 39, "state": "running", "Id": "postgresql-9.5.service", "ActiveState": "active", "SubState": "running"}], "display_name": "PostgreSQL", "unit_id": "postgresql-9.5.service"}}}}, "node_id": "9614ae48-c584-47c4-b37f-6e6e29be010e"}}, "is_external": false}, "broker": {"status": "OK", "nodes": {"f4094abad165": {"status": "OK", "public_ip": null, "version": "5.0.5", "private_ip": "172.17.0.2", "services": {"RabbitMQ": {"status": "Active", "is_remote": false, "extra_info": {"systemd": {"instances": [{"LoadState": "loaded", "Description": "RabbitMQ Service", "MainPID": 379, "state": "running", "Id": "cloudify-rabbitmq.service", "ActiveState": "active", "SubState": "running"}], "display_name": "RabbitMQ", "unit_id": "cloudify-rabbitmq.service"}, "connection_check": "OK"}}}, "node_id": "9614ae48-c584-47c4-b37f-6e6e29be010e"}}, "is_external": false}}}

Assignee

Jakub Niezgoda

Reporter

Ofer Yarom

Severity

High

Target Version

5.0.5

Premium Only

no

Found In Version

5.0

Bug Type

new feature bug

Customer Encountered

No

Release Notes

yes