This repository has been archived by the owner on Mar 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Fix some issues when buiding MySQL guest image #4
Open
yysfire
wants to merge
6
commits into
denismakogon:master
Choose a base branch
from
yysfire:fix-centos-mysql
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
942a314
Enable the RDO yum repository for a released version of OpenStack on …
yysfire e6570c0
Install wget on CentOS because centos-mysql-guest-image/install.d/30-…
yysfire 9039854
Fix the conflict between mysql-community-server and mariadb-libs on C…
yysfire ddcfd1f
Add /etc/trove/conf.d/guest_info.conf & /etc/trove/conf.d/trove-guest…
yysfire 180a93f
Add an empty /etc/trove/conf.d/trove-guestagent.conf to prevent it be…
yysfire aa80de1
Set datastore_registry_ext for MySQL
yysfire File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting this brings the following error:
Mar 08 11:12:39 db2.novalocal systemd[1]: Started OpenStack Trove Guest. Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: Traceback (most recent call last): Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/bin/trove-guestagent", line 10, in <module> Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: sys.exit(main()) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/trove/cmd/guest.py", line 37, in main Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: cfg.parse_args(sys.argv) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/trove/common/cfg.py", line 1578, in parse_args Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: default_config_files=default_config_files) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2575, in __call__ Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: else sys.argv[1:]) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3316, in _parse_cli_opts Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: return self._parse_config_files() Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3352, in _parse_config_files Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: self._oparser.parse_args(self._args, namespace) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2366, in parse_args Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: return super(_CachedArgumentParser, self).parse_args(args, namespace) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib64/python2.7/argparse.py", line 1688, in parse_args Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: args, argv = self.parse_known_args(args, namespace) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib64/python2.7/argparse.py", line 1720, in parse_known_args Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: namespace, args = self._parse_known_args(args, namespace) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib64/python2.7/argparse.py", line 1926, in _parse_known_args Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: start_index = consume_optional(start_index) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib64/python2.7/argparse.py", line 1866, in consume_optional Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: take_action(action, args, option_string) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib64/python2.7/argparse.py", line 1794, in take_action Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: action(self, namespace, argument_values, option_string) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1803, in __call__ Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: ConfigParser._parse_file(values, namespace) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2058, in _parse_file Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: raise ConfigFileParseError(pe.filename, str(pe)) Mar 08 11:14:31 db2.novalocal trove-guestagent[3040]: oslo_config.cfg.ConfigFileParseError: Failed to parse /etc/trove/trove-guestagent.conf: at /etc/trove/trove-guestagent.conf:70, Unexpected continuation line: ' datastore_registry_ext = mysql:trove.guestagent.datastore.mysql.manager.Manager, percona:trove.guestagent.datastore.mysql.manager.Manager' Mar 08 11:14:32 db2.novalocal systemd[1]: openstack-trove-guestagent.service: main process exited, code=exited, status=1/FAILURE Mar 08 11:14:32 db2.novalocal systemd[1]: Unit openstack-trove-guestagent.service entered failed state. Mar 08 11:14:32 db2.novalocal systemd[1]: openstack-trove-guestagent.service failed.