settingsLogin | Registersettings

[Openstack] [openstack] devstack log files don't exist

0 votes

Hi,

I am new to openstack and trying to use devstack to launch an all-in-one openstack environment on my machine.
Unfortunately it says error when I created an instance. However, I could not get the corresponding logging file.

In /var/log, there’s no dirs or files like nova/ , neutron/, cinder/,etc .
In /opt/stack/logs/, there are 4 types of file:
dstat-csv.log, error.log, stack.sh.log, worlddump.txt.
only record the process of installing devstack, no information of other operation like launching an instance. No files like n-* or c-* exists.
Can not find any files named like nova.log.

My environments:
Server: ARMv8 architecture server,
OS: Ubuntu 16.04,
Devstack: stable/pike,

What I did:
As stack user:
Try to configure the local.conf file, ./unstack.sh and ./stack.sh:
/opt/stack/Local.conf: [[local|localrc]]
ADMINPASSWORD=secret
DATABASE
PASSWORD=$ADMINPASSWORD
RABBIT
PASSWORD=$ADMINPASSWORD
SERVICE
PASSWORD=$ADMINPASSWORD
HOST
IP=10.67.247.28
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=true
SCREENLOGDIR=/opt/stack/logs
LOGDAYS=2
LOG
COLOR=true
CINDERBRANCH=stable/pike
GLANCE
BRANCH=stable/pike
HORIZONBRANCH=stable/pike
KEYSTONE
BRANCH=stable/pike
KEYSTONECLIENTBRANCH=stable/pike
NOVA
BRANCH=stable/pike
NOVACLIENTBRANCH=stable/pike
NEUTRON
BRANCH=stable/pike
SWIFT_BRANCH=stable/pike

When I try to use screen command, like “screen –list”,
it says:
No Sockets found in /var/run/screen/S-stack.

When I use dashboard to create an instance,
the console tab says:
Console cannot be loaded.
The log tab says:
Log of instance *** cannot be obtained.

I must get something wrong, please point it out for me.

Thank you in advance,

Lingyan Huang


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Oct 10, 2017 in openstack by huanglingyan_(A) (120 points)   1 1 1

1 Response

0 votes

View all services:

sudo systemctl status "devstack@*"

Track the log of a given service:
journalctl -f --unit devstack@n-cpu.service

Track logs of a group of services:
journalctl -f --unit devstack@n-*

Trace the associated service log:
journalctl -f --unit devstack@n-cpu.service --unit devstack@n-cond.service

Increase the timestamp by adding the parameter -o short-precise):
journalctl -f -o short-precise --unit devstack@n-cpu.service

Display the color by increasing the -a parameter:
journalctl -af --unit devstack@c-vol

On 10/10/2017 10:09,huanglingyan (A)huanglingyan2@huawei.comhuanglingyan2@huawei.com wrote:
Hi,

I am new to openstack and trying to use devstack to launch an all-in-one openstack environment on my machine.
Unfortunately it says error when I created an instance. However, I could not get the corresponding logging file.

In /var/log, there’s no dirs or files like nova/ , neutron/, cinder/,etc .
In /opt/stack/logs/, there are 4 types of file:
dstat-csv.log, error.log, stack.sh.log, worlddump.txt.
only record the process of installing devstack, no information of other operation like launching an instance. No files like n-* or c-* exists.
Can not find any files named like nova.log.

My environments:
Server: ARMv8 architecture server,
OS: Ubuntu 16.04,
Devstack: stable/pike,

What I did:
As stack user:
Try to configure the local.conf file, ./unstack.sh and ./stack.sh:
/opt/stack/Local.conf: [[local|localrc]]
ADMINPASSWORD=secret
DATABASE
PASSWORD=$ADMINPASSWORD
RABBIT
PASSWORD=$ADMINPASSWORD
SERVICE
PASSWORD=$ADMINPASSWORD
HOST
IP=10.67.247.28
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=true
SCREENLOGDIR=/opt/stack/logs
LOGDAYS=2
LOG
COLOR=true
CINDERBRANCH=stable/pike
GLANCE
BRANCH=stable/pike
HORIZONBRANCH=stable/pike
KEYSTONE
BRANCH=stable/pike
KEYSTONECLIENTBRANCH=stable/pike
NOVA
BRANCH=stable/pike
NOVACLIENTBRANCH=stable/pike
NEUTRON
BRANCH=stable/pike
SWIFT_BRANCH=stable/pike

When I try to use screen command, like “screen –list”,
it says:
No Sockets found in /var/run/screen/S-stack.

When I use dashboard to create an instance,
the console tab says:
Console cannot be loaded.
The log tab says:
Log of instance *** cannot be obtained.

I must get something wrong, please point it out for me.

Thank you in advance,

Lingyan Huang


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
responded Oct 10, 2017 by 谭_明宵 (200 points)   1 1 1
...