[Openstack] cinder malformed url error

2013-05-07 Thread Dennis Jacobfeuerborn

Hi,
I've got the cinder-api service up and running but when I run cinder 
list I get an error ERROR: Malformed request url.


This is the URL called from the debug output:
REQ: curl -i 
http://10.16.171.3:8776/v1/11b39f6529ea4eb6a527de82122ba6f6/volumes/detail 
-X GET


The endpoints in the database are defined as
http://10.16.171.3:8776/v1/%(tenant_id)s
which should be correct.

Any ideas what about the URL is malformed?

Regards,
  Dennis

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] cinder malformed url error

2013-05-07 Thread Dennis Jacobfeuerborn

On 07.05.2013 16:05, Dennis Jacobfeuerborn wrote:

Hi,
I've got the cinder-api service up and running but when I run cinder
list I get an error ERROR: Malformed request url.

This is the URL called from the debug output:
REQ: curl -i
http://10.16.171.3:8776/v1/11b39f6529ea4eb6a527de82122ba6f6/volumes/detail
-X GET

The endpoints in the database are defined as
http://10.16.171.3:8776/v1/%(tenant_id)s
which should be correct.

Any ideas what about the URL is malformed?


Found the reason. Apparently this happens when auth_strategy = 
keystone is missing from the config.


The issue I know have that a cinder create 1 leads to a volume in 
error state with the following error in the scheduler.log:


2013-05-08 02:13:17  WARNING [cinder.scheduler.host_manager] service is 
down or disabled.
2013-05-08 02:13:17ERROR [cinder.scheduler.manager] Failed to 
schedule_create_volume: No valid host was found.


I'm running the api and scheduler services on the controller node and 
the volume service on a compute node. Any ideas why cinder doesn't find 
a valid host?


Regards,
  Dennis

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] cinder malformed url error

2013-05-07 Thread Steve Heistand

 2013-05-08 02:13:17  WARNING [cinder.scheduler.host_manager] service is 
 down or disabled.
 2013-05-08 02:13:17ERROR [cinder.scheduler.manager] Failed to 
 schedule_create_volume: No valid host was found.
 
 I'm running the api and scheduler services on the controller node and 
 the volume service on a compute node. Any ideas why cinder doesn't find 
 a valid host?

Ive found that even small time differences between nodes can cause issues
like this.

s


-- 

 Steve Heistand   NASA Ames Research Center
 SciCon Group Mail Stop 258-6
 steve.heist...@nasa.gov  (650) 604-4369  Moffett Field, CA 94035-1000

 Any opinions expressed are those of our alien overlords, not my own.

# For Remedy#
#Action: Resolve#
#Resolution: Resolved   #
#Reason: No Further Action Required #
#Tier1: User Code   #
#Tier2: Other   #
#Tier3: Assistance  #
#Notification: None #




signature.asc
Description: OpenPGP digital signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] cinder malformed url error

2013-05-07 Thread Dennis Jacobfeuerborn

On 08.05.2013 02:34, Steve Heistand wrote:



2013-05-08 02:13:17  WARNING [cinder.scheduler.host_manager] service is
down or disabled.
2013-05-08 02:13:17ERROR [cinder.scheduler.manager] Failed to
schedule_create_volume: No valid host was found.

I'm running the api and scheduler services on the controller node and
the volume service on a compute node. Any ideas why cinder doesn't find
a valid host?


Ive found that even small time differences between nodes can cause issues
like this.


Yep, that was it. Ntpd was running on the systems but apparently it 
couldn't reach any timeservers. I set up another system as the time 
source to synchronize the two nodes to and now the volume is created 
properly.


Thanks!

Regards,
  Dennis

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp