[KOLLA][MONASCA] monasca containers not running
Doug Szumski
doug at stackhpc.com
Tue Dec 18 12:23:25 UTC 2018
Thanks for giving it a go Manuel - replies inline.
On 17/12/2018 23:54, Manuel Sopena Ballesteros wrote:
>
> Dear Openstack and Kolla community,
>
> I am trying to deploy monasca using kolla-ansible 7.0.0 and realised a
> couple of containers are not working
>
Monasca is supported in Stein. Only partial support is available in Rocky.
> Container monasca_log_persister
>
> See: 'bin/logstash --help'
>
> + sudo -E kolla_set_configs
>
> INFO:__main__:Loading config file at
> /var/lib/kolla/config_files/config.json
>
> INFO:__main__:Validating config file
>
> INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
>
> INFO:__main__:Copying service configuration files
>
> INFO:__main__:Deleting /etc/logstash/conf.d/log-persister.conf
>
> INFO:__main__:Copying /var/lib/kolla/config_files/log-persister.conf
> to /etc/logstash/conf.d/log-persister.conf
>
> INFO:__main__:Setting permission for
> /etc/logstash/conf.d/log-persister.conf
>
> INFO:__main__:Deleting /etc/logstash/elasticsearch-template.json
>
> INFO:__main__:Copying
> /var/lib/kolla/config_files/elasticsearch-template.json to
> /etc/logstash/elasticsearch-template.json
>
> INFO:__main__:Setting permission for
> /etc/logstash/elasticsearch-template.json
>
> INFO:__main__:Writing out command to execute
>
> INFO:__main__:Setting permission for /var/log/kolla/monasca
>
> INFO:__main__:Setting permission for
> /var/log/kolla/monasca/monasca-api-error.log
>
> INFO:__main__:Setting permission for
> /var/log/kolla/monasca/monasca-api-access.log
>
> INFO:__main__:Setting permission for
> /var/log/kolla/monasca/monasca-log-api-error.log
>
> INFO:__main__:Setting permission for
> /var/log/kolla/monasca/monasca-log-api-access.log
>
> ++ cat /run_command
>
> + CMD='/usr/share/logstash/bin/logstash --log-in-json --log
> /var/log/kolla/monasca/monasca-log-persister.log -f
> /etc/logstash/conf.d/log-persister.conf'
>
> + ARGS=
>
> + [[ ! -n '' ]]
>
> + . kolla_extend_start
>
> ++ [[ ! -d /var/log/kolla/logstash ]]
>
> +++ stat -c %a /var/log/kolla/logstash
>
> ++ [[ 755 != \7\5\5 ]]
>
> + echo 'Running command: '\''/usr/share/logstash/bin/logstash
> --log-in-json --log /var/log/kolla/monasca/monasca-log-persister.log
> -f /etc/logstash/conf.d/log-persister.conf'\'''
>
> Running command: '/usr/share/logstash/bin/logstash --log-in-json --log
> /var/log/kolla/monasca/monasca-log-persister.log -f
> /etc/logstash/conf.d/log-persister.conf'
>
> + exec /usr/share/logstash/bin/logstash --log-in-json --log
> /var/log/kolla/monasca/monasca-log-persister.log -f
> /etc/logstash/conf.d/log-persister.conf
>
> WARNING: Could not find logstash.yml which is typically located in
> $LS_HOME/config or /etc/logstash. You can specify the path using
> --path.settings. Continuing using the defaults
>
> ERROR: Unrecognised option '--log-in-json'
>
This Error is because the Logstash version is too recent in Rocky. In
Stein, it was downgraded for Monasca. Please see this commit for more
details:
https://github.com/openstack/kolla/commit/0cf2c5345029b981c3302e21d25e90d0c3239dd7
> Container monasca_log_transformer
>
> See: 'bin/logstash --help'
>
> + sudo -E kolla_set_configs
>
> INFO:__main__:Loading config file at
> /var/lib/kolla/config_files/config.json
>
> INFO:__main__:Validating config file
>
> INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
>
> INFO:__main__:Copying service configuration files
>
> INFO:__main__:Deleting /etc/logstash/conf.d/log-transformer.conf
>
> INFO:__main__:Copying /var/lib/kolla/config_files/log-transformer.conf
> to /etc/logstash/conf.d/log-transformer.conf
>
> INFO:__main__:Setting permission for
> /etc/logstash/conf.d/log-transformer.conf
>
> INFO:__main__:Writing out command to execute
>
> INFO:__main__:Setting permission for /var/log/kolla/logstash
>
> ++ cat /run_command
>
> + CMD='/usr/share/logstash/bin/logstash --log-in-json --log
> /var/log/kolla/logstash/monasca-log-transformer.log -f
> /etc/logstash/conf.d/log-transformer.conf'
>
> + ARGS=
>
> + [[ ! -n '' ]]
>
> + . kolla_extend_start
>
> ++ [[ ! -d /var/log/kolla/logstash ]]
>
> +++ stat -c %a /var/log/kolla/logstash
>
> ++ [[ 755 != \7\5\5 ]]
>
> + echo 'Running command: '\''/usr/share/logstash/bin/logstash
> --log-in-json --log
> /var/log/kolla/logstash/monasca-log-transformer.log -f
> /etc/logstash/conf.d/log-transformer.conf'\'''
>
> Running command: '/usr/share/logstash/bin/logstash --log-in-json --log
> /var/log/kolla/logstash/monasca-log-transformer.log -f
> /etc/logstash/conf.d/log-transformer.conf'
>
> + exec /usr/share/logstash/bin/logstash --log-in-json --log
> /var/log/kolla/logstash/monasca-log-transformer.log -f
> /etc/logstash/conf.d/log-transformer.conf
>
> WARNING: Could not find logstash.yml which is typically located in
> $LS_HOME/config or /etc/logstash. You can specify the path using
> --path.settings. Continuing using the defaults
>
> ERROR: Unrecognised option '--log-in-json'
>
> Any thoughts?
>
> Thank you very much
>
> *Manuel Sopena Ballesteros *|**Big data Engineer
> *Garvan Institute of Medical Research *
> The Kinghorn Cancer Centre,**370 Victoria Street, Darlinghurst, NSW 2010
> *T:* + 61 (0)2 9355 5760 | *F:* +61 (0)2 9295 8507 | *E:*
> manuel.sb at garvan.org.au <mailto:manuel.sb at garvan.org.au>
>
> NOTICE
> Please consider the environment before printing this email. This
> message and any attachments are intended for the addressee named and
> may contain legally privileged/confidential/copyright information. If
> you are not the intended recipient, you should not read, use,
> disclose, copy or distribute this communication. If you have received
> this message in error please notify us at once by return email and
> then delete both messages. We accept no liability for the distribution
> of viruses or similar in electronic communications. This notice should
> not be removed.
More information about the openstack-discuss
mailing list