service glance-powervc start fail in Juno

Bug #1337186 reported by Zhao Jian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
Fix Committed
Medium
Zhao Jian

Bug Description

With Juno, service glance-powervc starts failure.

root@sysadmin-VirtualBox:/opt/stack/glance/glance/openstack/common# python /home/sysadmin/devstack/powervc-driver/glance-powervc/bin/glance-powervc --config-file /etc/powervc/powervc.conf --logfile /var/log/powervc/glance-powervc.log
Traceback (most recent call last):
  File "/home/sysadmin/devstack/powervc-driver/glance-powervc/bin/glance-powervc", line 33, in <module>
    from glance.openstack.common import service
ImportError: cannot import name service

This is caused by -> https://github.com/openstack/glance/commit/c3ff558fc0b8eab6117901a746f97a2800d7d02f , glance/openstack/common/service.py and some related files have been removed from glance project

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (master)

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

Changed in powervc-driver:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/104487
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=229f843fbb7b0a40fc0c5da7880f13d3cab796ad
Submitter: Jenkins
Branch: master

commit 229f843fbb7b0a40fc0c5da7880f13d3cab796ad
Author: Eric_Zhao <email address hidden>
Date: Thu Jul 3 05:17:13 2014 -0400

    Start up glance-powervc driver in Juno Release

    In Juno Release , there are four files in the Glance Component deleted
     in the directory "glance/openstack/common" , based on
    https://github.com/openstack/glance/commit/c3ff558fc0b8eab6117901a746f97a2800d7d02f,
     but glance-powervc driver need the ServiceLauncher to launch the driver service ,so
     it starts failed.

    The solution is to change to user nova ServiceLauncher to launch the
     service by modifing import path in the file bin/glance-powervc and
     manager/manager.py

    Change-Id: I2f6ec46fbb098043ad9721155b0c640fbde25df0
    Closes-Bug: #1337186

Changed in powervc-driver:
status: In Progress → Fix Committed
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.