Can't deploy overcloud with ocata/trunk on rhel

Bug #1633735 reported by David Hill
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Undecided
Unassigned

Bug Description

2016-10-15 03:32:33.655 1933 CRITICAL nova [req-a1b7237a-b12b-4f98-be57-00cdc63ebab1 - - - - -] ConfigFileValueError: Value for option osapi_compute_workers is not valid: Should be greater than or equal to 1
2016-10-15 03:32:33.655 1933 ERROR nova Traceback (most recent call last):
2016-10-15 03:32:33.655 1933 ERROR nova File "/usr/bin/nova-api", line 10, in <module>
2016-10-15 03:32:33.655 1933 ERROR nova sys.exit(main())
2016-10-15 03:32:33.655 1933 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/api.py", line 60, in main
2016-10-15 03:32:33.655 1933 ERROR nova server = service.WSGIService(api, use_ssl=should_use_ssl)
2016-10-15 03:32:33.655 1933 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 296, in __init__
2016-10-15 03:32:33.655 1933 ERROR nova self.workers = (getattr(CONF, '%s_workers' % wname, None) or
2016-10-15 03:32:33.655 1933 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2267, in __getattr__
2016-10-15 03:32:33.655 1933 ERROR nova return self._get(name)
2016-10-15 03:32:33.655 1933 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2672, in _get
2016-10-15 03:32:33.655 1933 ERROR nova value = self._do_get(name, group, namespace)
2016-10-15 03:32:33.655 1933 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2715, in _do_get
2016-10-15 03:32:33.655 1933 ERROR nova % (opt.name, str(ve)))
2016-10-15 03:32:33.655 1933 ERROR nova ConfigFileValueError: Value for option osapi_compute_workers is not valid: Should be greater than or equal to 1

Revision history for this message
David Hill (david-hill-ubisoft) wrote :
Download full text (3.7 KiB)

And from the deployment failure:

    "deploy_stderr": "\u001b[1;31mWarning: Scope(Class[Cinder::Api]): keystone_enabled is deprecated, use auth_strategy instead.\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Keystone]): Fernet token is recommended in Mitaka release. The default for token_provider will be changed to 'fernet' in O release.\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Keystone]): admin_password is required, please set admin_password to a value != admin_token. admin_token will be removed in a later release\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Keystone::Roles::Admin]): the main class is setting the admin password differently from this\\\n class when calling bootstrap. This will lead to the password\\\n flip-flopping and cause authentication issues for the admin user.\\\n Please ensure that keystone::roles::admin::password and\\\n keystone::admin_password are set the same.\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Heat]): keystone_user_domain_id is deprecated, use the name option instead.\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Heat]): keystone_project_domain_id is deprecated, use the name option instead.\u001b[0m\n\u001b[1;31mWarning: notify is a metaparam; this value will inherit to all contained resources in the keepalived::instance definition\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova]): Could not look up qualified variable '::nova::scheduler::filter::cpu_allocation_ratio'; class ::nova::scheduler::filter has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova]): Could not look up qualified variable '::nova::scheduler::filter::ram_allocation_ratio'; class ::nova::scheduler::filter has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova]): Could not look up qualified variable '::nova::scheduler::filter::disk_allocation_ratio'; class ::nova::scheduler::filter has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Mongodb::Server]): Replset specified, but no replset_members or replset_config provided.\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Ceilometer]): Both $metering_secret and $telemetry_secret defined, using $telemetry_secret\u001b[0m\n\u001b[1;31mWarning: Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will default to true in the next major release. Please review the documentation regarding the implications.\u001b[0m\n\u001b[1;31mWarning: Unexpected line: Ring file /etc/swift/container.ring.gz not found, probably it hasn't been written yet\u001b[0m\n\u001b[1;31mWarning: Unexpected line: Ring file /etc/swift/account.ring.gz not found, probably it hasn't been written yet\u001b[0m\n\u001b[1;31mWarning: Unexpected line: Ring file /etc/swift/object.ring.gz not found, probably it hasn't been written yet\u001b[0m\n\u001b[1;31mError: Could not start Service[nova-api]: Execution of '/usr/bin/systemctl start openstack-nova-api' returned 1: Job for openstack-nova-api.service failed because the control process exited with error code. See \"systemctl status openstack-nova-api.service\" and \"journalctl -xe\" for details.\u001b[0m\n\u001b[1;31mError: /Stage[main]/Nova::Api/Nova::Generic_service[api]/Service[nova-api]/ensure: change from stoppe...

Read more...

Revision history for this message
David Hill (david-hill-ubisoft) wrote :

This looks like the same issue as earlier this week with mitaka:

environments/low-memory-usage.yaml: NovaWorkers: 1
puppet/services/nova-api.yaml: NovaWorkers:
puppet/services/nova-api.yaml: - nova::api::osapi_compute_workers: {get_param: NovaWorkers}
puppet/services/nova-api.yaml: nova::api::metadata_workers: {get_param: NovaWorkers}
puppet/services/nova-conductor.yaml: NovaWorkers:
puppet/services/nova-conductor.yaml: - nova::conductor::workers: {get_param: NovaWorkers}
puppet/services/nova-metadata.yaml: NovaWorkers:
puppet/services/nova-metadata.yaml: nova::api::metadata_workers: {get_param: NovaWorkers}

affects: cloud-init → tripleo
Revision history for this message
Steven Hardy (shardy) wrote :

I think this was fixed by a combination of these two commits:

https://review.openstack.org/#/c/385078/

https://review.openstack.org/#/c/387598/

Revision history for this message
David Hill (david-hill-ubisoft) wrote :

I still hit this ... Were those commits merged to RDO Ocata/Trunk?

Revision history for this message
Dan Trainor (dtrainor) wrote :

(happened to come across this)

David, they were merged to master (currently Ocata).

Revision history for this message
Emilien Macchi (emilienm) wrote :

This bug was last updated over 180 days ago, as tripleo is a fast moving project and we'd like to get the tracker down to currently actionable bugs, this is getting marked as Invalid. If the issue still exists, please feel free to reopen it.

Changed in tripleo:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.