| Summary: | nova.compute.manager: Instance failed to spawn - NameError: global name '_' is not defined | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Gilles Dubreuil <gdubreui> | ||||
| Component: | openstack-nova | Assignee: | Nikola Dipanov <ndipanov> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Ami Jeain <ajeain> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | apevec, eglynn, gdubreui, ndipanov, pbrady, rbryant, xqueralt, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-09-11 11:05:43 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Gilles Dubreuil
2013-09-11 05:49:48 UTC
This a weird error, the file in question (nova/virt/disk/vfs/guestfs.py) is already patched in havana-3 and there is no reason for this exception. How did you install RDO? Did you upgrade from Grizzly or it was a fresh install? See below the contents of the file in question in the RDO package for F19: [fedora@rdo1 ~]$ rpm -qa python-nova python-nova-2013.2-0.19.b3.fc20.noarch [fedora@rdo1 ~]$ head -n25 /usr/lib/python2.7/site-packages/nova/virt/disk/vfs/guestfs.py # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from eventlet import tpool import guestfs from nova import exception from nova.openstack.common.gettextutils import _ from nova.openstack.common import log as logging from nova.virt.disk.vfs import api as vfs from nova.virt.libvirt import driver as libvirt_driver Also happens with nova/objects/pci_device.py as per: http://lists.openstack.org/pipermail/openstack-dev/2013-September/014881.html Note the nova/objects/pci_device.py error, even though the same may be due to some other issue. So if the guestfs error is invalid, we can close this From Gilles: "That was due to guestfs.py file copied from previous version" Sorry, my previous comment didn't make it through. Yes the guestfs.py file was overriden with an older version. My bad! Thanks |