nova cache is not configured on compute nodes

Bug #1599559 reported by Frank
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Alex Schultz
Mitaka
Fix Released
Medium
Alex Schultz

Bug Description

Issue:

Horizon VNC console fails with 'Failed to connect to server (Code:1006)'.

To reproduce:

Perform a default 3 controller HA setup with Fuel 9.0 from the latest iso.

Fix: According to the Mitaka release notes:

http://docs.openstack.org/releasenotes/nova/mitaka.html

"
Option memcached_servers is deprecated in Mitaka. Operators should use oslo.cache configuration instead. Specifically enabled option under [cache] section should be set to True and the url(s) for the memcached servers should be in [cache]/memcache_servers option.
"

On the controller nodes nova.conf contains:

"
memcached_servers = 192.168.0.8:11211,192.168.0.9:11211,192.168.0.10:11211
"

Comment this line out and add the following under the "cache" heading in nova.conf:

"
enabled = true
memcache_servers = 192.168.0.8:11211,192.168.0.9:11211,192.168.0.10:11211
backend = oslo_cache.memcache_pool
"

After restarting nova the console will function correctly in Horizon.

Tags: area-library
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Alex Schultz (alex-schultz)
milestone: none → 10.0
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/338373

Changed in fuel:
status: Confirmed → In Progress
summary: - Fuel 9.0 Mitaka Nova cache misconfigured
+ nova cache is not configured on compute nodes
tags: added: area-library
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/338373
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=69aece333bd3505bc702e24a02f9602b71069206
Submitter: Jenkins
Branch: master

commit 69aece333bd3505bc702e24a02f9602b71069206
Author: Alex Schultz <email address hidden>
Date: Wed Jul 6 09:59:24 2016 -0600

    Properly configure nova cache for compute

    This change properly pulls in the nova::cache configuration for
    the compute role.

    Change-Id: Ia54aaf6e2b93e2acdbe66314771e88a59c303206
    Closes-Bug: #1599559

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/340573

tags: added: on-verification
tags: removed: on-verification
tags: added: on-verification
Revision history for this message
Andrey Lavrentyev (alavrentyev) wrote :

Verified on 9.1 snapshot #319

[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 495
cat /etc/fuel_build_number:
 495
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0

UBUNTU_MIRROR_ID=ubuntu-2016-09-14-213640
CENTOS_MIRROR_ID=centos-7.2.1511-2016-05-31-083834
MOS_UBUNTU_MIRROR_ID=9.0-2016-09-27-152320
MOS_CENTOS_OS_MIRROR_ID=os-2016-06-23-135731
MOS_CENTOS_PROPOSED_MIRROR_ID=proposed-2016-09-27-152320
MOS_CENTOS_UPDATES_MIRROR_ID=updates-2016-06-23-135916
MOS_CENTOS_HOLDBACK_MIRROR_ID=holdback-2016-06-23-140047
MOS_CENTOS_HOTFIX_MIRROR_ID=hotfix-2016-09-23-124321
MOS_CENTOS_SECURITY_MIRROR_ID=security-2016-06-23-140002

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

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.