Openstack on Fedora 17

Pádraig Brady P at draigBrady.com
Sat Jun 9 00:04:01 UTC 2012


On 06/08/2012 09:26 PM, Michael Adeyeye wrote:
> 
> 
> On 06/08/2012 09:24 PM, Pádraig Brady wrote:
>>  On 06/08/2012 08:11 PM, Michael Adeyeye wrote:
>>>     I have error installing openstack on fedora 17. I can't run glance index. please see http://fpaste.org/JJYL/
>>  Hmm. Did the glance services start correctly?
>>
>>  Is the output Ok from:
>>
>>     for svc in api registry; do
>>       systemctl status openstack-glance-$svc.service
>>     done
> 
> Yes, it is, see http://fpaste.org/ADLn/
> 
>>
>>  There might be something informative in /var/log/glance/*.log
> api.log - http://fpaste.org/MBYh/
> 
> registry.log - http://fpaste.org/cY97/; I can see some errors here. But
> I can connect using glance as username and password via the terminal. I
> don't why glance-registry is throwing an error here.
>>
>>  There have been selinux updates recently which you may not have.
>>  Could you try after doing:
>>
>>     yum install selinux-policy
>>
>>  Or if that doesn't work, to eliminate selinux temporarily
>>
>>     setenforce 0
> I just did this; and glance index gives no response.

OK, `glance index` should give no response as there is nothing uploaded yet.
So it seems to be an SELinux issue.
I'm not sure which of the above you did but this is being addressed by:
https://bugzilla.redhat.com/show_bug.cgi?id=826674

>>
>>  I also notice errors from the openstack-db --init commands:
>>  ERROR 1396 (HY000) at line 2: Operation CREATE USER failed for 'glance'@'localhost'
>>  I've not seen that before, so I'll need to look into that at least.
> the username glance already exist in the DB; that's why it prompted the
> error.

Ah OK.
You can start from scratch if required with `openstack-db --drop`

cheers,
Pádraig.



More information about the cloud mailing list