xenapi: console logrotate fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mate Lakat |
Bug Description
tools/xenserver
fails if ran for the first time, because the files don't exist at that time.
[root@jaglan ~]# /root/consolelo
+ log_dir=
+ kb=1024
+ max_size_
+ truncated_
+ list_domains=
+ log_file_
+ tmp_file_
+ xenstore-write /local/logconsole/@ /var/log/
++ /opt/xensource/
++ sed '/^id*/d'
++ sed 's/|.*|.*$//g'
++ xargs
+ domains='0 3 36'
+ for i in '$domains'
+ log=/var/
+ tmp=/var/
+ mv /var/log/
mv: cannot stat `/var/log/
+ true
+ for i in '$domains'
+ log=/var/
+ tmp=/var/
+ mv /var/log/
mv: cannot stat `/var/log/
+ true
+ for i in '$domains'
+ log=/var/
+ tmp=/var/
+ mv /var/log/
mv: cannot stat `/var/log/
+ true
+ rm -f '/var/log/
++ /opt/xensource/
++ sed '/^id*/d'
++ sed 's/|.*|.*$//g'
++ xargs
+ domains='0 3 36'
+ for i in '$domains'
+ log=/var/
+ tmp=/var/
++ stat -c%s /var/log/
stat: cannot stat `/var/log/
+ size=
Changed in nova: | |
importance: | Undecided → Low |
importance: | Low → Medium |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/38441
Review: https:/