2023-05-19 04:15:19 |
Tony Kim |
bug |
|
|
added bug |
2023-05-19 04:22:32 |
Tony Kim |
description |
Perhaps the opensearch and opensearch-dashboard services are not running normally.
It looks like you need to change 2 files.
The location of the default configuration file of the opensearch service and the owner change related to the opensearch-dashboard are as follows.
```
]# cat kolla-ansible/ansible/roles/opensearch/templates/opensearch.json.j2
{
"command": "/usr/share/opensearch/bin/opensearch",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch.yml",
"dest": "/etc/opensearch/opensearch.yml",
"owner": "opensearch",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
```
```
]# vim kolla-ansible/ansible/roles/opensearch/templates/opensearch-dashboards.json.j2
{
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
"dest": "/etc/opensearch/opensearch_dashboards.yml",
"owner": "opensearch",
"perm": "0640"
}
],
"permissions": [
{
"path": "/usr/share/opensearch-dashboards",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
``` |
Perhaps the opensearch and opensearch-dashboard services are not running normally.
- opensearch-dashboard : FATAL Error: Unable to write OpenSearch Dashboards UUID file, please check the uuid.server configuration value in opensearch_dashboards.yml and ensure OpenSearch Dashboards has sufficient permissions to read / write to this file. Error was: EACCES
- opensearch : unhealthy because the service runs with a default configuration file.
It looks like you need to change 2 files.
The location of the default configuration file of the opensearch service and the owner change related to the opensearch-dashboard are as follows.
```
]# cat kolla-ansible/ansible/roles/opensearch/templates/opensearch.json.j2
{
"command": "/usr/share/opensearch/bin/opensearch",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch.yml",
"dest": "/etc/opensearch/opensearch.yml",
"owner": "opensearch",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
```
```
]# vim kolla-ansible/ansible/roles/opensearch/templates/opensearch-dashboards.json.j2
{
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
"dest": "/etc/opensearch/opensearch_dashboards.yml",
"owner": "opensearch",
"perm": "0640"
}
],
"permissions": [
{
"path": "/usr/share/opensearch-dashboards",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
``` |
|
2023-05-19 04:24:27 |
Tony Kim |
description |
Perhaps the opensearch and opensearch-dashboard services are not running normally.
- opensearch-dashboard : FATAL Error: Unable to write OpenSearch Dashboards UUID file, please check the uuid.server configuration value in opensearch_dashboards.yml and ensure OpenSearch Dashboards has sufficient permissions to read / write to this file. Error was: EACCES
- opensearch : unhealthy because the service runs with a default configuration file.
It looks like you need to change 2 files.
The location of the default configuration file of the opensearch service and the owner change related to the opensearch-dashboard are as follows.
```
]# cat kolla-ansible/ansible/roles/opensearch/templates/opensearch.json.j2
{
"command": "/usr/share/opensearch/bin/opensearch",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch.yml",
"dest": "/etc/opensearch/opensearch.yml",
"owner": "opensearch",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
```
```
]# vim kolla-ansible/ansible/roles/opensearch/templates/opensearch-dashboards.json.j2
{
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
"dest": "/etc/opensearch/opensearch_dashboards.yml",
"owner": "opensearch",
"perm": "0640"
}
],
"permissions": [
{
"path": "/usr/share/opensearch-dashboards",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
``` |
Perhaps the opensearch and opensearch-dashboard services are not running normally.
- opensearch-dashboard : FATAL Error: Unable to write OpenSearch Dashboards UUID file, please check the uuid.server configuration value in opensearch_dashboards.yml and ensure OpenSearch Dashboards has sufficient permissions to read / write to this file. Error was: EACCES
- opensearch : unhealthy because the service runs with a default configuration file.
It looks like you need to change 2 files and then recofgure.
The location of the default configuration file of the opensearch service and the owner change related to the opensearch-dashboard are as follows.
```
]# cat kolla-ansible/ansible/roles/opensearch/templates/opensearch.json.j2
{
"command": "/usr/share/opensearch/bin/opensearch",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch.yml",
"dest": "/etc/opensearch/opensearch.yml",
"owner": "opensearch",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
```
```
]# vim kolla-ansible/ansible/roles/opensearch/templates/opensearch-dashboards.json.j2
{
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
"dest": "/etc/opensearch/opensearch_dashboards.yml",
"owner": "opensearch",
"perm": "0640"
}
],
"permissions": [
{
"path": "/usr/share/opensearch-dashboards",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
``` |
|
2023-05-22 00:42:00 |
Tony Kim |
description |
Perhaps the opensearch and opensearch-dashboard services are not running normally.
- opensearch-dashboard : FATAL Error: Unable to write OpenSearch Dashboards UUID file, please check the uuid.server configuration value in opensearch_dashboards.yml and ensure OpenSearch Dashboards has sufficient permissions to read / write to this file. Error was: EACCES
- opensearch : unhealthy because the service runs with a default configuration file.
It looks like you need to change 2 files and then recofgure.
The location of the default configuration file of the opensearch service and the owner change related to the opensearch-dashboard are as follows.
```
]# cat kolla-ansible/ansible/roles/opensearch/templates/opensearch.json.j2
{
"command": "/usr/share/opensearch/bin/opensearch",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch.yml",
"dest": "/etc/opensearch/opensearch.yml",
"owner": "opensearch",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
```
```
]# vim kolla-ansible/ansible/roles/opensearch/templates/opensearch-dashboards.json.j2
{
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
"dest": "/etc/opensearch/opensearch_dashboards.yml",
"owner": "opensearch",
"perm": "0640"
}
],
"permissions": [
{
"path": "/usr/share/opensearch-dashboards",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
``` |
Perhaps the opensearch and opensearch-dashboard services are not running normally.
(openstack zed & kolla-ansible version 15.1.0)
- opensearch-dashboard : FATAL Error: Unable to write OpenSearch Dashboards UUID file, please check the uuid.server configuration value in opensearch_dashboards.yml and ensure OpenSearch Dashboards has sufficient permissions to read / write to this file. Error was: EACCES
- opensearch : unhealthy because the service runs with a default configuration file.
It looks like you need to change 2 files and then recofgure.
The location of the default configuration file of the opensearch service and the owner change related to the opensearch-dashboard are as follows.
first, change default dest's value from "/usr/share/opensearch/config/opensearch.yml" to "/etc/opensearch/opensearch.yml"
```
]# vim kolla-ansible/ansible/roles/opensearch/templates/opensearch.json.j2
{
"command": "/usr/share/opensearch/bin/opensearch",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch.yml",
"dest": "/etc/opensearch/opensearch.yml", #<---- here
"owner": "opensearch",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
```
second, add some config to change ownership
```
]# vim kolla-ansible/ansible/roles/opensearch/templates/opensearch-dashboards.json.j2
{
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
"dest": "/etc/opensearch/opensearch_dashboards.yml",
"owner": "opensearch",
"perm": "0640"
}
],
"permissions": [
{ #<-- here
"path": "/usr/share/opensearch-dashboards", #<-- here
"owner": "opensearch:opensearch", #<-- here
"recurse": true #<-- here
}, #<-- here
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"recurse": true
},
{
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
"owner": "opensearch:opensearch",
"recurse": true
}
]
}
``` |
|
2023-05-23 13:08:30 |
Sven Kieske |
kolla-ansible: status |
New |
Confirmed |
|
2023-05-23 14:11:35 |
Michal Nasiadka |
kolla-ansible: status |
Confirmed |
Triaged |
|
2023-05-23 14:11:38 |
Michal Nasiadka |
kolla-ansible: importance |
Undecided |
Medium |
|
2023-05-23 14:11:46 |
Michal Nasiadka |
nominated for series |
|
kolla-ansible/zed |
|
2023-05-23 14:11:46 |
Michal Nasiadka |
bug task added |
|
kolla-ansible/zed |
|
2023-05-23 14:11:46 |
Michal Nasiadka |
nominated for series |
|
kolla-ansible/antelope |
|
2023-05-23 14:11:46 |
Michal Nasiadka |
bug task added |
|
kolla-ansible/antelope |
|
2023-05-23 14:11:46 |
Michal Nasiadka |
nominated for series |
|
kolla-ansible/yoga |
|
2023-05-23 14:11:46 |
Michal Nasiadka |
bug task added |
|
kolla-ansible/yoga |
|
2023-05-23 14:15:09 |
Michal Nasiadka |
summary |
opensearch & opensearch-bashboard not work |
opensearch & opensearch-dashboard not work |
|
2023-05-23 14:35:11 |
Michal Nasiadka |
kolla-ansible/antelope: assignee |
|
Michal Nasiadka (mnasiadka) |
|
2023-05-25 08:28:03 |
Michal Nasiadka |
kolla-ansible/antelope: status |
Triaged |
Fix Released |
|
2023-05-25 08:28:09 |
Michal Nasiadka |
kolla-ansible/zed: status |
New |
Fix Committed |
|
2023-06-08 21:43:38 |
Andrew Norrie |
bug |
|
|
added subscriber Andrew Norrie |
2023-07-13 15:50:05 |
OpenStack Infra |
kolla-ansible/zed: status |
Fix Committed |
Fix Released |
|
2023-08-31 08:12:45 |
OpenStack Infra |
kolla-ansible/yoga: status |
New |
In Progress |
|
2023-09-02 13:44:05 |
OpenStack Infra |
kolla-ansible/yoga: status |
In Progress |
Fix Committed |
|
2023-11-08 13:51:27 |
OpenStack Infra |
kolla-ansible/yoga: status |
Fix Committed |
Fix Released |
|