cinder volume creation (status : creating)
Hi,
I am trying openstack manual installation on a single node with the help of the manual
http://
I got stucked in creating volumes in cinder configuration
When i execute the command
$ cinder create --display_name test 1
it gives,
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| created_at | 2012-11-
| display_description | None |
| display_name | test |
| id | 8802e55c-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| status | creating |
| volume_type | None |
+------
And the status of the volume remains in creating
When i execute the command
$ cinder list
it gives
+------
| ID | Status | Display Name | Size | Volume Type | Attached to |
+------
| 8802e55c-
+------
the status of the volume should be 'Available', But in my case it still remains in 'creating' state
and my cinder.conf looks like,
[DEFAULT]
rootwrap_config = /etc/cinder/
sql_connection = mysql:/
api_paste_confg = /etc/cinder/
iscsi_helper = ietadm
volume_
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
volumes_dir = /var/lib/
#osapi_
and the part of my api-paste.ini file looks like,
[filter:authtoken]
paste.filter_
service_protocol = http
service_host = x.y.z.a
service_port = 5000
auth_host = x.y.z.a
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = openstack
Please help me fix it..
Its urgent i need..
regards
Rajesh kannan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Cinder Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Razique Mahroua
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Rajesh,
Kindly paste cinder logs also the version of cinder you are using.
Revision history for this message
|
#2 |
Hi,
Thanks for your reply,
cinder-scheduler .log file
2012-11-06 11:14:53 4224 ERROR cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
2012-11-06 11:14:53 4224 TRACE cinder.
cinder-volume.log file contains,
2012-11-06 11:14:06 24356 AUDIT cinder.service [-] SIGTERM received
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] Full set of FLAGS: wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] storage_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] sql_connection_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] glance_port : 9292 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] glance_api_servers : ['192.168.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] max_age : 0 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] enable_new_services : True wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] my_ip : 192.168.0.111 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] osapi_volume_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] iscsi_ip_address : 192.168.0.111 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] logdir : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volumes_dir : /var/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] osapi_volume_listen : 0.0.0.0 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] sqlite_db : cinder.sqlite wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] iscsi_target_prefix : iqn.2010-
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] reclaim_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rootwrap_config : /etc/cinder/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] notification_driver : [] wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] osapi_max_limit : 1000 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] default_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] logfile : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] snapshot_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] quota_driver : cinder.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] debug : False wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] policy_file : policy.json wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_topic : cinder-volume wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] osapi_compute_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rpc_cast_timeout : 30 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] until_refresh : 0 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] iscsi_num_targets : 100 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] config_dir : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] log_config : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] use_stderr : True wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] connection_type : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] fatal_deprecations : False wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] logfile_mode : 0644 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] logging_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] instance_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] log_dir : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] logging_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rbd_user : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rpc_backend : cinder.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] default_log_levels : ['amqplib=WARN', 'sqlalchemy=WARN', 'boto=WARN', 'suds=INFO', 'keystone=INFO', 'eventlet.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] osapi_volume_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] sql_connection : FLAG SET wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] api_rate_limit : True wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] use_local_volumes : True wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] host : openstack-desktop wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] glance_num_retries : 0 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] allowed_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] quota_gigabytes : 1000 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_driver : cinder.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] reservation_expire : 86400 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] monkey_patch : False wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rpc_conn_pool_size : 30 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] sqlite_synchronous : True wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] scheduler_topic : cinder-scheduler wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] verbose : True wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] sql_max_retries : 10 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] num_iscsi_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] periodic_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] periodic_interval : 60 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] instance_format : [instance: %(uuid)s] wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rpc_response_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_group : cinder-volumes wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] service_down_time : 60 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] default_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] publish_errors : False wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] iscsi_helper : ietadm wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] iscsi_port : 3260 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] logging_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_api_class : cinder.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] report_interval : 10 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] scheduler_manager : cinder.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] monkey_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rpc_thread_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] quota_volumes : 10 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] db_backend : sqlalchemy wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] snapshot_same_host : True wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] state_path : /var/lib/cinder wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_tmp_dir : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] sql_idle_timeout : 3600 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] glance_host : 192.168.0.111 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] log_format : %(asctime)s %(levelname)8s [%(name)s] %(message)s wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] sql_retry_interval : 10 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] root_helper : sudo wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] memcached_servers : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] logging_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] osapi_volume_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] fake_rabbit : False wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] log_date_format : %Y-%m-%d %H:%M:%S wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] num_shell_tries : 3 wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] use_syslog : False wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] syslog_log_facility : LOG_USER wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rbd_pool : rbd wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] bindir : /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] auth_strategy : keystone wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] config_file : ['/etc/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] instance_
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] db_driver : cinder.db wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] volume_manager : cinder.
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] pybasedir : /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] api_paste_config : api-paste.ini wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] rbd_secret_uuid : None wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] policy_default_rule : default wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] control_exchange : cinder wait /usr/lib/
2012-11-06 11:14:10 25704 DEBUG cinder.service [-] log_file : /var/log/
2012-11-06 11:14:10 25704 AUDIT cinder.service [-] Starting cinder-volume node (version 2012.2-
2012-11-06 11:14:10 DEBUG cinder.utils [req-2edfb496-
2012-11-06 11:14:10 DEBUG cinder.utils [req-2edfb496-
2012-11-06 11:14:11 DEBUG cinder.
2012-11-06 11:14:11 DEBUG cinder.
2012-11-06 11:14:11 25704 INFO cinder.
2012-11-06 11:14:11 25704 DEBUG cinder.service [-] Creating Consumer connection for Service cinder-volume start /usr/lib/
2012-11-06 11:14:59 DEBUG cinder.manager [req-f17fd87a-
2012-11-06 11:14:59 DEBUG cinder.manager [req-f17fd87a-
I'm using cinder version 2012.2
Revision history for this message
|
#3 |
Hey Rajesh, what about cinder-api.log ?
Revision history for this message
|
#4 |
Thanks for your reply Razique,
My cinder-api.log file contains
2012-11-06 14:16:36 13476 AUDIT cinder.service [-] SIGTERM received
2012-11-06 14:16:36 13476 INFO cinder.wsgi [-] WSGI server has stopped.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 AUDIT cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.
2012-11-06 14:16:37 15266 INFO keystone.
2012-11-06 14:16:37 15266 INFO keystone.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] Full set of FLAGS: wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] storage_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] sql_connection_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] glance_port : 9292 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] glance_api_servers : ['192.168.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] max_age : 0 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] enable_new_services : True wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] my_ip : 192.168.0.111 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] osapi_volume_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] logdir : None wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] osapi_volume_listen : 0.0.0.0 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] sqlite_db : cinder.sqlite wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] reclaim_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] rootwrap_config : /etc/cinder/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] notification_driver : [] wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] osapi_max_limit : 1000 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] default_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] logfile : None wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] snapshot_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] quota_driver : cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] debug : False wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] policy_file : policy.json wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] volume_topic : cinder-volume wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] osapi_compute_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] volume_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] rpc_cast_timeout : 30 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] until_refresh : 0 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] config_dir : None wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] log_config : None wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] use_stderr : True wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] connection_type : None wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] fatal_deprecations : False wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] logfile_mode : 0644 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] logging_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] instance_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] log_dir : None wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] logging_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] rpc_backend : cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] default_log_levels : ['amqplib=WARN', 'sqlalchemy=WARN', 'boto=WARN', 'suds=INFO', 'keystone=INFO', 'eventlet.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] osapi_volume_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] sql_connection : FLAG SET wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] api_rate_limit : True wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] use_local_volumes : True wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] host : openstack-desktop wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] glance_num_retries : 0 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] allowed_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] quota_gigabytes : 1000 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] volume_driver : cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] reservation_expire : 86400 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] monkey_patch : False wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] rpc_conn_pool_size : 30 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] sqlite_synchronous : True wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] volume_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] scheduler_topic : cinder-scheduler wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] verbose : True wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] sql_max_retries : 10 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] periodic_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] periodic_interval : 60 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] instance_format : [instance: %(uuid)s] wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] rpc_response_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] service_down_time : 60 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] default_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] publish_errors : False wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] use_forwarded_for : False wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] logging_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] volume_api_class : cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] report_interval : 10 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] scheduler_manager : cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] monkey_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] rpc_thread_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] quota_volumes : 10 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] db_backend : sqlalchemy wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] snapshot_same_host : True wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] state_path : /var/lib/cinder wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] sql_idle_timeout : 3600 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] glance_host : 192.168.0.111 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] log_format : %(asctime)s %(levelname)8s [%(name)s] %(message)s wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] osapi_max_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] sql_retry_interval : 10 wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] root_helper : sudo wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] memcached_servers : None wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] logging_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] osapi_volume_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] fake_rabbit : False wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] log_date_format : %Y-%m-%d %H:%M:%S wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] use_syslog : False wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] syslog_log_facility : LOG_USER wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] bindir : /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] auth_strategy : keystone wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] config_file : ['/etc/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] instance_
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] db_driver : cinder.db wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] volume_manager : cinder.
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] pybasedir : /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] api_paste_config : api-paste.ini wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] policy_default_rule : default wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] control_exchange : cinder wait /usr/lib/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] log_file : /var/log/
2012-11-06 14:16:37 15266 DEBUG cinder.service [-] keystone_authtoken : <cinder.
2012-11-06 14:16:37 15266 INFO cinder.wsgi [-] Started osapi_volume on 0.0.0.0:8776
2012-11-06 14:17:00 INFO cinder.
2012-11-06 14:17:00 AUDIT cinder.
2012-11-06 14:17:00 DEBUG cinder.utils [req-20270f2a-
2012-11-06 14:17:00 DEBUG cinder.quota [req-20270f2a-
2012-11-06 14:17:00 15266 DEBUG cinder.
2012-11-06 14:17:00 15266 DEBUG cinder.
2012-11-06 14:17:00 15266 INFO cinder.
2012-11-06 14:17:00 AUDIT cinder.
2012-11-06 14:17:00 INFO cinder.
2012-11-06 14:18:40 INFO cinder.
2012-11-06 14:18:40 DEBUG cinder.
2012-11-06 14:18:40 AUDIT cinder.
2012-11-06 14:18:40 AUDIT cinder.
2012-11-06 14:18:40 INFO cinder.
Thank u,.
Revision history for this message
|
#5 |
Can you run $ cinder create --display_name test 1
and paste the lines of the three logs ?
Revision history for this message
|
#6 |
After running the command, it shows..
$ cinder create --display_name test 1
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| created_at | 2012-11-
| display_description | None |
| display_name | test |
| id | aafcf6da-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| status | creating |
| volume_type | None |
+------
And i executed the cinder list command for checking the volume it shows,
~$ cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Attached to |
+------
| aafcf6da-
+------
Its status still remain in 'creating'..!!
What should i do to make it available...?
Revision history for this message
|
#7 |
Hi Razique,
these are the logs of three files after executing the command
cinder-api.log
2012-11-06 15:40:32 INFO cinder.
2012-11-06 15:40:32 AUDIT cinder.
2012-11-06 15:40:32 DEBUG cinder.quota [req-c4b44a16-
2012-11-06 15:40:32 24143 DEBUG cinder.
2012-11-06 15:40:32 AUDIT cinder.
2012-11-06 15:40:32 INFO cinder.
cinder-
2012-11-06 15:40:32 4224 DEBUG cinder.
2012-11-06 15:40:32 4224 DEBUG cinder.
2012-11-06 15:40:32 4224 ERROR cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
2012-11-06 15:40:32 4224 TRACE cinder.
cinder-volume.log
2012-11-06 15:39:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
2012-11-06 15:39:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
2012-11-06 15:40:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
2012-11-06 15:40:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
2012-11-06 15:41:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
2012-11-06 15:41:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
2012-11-06 15:42:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
2012-11-06 15:42:50 24112 DEBUG cinder.manager [-] Running periodic task VolumeManager.
Please provide me a solution..
Revision history for this message
|
#8 |
Into api-paste.ini, are the values good :
service_protocol = http
service_host = x.y.z.a
service_port = 5000
auth_host = x.y.z.a
does keystone contains the endpoint for Cinder ?
Revision history for this message
|
#9 |
Looks like cinder is unable to create the volume, what $lvdisplay shows ?
Revision history for this message
|
#10 |
Yes, keystone contains the endpoint for cinder...
and $lvdisplay returns nothing..
Revision history for this message
|
#11 |
That is the problem then, you need to create a lvm partition first
Here is a small how-to with a loopfile
$ dd if=/dev/zero of=cinder-volumes bs=1 count=0 seek=2G
$ losetup /dev/loop2 cinder-volumes
$ fdisk /dev/loop2
fdisk > n
fdisk > 1
fdisk > enter
fdisk > enter
fdisk > t
fdisk > 8e
fdisk > write
$ pvcreate /dev/loop2
$ vgcreate cinder-volumes /dev/loop2
$ sudo cinder-manage db sync
$ sudo service cinder-volume restart
$ sudo service cinder-api restart
Revision history for this message
|
#12 |
Hi thanks for your reply..
i followed your steps..
but when i executed $ pvcreate /dev/loop2 it shws an error,
/dev/loop2: Size must exceed minimum of 1024 sectors.
Failed to setup physical volume "/dev/loop2"
What should i do now..?
Revision history for this message
|
#13 |
Looks like the loopfile is not mounted, what losetup -a shows ?
Revision history for this message
|
#14 |
$ losetup -a returns nothing..
Revision history for this message
|
#15 |
ok, looks like you missed first steps :
$ dd if=/dev/zero of=/path/
$ losetup /dev/loop2 /path/to/
Revision history for this message
|
#16 |
now i tried from the first step..
while executing $pvcreate /dev/loop2 it shows,
Can't initialize physical volume "/dev/loop2" of volume group "cinder-volumes" without -ff
Revision history for this message
|
#17 |
what fdisk /path/to/
run fdisk and then press "p"
Revision history for this message
|
#18 |
This is the output of running fdisk and pressing "p"
You will not be able to write the partition table.
Command (m for help): p
Disk cinder-volumes: 2147 MB, 2147483648 bytes
22 heads, 16 sectors/track, 11915 cylinders, total 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe0b9daf4
Device Boot Start End Blocks Id System
cinder-volumes1 2048 4194303 2096128 8e Linux LVM
Revision history for this message
|
#19 |
it's like you don't have some rights over it.
are you using the same user for all the tasks ? and the root one for the mounting and lvm ones ?
Revision history for this message
|
#20 |
No I'm using sudo for the mounting and lvm ones..
Because after using sudo only its executed.. otherwise its not working..
Revision history for this message
|
#21 |
Can you try to create a bigger file (let's say 3 gb) and try again both fsdisk and the mount/ pvcreate, etc...
thanks
Revision history for this message
|
#22 |
Thank you.. its now created.. thank you for your replies, answers...
Thank you for your time..
Revision history for this message
|
#23 |
Thanks Razique Mahroua, that solved my question.
Revision history for this message
|
#24 |
Can you tell me the way to delete the available volume..
I tried it.. but now the status remains 'error_deleting'
can i delete the available volume? if so please tell me the command..
otherwise how to make it as available again..?
thanks and regards,
R.Rajesh kannan
Revision history for this message
|
#26 |
try to run a cinder delete $id
otherwhise, edit manually the database and set the "deleted" field to 1 since the volume doesn't exist
Revision history for this message
|
#27 |
Thank you Razique,
Its working.. now i can delete the volume. Thanks a lot..
Now there is no volume in the volumes tab. so, i attended to create a new volume by following the steps from beginning, when i reach the $ cinder create --display_name test 1 its shows me an error..
ERROR: VolumeLimitExce
But nothing is there in the volume tab as well as database. what should i do to create volume in exist partition..?
Otherwise shall i create a new partition,? if so, please tell me the way which i should follow..
Thank you
Revision history for this message
|
#28 |
what cinder list gives you ?
you are fine by using the loopfile for testing purpose, but of you intend to run production for that, you might consider other leads - SAN for instance, dedicated disk in RAID, etc...
Revision history for this message
|
#29 |
Thanks Razique Mahroua, that solved my question.