edfsr777's profile - activity

2018-03-07 00:12:11 -0600 received badge  Famous Question (source)
2017-05-17 10:30:09 -0600 received badge  Notable Question (source)
2017-05-17 10:30:09 -0600 received badge  Popular Question (source)
2017-05-11 11:47:59 -0600 asked a question packstack ocata installation fails with error Systemd start for openstack-nova-scheduler failed!

Packstack ocata on CentOS7.3 fails. Openstack-nova-scheduler will not start during the installation and cannot be started manually. See log below:

Warning: ModuleLoader: module 'mysql' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules (file & line not available) Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/manifests/192.168.8.4_controller.pp", 21]: (at /var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in deprecation') Warning: ModuleLoader: module 'nova' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules (file & line not available) Warning: Unknown variable: '::nova::db::mysql_api::setup_cell0'. at /var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/nova/manifests/db/mysql.pp:53:28 Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/manifests/192.168.8.4_controller.pp", 26]: (at /var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/stdlib/lib/puppet/functions/deprecation.rb:25:indeprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/manifests/192.168.8.4_controller.pp", 26]: (at /var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in deprecation') Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Array instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/manifests/192.168.8.4_controller.pp", 26]: (at /var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/stdlib/lib/puppet/functions/deprecation.rb:25:indeprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README. at ["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/manifests/192.168.8.4_controller.pp", 26]:["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/apache/manifests/default_mods.pp", 131] (at /var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in deprecation') Warning: This method is deprecated, please use match expressions with Stdlib::Compat::String instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/manifests/192.168.8.4_controller.pp", 26]:["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/apache/manifests/default_mods.pp", 133] (at /var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/modules/stdlib/lib/puppet/functions/deprecation.rb:25:indeprecation') Warning: ModuleLoader: module 'openstacklib' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules (file & line not available) Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/var/tmp/packstack/86ce57b1e4a4466bb229056295540dad/manifests/192.168.8.4_controller.pp ... (more)

2016-01-26 23:50:26 -0600 received badge  Famous Question (source)
2015-09-02 14:33:37 -0600 received badge  Famous Question (source)
2015-09-02 14:33:11 -0600 received badge  Notable Question (source)
2015-09-02 14:33:11 -0600 received badge  Popular Question (source)
2015-07-15 18:53:57 -0600 received badge  Notable Question (source)
2015-07-15 14:41:10 -0600 answered a question keystone_manage db_sync keystone fails on kilo in CentOS 7.1

Issue is resolved. There were two problems.

The first is related to the "no such option: RI." Did a search in the keystone.conf file and found the "Ri" in the mysql connection password following a "$". Although the password was enclosed in single quotes because there were special characters in the password, the "$Ri" in the password was apparently being interpreted as a variable option which caused the error. Changing the password resolved the error.

Once the above error was resolved, a MySQL authentication error occurred, "Access denied for user 'keystone'@'controller' (using password: Yes)." Resolved this issue by removing the single quotes that enclosed the password in the "connection = mysql://keystone:DB_PASS@controller/keystone" entry in the keystone.conf file. When the single quotes were removed from enclosing the password, "keystone_manage db_sync keystone" ran successfully and populated the keystone database.

2015-07-15 02:34:14 -0600 received badge  Popular Question (source)
2015-07-14 11:03:05 -0600 asked a question keystone_manage db_sync keystone fails on kilo in CentOS 7.1

Attempting to install keystone in a VMWare vSphere 6 VM running CentOS 7.1 with MariaDB. When I run the "keystone_manage db_sync keystone" command, no tables / data are created in the keystone database. The keystone.log file contains the following:

[root@XLHou008018 keystone]# keystone-manage db_sync keystone
[root@XLHou008018 keystone]# cat keystone.log
2015-07-14 08:41:19.969 30050 CRITICAL keystone [-] NoSuchOptError: no such option: Ri
2015-07-14 08:41:19.969 30050 TRACE keystone Traceback (most recent call last):
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/bin/keystone-manage", line 44, in <module>
2015-07-14 08:41:19.969 30050 TRACE keystone     cli.main(argv=sys.argv, config_files=config_files)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 585, in main
2015-07-14 08:41:19.969 30050 TRACE keystone     CONF.command.cmd_class.main()
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 76, in main
2015-07-14 08:41:19.969 30050 TRACE keystone     migration_helpers.sync_database_to_version(extension, version)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py", line 242, in sync_database_to_version
2015-07-14 08:41:19.969 30050 TRACE keystone     _sync_common_repo(version)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py", line 145, in _sync_common_repo
2015-07-14 08:41:19.969 30050 TRACE keystone     engine = sql.get_engine()
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line 188, in get_engine
2015-07-14 08:41:19.969 30050 TRACE keystone     return _get_engine_facade().get_engine()
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line 176, in _get_engine_facade
2015-07-14 08:41:19.969 30050 TRACE keystone     _engine_facade = db_session.EngineFacade.from_config(CONF)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/session.py", line 866, in from_config
2015-07-14 08:41:19.969 30050 TRACE keystone     return cls(sql_connection=conf.database.connection,
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2520, in __getattr__
2015-07-14 08:41:19.969 30050 TRACE keystone     return self._conf._get(name, self._group)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2242, in _get
2015-07-14 08:41:19.969 30050 TRACE keystone     value = self._do_get(name, group, namespace)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2279, in _do_get
2015-07-14 08:41:19.969 30050 TRACE keystone     return convert(opt._get_from_namespace(namespace, group_name))
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2274, in convert
2015-07-14 08:41:19.969 30050 TRACE keystone     self._substitute(value, group, namespace), opt)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib ...
(more)
2015-07-14 11:03:05 -0600 asked a question kilo "keystone-manage db_sync keystone" fails in CentOS 7

When I attempt to run "keystone-manage db_sync keystone" on my CentOS 7.1 VM to set up a kilo installation, the command fails and not tables / data is created in the keystone database. I'm running mariadb. The keystone.log contains the following:

2015-07-14 08:41:19.969 30050 CRITICAL keystone [-] NoSuchOptError: no such option: Ri 2015-07-14 08:41:19.969 30050 TRACE keystone Traceback (most recent call last): 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/bin/keystone-manage", line 44, in <module> 2015-07-14 08:41:19.969 30050 TRACE keystone cli.main(argv=sys.argv, config_files=config_files) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 585, in main 2015-07-14 08:41:19.969 30050 TRACE keystone CONF.command.cmd_class.main() 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 76, in main 2015-07-14 08:41:19.969 30050 TRACE keystone migration_helpers.sync_database_to_version(extension, version) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py", line 242, in sync_database_to_version 2015-07-14 08:41:19.969 30050 TRACE keystone _sync_common_repo(version) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py", line 145, in _sync_common_repo 2015-07-14 08:41:19.969 30050 TRACE keystone engine = sql.get_engine() 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line 188, in get_engine 2015-07-14 08:41:19.969 30050 TRACE keystone return _get_engine_facade().get_engine() 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line 176, in _get_engine_facade 2015-07-14 08:41:19.969 30050 TRACE keystone _engine_facade = db_session.EngineFacade.from_config(CONF) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/session.py", line 866, in from_config 2015-07-14 08:41:19.969 30050 TRACE keystone return cls(sql_connection=conf.database.connection, 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2520, in __getattr__ 2015-07-14 08:41:19.969 30050 TRACE keystone return self._conf._get(name, self._group) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2242, in _get 2015-07-14 08:41:19.969 30050 TRACE keystone value = self._do_get(name, group, namespace) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2279, in _do_get 2015-07-14 08:41:19.969 30050 TRACE keystone return convert(opt._get_from_namespace(namespace, group_name)) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2274, in convert 2015-07-14 08:41:19.969 30050 TRACE keystone self._substitute(value, group, namespace), opt) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2325, in ... (更多)