nova-manage won't work on a compute node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Won't Fix
|
Medium
|
MOS Nova | ||
6.1.x |
Won't Fix
|
Medium
|
MOS Nova | ||
7.0.x |
Won't Fix
|
Medium
|
MOS Nova | ||
8.0.x |
Won't Fix
|
Medium
|
MOS Nova |
Bug Description
Steps to reproduce:
1) Install master node
2) Create new environment (Ubuntu, any network)
3) Deploy simple environment includes compute node
4) Go to the compute node after deployment finished and run `nova-manage service list` command
Expected result:
There are a list with running services over the all nodes
Actual behaviour:
There is an error about missing memcahce package:
root@node-2:~# nova-manage service list
Command failed, please check log for more info
2015-06-11 12:00:06.837 2491 CRITICAL nova [req-0d9c39fc-
2015-06-11 12:00:06.837 2491 TRACE nova Traceback (most recent call last):
2015-06-11 12:00:06.837 2491 TRACE nova File "/usr/bin/
2015-06-11 12:00:06.837 2491 TRACE nova sys.exit(main())
2015-06-11 12:00:06.837 2491 TRACE nova File "/usr/lib/
2015-06-11 12:00:06.837 2491 TRACE nova ret = fn(*fn_args, **fn_kwargs)
2015-06-11 12:00:06.837 2491 TRACE nova File "/usr/lib/
2015-06-11 12:00:06.837 2491 TRACE nova services = availability_
2015-06-11 12:00:06.837 2491 TRACE nova File "/usr/lib/
2015-06-11 12:00:06.837 2491 TRACE nova service['host'], az)
2015-06-11 12:00:06.837 2491 TRACE nova File "/usr/lib/
2015-06-11 12:00:06.837 2491 TRACE nova cache = _get_cache()
2015-06-11 12:00:06.837 2491 TRACE nova File "/usr/lib/
2015-06-11 12:00:06.837 2491 TRACE nova MC = memorycache.
2015-06-11 12:00:06.837 2491 TRACE nova File "/usr/lib/
2015-06-11 12:00:06.837 2491 TRACE nova import memcache
2015-06-11 12:00:06.837 2491 TRACE nova ImportError: No module named memcache
2015-06-11 12:00:06.837 2491 TRACE nova
Fuel used:
api: '1.0'
astute_sha: 7766818f079881e
auth_required: true
build_id: 2015-06-08_06-13-27
build_number: '521'
feature_groups:
- mirantis
fuel-library_sha: f43c2ae1af3b493
fuel-ostf_sha: 7c938648a246e03
fuelmain_sha: bcc909ffc5dd515
nailgun_sha: 4340d55c1902939
openstack_version: 2014.2.2-6.1
production: docker
python-
release: '6.1'
release_versions:
2014.2.2-6.1:
VERSION:
api: '1.0'
astute_sha: 7766818f079881e
build_id: 2015-06-08_06-13-27
build_number: '521'
feature_
- mirantis
fuel-
fuel-
fuelmain_sha: bcc909ffc5dd515
nailgun_sha: 4340d55c1902939
openstack
production: docker
python-
release: '6.1'
Changed in fuel: | |
assignee: | Fuel OSCI Team (fuel-osci) → MOS Nova (mos-nova) |
Changed in fuel: | |
milestone: | none → 6.1 |
importance: | Medium → High |
tags: | added: 6.1rc2 |
summary: |
- Missing memcache package on the Ubuntu compute node + nova-manage won't work on a compute node |
no longer affects: | fuel/7.0.x |
no longer affects: | fuel/6.1.x |
no longer affects: | fuel |
tags: | removed: 6.1rc2 |
nova-manage is an auxiliary tool for managing of Nova deployments. Often, it does not use public Nova API, but works directly with a DB instead, which means it can't be used on the compute nodes (as conceptually those don't have direct access to DB, at least from Nova point of view).
Please use `nova service-list` instead.
Still, this can be a valid issue in a sense, that we should not ship nova-manage binary on computes, if it's not usable.