Empty response for logs in UI: Source and Min level
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Bogdan Dobrelya |
Bug Description
"build_id": "2014-06-
"mirantis": "yes",
"build_number": "250",
"ostf_sha": "67b61ed3788297
"nailgun_sha": "f851199db57d95
"production": "docker",
"api": "1.0",
"fuelmain_sha": "e59cb325d99fba
"astute_sha": "17b1afa5f0dc8f
"release": "5.1",
"fuellib_sha": "d9b8daa61e131e
1. Create new environment (Ubuntu, HA mode)
2. Choose VLAN segmentation
3. Choose both ceph
4. Choose rados
5. Add 3 controller+ceph, 2 compute+ceph
6. Start deployment. It was successful
7. Click button "View logs" on controllers
8. Source and Min level in logs are empty (see screen). Response is empty
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
importance: | High → Critical |
Changed in fuel: | |
status: | Fix Committed → Confirmed |
The issue is caused by the commit to fuel-library:
https:/ /github. com/stackforge/ fuel-library/ commit/ a3ec3ce2b85c4c1 3fb310a36b133d6 b8235546e5
When 'rsyslog' container starts it applies '/etc/puppet/ modules/ rsyslog/ manifests/ server. pp' manifest and necessary configuration file '30-server- remote- log.conf' isn't created anymore, so all logs from remote nodes are being writed to /var/log/messages inside docker container. As I understand currently this file should be created in 'openstack: :logging' puppet class, but it isn't applied for 'rsyslog' container.
As temporary workaround to fix logging you can try to follow next steps before deploying new environment(on master):
# dockerctl shell rsyslog paste.openstack .org/raw/ 84168/ > /etc/puppet/ modules/ rsyslog/ manifests/ server. pp modules/ {openstack, rsyslog} /templates/ 30-server- remote- log.conf. erb
# curl -s http://
# cp /etc/puppet/
# exit
# dockerctl stop rsyslog && supervisorctl restart docker-rsyslog