venus/devstack
maliangyi 1de2b7b900 Updated links in documentation to be safe links
Change-Id: Ia9bc8172418da16d43a8b403c00952de2f67b660
2023-08-10 10:47:18 +08:00
..
fluentd-conf remove useless label of zun 2022-09-14 16:08:37 +08:00
plugin.sh Change service type to log-management 2022-09-08 14:02:52 +08:00
README.md Updated links in documentation to be safe links 2023-08-10 10:47:18 +08:00
settings Add default log_dir argument 2022-05-14 12:58:15 +08:00

Enabling Venus in DevStack

To enable Venus in DevStack, perform the following steps:

1. Enabling Venus in local.conf

Enable the plugin by adding the following section to local.conf

    [[local|localrc]]
    enable_plugin venus https://review.opendev.org/openstack/venus
    enable_plugin venus-dashboard https://review.opendev.org/openstack/venus-dashboard

2. Modify service log format

After stack.sh process finished, replace the lines begin with logging_default_format_string = and logging_context_format_string = with

logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [- req-None - - - - -] %(instance)s%(message)s
logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(global_request_id)s %(request_id)s 

in files

  • /etc/nova/nova.conf
  • /etc/cinder/cinder.conf
  • /etc/neutron/neutron.conf

Restart nova, cinder and neutron service:

systemctl restart devstack@n-api.service
systemctl restart devstack@c-api.service
systemctl restart devstack@q-svc.service

3. [Optional] Manually download td-agent and es

If you want to download td-agent and es yourself when the official download link is not available, you cloud get them via the following links:

And save the files to /opt/stack/venus/devstack/files