Again change service log ordering: older - first (as in deployment logs).
Change-Id: Id7b215a610c0c3375055fb1ff7c75e384fab2d3a Fixes: bug MRN-884.
This commit is contained in:
parent
cb850de082
commit
68cfaa1730
|
@ -58,12 +58,12 @@ def get_status_messages_for_service(request, service_id, environment_id):
|
|||
result = '\n'
|
||||
#TODO: Add updated time to logs
|
||||
if deployments:
|
||||
for deployment in deployments:
|
||||
for deployment in reversed(deployments):
|
||||
reports = muranoclient(request).deployments.reports(environment_id,
|
||||
deployment.id,
|
||||
service_id)
|
||||
|
||||
for report in reversed(reports):
|
||||
for report in reports:
|
||||
result += report.created.replace('T', ' ') + ' - ' + str(
|
||||
report.text) + '\n'
|
||||
return result
|
||||
|
|
|
@ -156,6 +156,9 @@ forms:
|
|||
# if unitNamingPattern is given and dcInstances > 1, then '#' should occur in unitNamingPattern
|
||||
- expr: {YAQL: not $.clusterConfiguration.unitNamingPattern.bool() or '#' in $.clusterConfiguration.unitNamingPattern}
|
||||
message: Incrementation symbol "#" is required in the Hostname template
|
||||
# if IP is not valid on its own, it will be empty - the
|
||||
# first check is needed to not emit comparison error when
|
||||
# both IPs are not valid
|
||||
- expr: {YAQL: $.clusterConfiguration.clusterIP.bool() and $.clusterConfiguration.clusterIP != $.clusterConfiguration.agListenerIP}
|
||||
message: Listener IP and Cluster Static IP should be different
|
||||
- unitsConfiguration:
|
||||
|
|
Loading…
Reference in New Issue