I tried to replaced the line in "/usr/share/pyshared/nova/db/sqlalchemy/models.py" with "snapshot_id = Column(Integer)" when I could not list volumes.
After replacing the line, I restarted nova-api then I could list volumes with "volume-list" command.
But the Status of volumes are always "creating" if the volumes have been created with the snapshots.
Do I miss something ?
I use Ubuntu 12.04 with the package installed:
root@Controller: dpkg -l |egrep "nova|volume"
ii nova-ajax-console-proxy 2012.1-0ubuntu2.1 OpenStack Compute - AJAX console proxy - transitional package
ii nova-api 2012.1-0ubuntu2.1 OpenStack Compute - API frontend
ii nova-cert 2012.1-0ubuntu2.1 OpenStack Compute - certificate management
ii nova-common 2012.1-0ubuntu2.1 OpenStack Compute - common files
ii nova-compute 2012.1-0ubuntu2.1 OpenStack Compute - compute node
ii nova-compute-kvm 2012.1-0ubuntu2.1 OpenStack Compute - compute node (KVM)
ii nova-consoleauth 2012.1-0ubuntu2.1 OpenStack Compute - Console Authenticator
ii nova-doc 2012.1-0ubuntu2.1 OpenStack Compute - documentation
ii nova-network 2012.1-0ubuntu2.1 OpenStack Compute - Network manager
ii nova-scheduler 2012.1-0ubuntu2.1 OpenStack Compute - virtual machine scheduler
ii nova-vncproxy 2012.1-0ubuntu2.1 OpenStack Compute - VNC proxy
ii nova-volume 2012.1-0ubuntu2.1 OpenStack Compute - storage
ii python-nova 2012.1-0ubuntu2.1 OpenStack Compute Python libraries
ii python-novaclient 2012.1-0ubuntu1 client library for OpenStack Compute API
Hi,
I tried to replaced the line in "/usr/share/ pyshared/ nova/db/ sqlalchemy/ models. py" with "snapshot_id = Column(Integer)" when I could not list volumes.
After replacing the line, I restarted nova-api then I could list volumes with "volume-list" command.
But the Status of volumes are always "creating" if the volumes have been created with the snapshots.
Do I miss something ?
I use Ubuntu 12.04 with the package installed:
root@Controller: dpkg -l |egrep "nova|volume" console- proxy 2012.1-0ubuntu2.1 OpenStack Compute - AJAX console proxy - transitional package
ii nova-ajax-
ii nova-api 2012.1-0ubuntu2.1 OpenStack Compute - API frontend
ii nova-cert 2012.1-0ubuntu2.1 OpenStack Compute - certificate management
ii nova-common 2012.1-0ubuntu2.1 OpenStack Compute - common files
ii nova-compute 2012.1-0ubuntu2.1 OpenStack Compute - compute node
ii nova-compute-kvm 2012.1-0ubuntu2.1 OpenStack Compute - compute node (KVM)
ii nova-consoleauth 2012.1-0ubuntu2.1 OpenStack Compute - Console Authenticator
ii nova-doc 2012.1-0ubuntu2.1 OpenStack Compute - documentation
ii nova-network 2012.1-0ubuntu2.1 OpenStack Compute - Network manager
ii nova-scheduler 2012.1-0ubuntu2.1 OpenStack Compute - virtual machine scheduler
ii nova-vncproxy 2012.1-0ubuntu2.1 OpenStack Compute - VNC proxy
ii nova-volume 2012.1-0ubuntu2.1 OpenStack Compute - storage
ii python-nova 2012.1-0ubuntu2.1 OpenStack Compute Python libraries
ii python-novaclient 2012.1-0ubuntu1 client library for OpenStack Compute API