does not start the instance when an attack volume
I have an architecture that uses cinder to manage volumes. My problem is: when I create an instance, and you associate a volume the system fails to boot it goes into an error state. I enclose the following configuration file:
nova.conf cloud controller:
[DEFAULT]
# LOGS/STATE
verbose=True
logdir=
state_path=
lock_path=
rootwrap_
dhcpbridge=
# SCHEDULER
compute_
# Cinder
volume_
enabled_
#MAKE SURE NO ENTRY FOR osapi_volume anywhere in nova.conf!!!
#Leaving out enabled_apis altogether is NOT sufficient, as it defaults to include osapi_volume
osapi_volume_
# DATABASE
sql_connection=
# COMPUTE
connection_
libvirt_type=kvm
compute_
instance_
api_paste_
# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_
# APIS
osapi_compute_
ec2_dmz_
s3_host=
# RABBITMQ
rabbit_
# GLANCE
image_service=
glance_
# NETWORK
network_
force_dhcp_
dhcpbridge_
firewall_
# Change my_ip to match each host
my_ip=192.
public_
flat_interface=eth1
flat_network_
fixed_range=
network_size=32
flat_network_
# NOVNC CONSOLE
novncproxy_
# Change vncserver_
vncserver_
vncserver_
# AUTHENTICATION
auth_strategy=
[keystone_
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = coritel
signing_dirname = /tmp/keystone-
cinder.conf:
[DEFAULT]
state_path = /var/lib/cinder
volumes_dir = /var/lib/
rootwrap_
sql_connection = mysql:/
api_paste_confg = /etc/cinder/
iscsi_helper=tgtadm
volume_
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
#osapi_
nova.conf compute node:
[DEFAULT]
logdir=
state_path=
lock_path=
verbose=True
api_paste_
scheduler_
s3_host=
ec2_host=
ec2_dmz_
rabbit_
cc_host=
nova_url=http://
sql_connection=
ec2_url=http://
# Auth
use_deprecated_
auth_strategy=
keystone_ec2_url=http://
# Imaging service
glance_
image_service=
# Virt driver
connection_
libvirt_type=kvm
# Vnc configuration
novnc_enabled=true
novncproxy_
novncproxy_
vncserver_
vncserver_
# NETWORK
network_
force_dhcp_
dhcpbridge_
firewall_
# Change my_ip to match each host
my_ip=192.
public_
flat_interface=eth1
flat_network_
fixed_range=
network_size=32
flat_network_
routing_
rootwrap_
# Cinder
volume_
enabled_
#MAKE SURE NO ENTRY FOR osapi_volume anywhere in nova.conf!!!
#Leaving out enabled_apis altogether is NOT sufficient, as it defaults to include osapi_volume
osapi_volume_
Thanks Antonio
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
can you show your error log messages.
Revision history for this message
|
#2 |
can you show your error log messages.
Revision history for this message
|
#3 |
this is the log file of nova-compute:
2013-01-07 11:46:19 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:19 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=6310) _publish_
2013-01-07 11:46:19 DEBUG nova.openstack.
2013-01-07 11:46:19 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:19 DEBUG nova.manager [-] Skipping ComputeManager.
2013-01-07 11:46:19 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:19 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:19 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:19 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_
2013-01-07 11:46:25 DEBUG nova.compute.
2013-01-07 11:46:25 DEBUG nova.compute.
2013-01-07 11:46:25 DEBUG nova.compute.
2013-01-07 11:46:25 AUDIT nova.compute.
2013-01-07 11:46:25 AUDIT nova.compute.
2013-01-07 11:46:25 AUDIT nova.compute.
2013-01-07 11:46:25 INFO nova.compute.
2013-01-07 11:46:25 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:25 DEBUG nova.manager [-] Skipping ComputeManager.
2013-01-07 11:46:25 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:25 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:25 DEBUG nova.manager [-] Skipping ComputeManager.
2013-01-07 11:46:25 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:25 DEBUG nova.compute.
2013-01-07 11:46:25 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:25 DEBUG nova.manager [-] Running periodic task ComputeManager.
2013-01-07 11:46:26 DEBUG nova.openstack.
2013-01-07 11:46:26 DEBUG nova.openstack.
2013-01-07 11:46:26 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:27 AUDIT nova.compute.
2013-01-07 11:46:27 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:27 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:27 DEBUG nova.openstack.
2013-01-07 11:46:27 DEBUG nova.openstack.
2013-01-07 11:46:28 DEBUG nova.compute.
2013-01-07 11:46:28 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:28 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:28 DEBUG nova.compute.
2013-01-07 11:46:28 AUDIT nova.compute.
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:29 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:29 DEBUG nova.virt.
2013-01-07 11:46:29 DEBUG nova.virt.
2013-01-07 11:46:29 DEBUG nova.virt.
2013-01-07 11:46:29 DEBUG nova.virt.
2013-01-07 11:46:29 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:29 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:29 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:29 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:29 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:29 DEBUG nova.virt.
stderr= from (pid=6310) _run_iscsiadm /usr/lib/
2013-01-07 11:46:29 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:30 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:30 DEBUG nova.virt.
stderr=iscsiadm: Could not login to [iface: default, target: iqn.2010-
iscsiadm: initiator reported error (19 - encountered non-retryable iSCSI login failure)
from (pid=6310) _run_iscsiadm /usr/lib/
2013-01-07 11:46:30 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:30 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:30 DEBUG nova.virt.
2013-01-07 11:46:30 WARNING nova.virt.
2013-01-07 11:46:30 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:30 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:30 ERROR nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 TRACE nova.compute.
2013-01-07 11:46:30 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:30 INFO nova.compute.
2013-01-07 11:46:30 DEBUG nova.compute.
2013-01-07 11:46:30 DEBUG nova.openstack.
2013-01-07 11:46:30 DEBUG nova.openstack.
2013-01-07 11:46:31 DEBUG nova.compute.
2013-01-07 11:46:31 DEBUG nova.utils [req-2c3243b6-
2013-01-07 11:46:31 DEBUG nova.openstack.
2013-01-07 11:46:31 ERROR nova.compute.
i changed Cinder with nova-volume but the result doesn't change
this is the log file of nova-volume:
2013-01-07 11:46:08 DEBUG nova.openstack.
2013-01-07 11:46:08 DEBUG nova.openstack.
2013-01-07 11:46:08 INFO nova.volume.manager [req-77846921-
2013-01-07 11:46:08 DEBUG nova.volume.manager [req-77846921-
2013-01-07 11:46:08 DEBUG nova.utils [req-77846921-
2013-01-07 11:46:08 DEBUG nova.utils [req-77846921-
2013-01-07 11:46:08 DEBUG nova.volume.manager [req-77846921-
2013-01-07 11:46:08 INFO nova.volume.iscsi [req-77846921-
2013-01-07 11:46:08 DEBUG nova.utils [req-77846921-
2013-01-07 11:46:09 DEBUG nova.utils [req-77846921-
2013-01-07 11:46:09 DEBUG nova.utils [req-77846921-
2013-01-07 11:46:09 DEBUG nova.utils [req-77846921-
2013-01-07 11:46:09 DEBUG nova.volume.manager [req-77846921-
2013-01-07 11:46:09 INFO nova.volume.manager [req-77846921-
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:28 DEBUG nova.openstack.
2013-01-07 11:46:31 DEBUG nova.manager [-] Running periodic task VolumeManager.
2013-01-07 11:46:31 DEBUG nova.manager [-] Running periodic task VolumeManager.
Can you help with this problem?
Provide an answer of your own, or ask Alagia Antonio for more information if necessary.