[Openstack-operators] Problem running Openstack on fedora 16 (nova segfault)

Sergey Kulanov sergey at kulanov.org.ua
Fri Oct 14 18:57:53 UTC 2011


Hi,
I have the following troubles while using Openstack on Fedora 16:
SOFTWARE (what do we have):
- Fedora 16 Beta
- Linux server1.example.com 3.1.0-0.rc9.git0.0.fc16.i686.PAE #1 SMP Wed 
Oct 5 15:51:55 UTC 2011 i686 i686 i386 GNU/Linux
-   openstack-swift-auth-1.4.0-2.fc16.noarch
     openstack-glance-2011.3-1.fc16.noarch
     openstack-swift-1.4.0-2.fc16.noarch
     openstack-swift-proxy-1.4.0-2.fc16.noarch
     openstack-swift-account-1.4.0-2.fc16.noarch
     openstack-nova-2011.3-3.fc16.noarch
     openstack-swift-object-1.4.0-2.fc16.noarch
     openstack-swift-container-1.4.0-2.fc16.noarch
- glibc-2.14.90-11
-python-2.7.2-4.fc16.i686

I tried to follow this instruction 
http://fedoraproject.org/wiki/Getting_started_with_OpenStack_Nova

INSTALLATION:
1) Some installation warnings:
Downloading Packages:
(1/5): 
openstack-swift-account-1.4.0-2.fc16.noarch.rpm                                                           
|  26 kB     00:00
(2/5): 
openstack-swift-auth-1.4.0-2.fc16.noarch.rpm                                                              
| 9.9 kB     00:00
(3/5): 
openstack-swift-container-1.4.0-2.fc16.noarch.rpm                                                         
|  26 kB     00:00
(4/5): 
openstack-swift-object-1.4.0-2.fc16.noarch.rpm                                                            
|  44 kB     00:00
(5/5): 
openstack-swift-proxy-1.4.0-2.fc16.noarch.rpm                                                             
|  37 kB     00:00
----------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                   
137 kB/s | 143 kB     00:01
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
   Installing : 
openstack-swift-object-1.4.0-2.fc16.noarch                                                                           
1/5
Non-fatal POSTIN scriptlet failure in rpm package 
openstack-swift-object-1.4.0-2.fc16.noarch
error reading information on service swift-object: No such file or directory
warning: %post(openstack-swift-object-1.4.0-2.fc16.noarch) scriptlet 
failed, exit status 1
   Installing : 
openstack-swift-proxy-1.4.0-2.fc16.noarch                                                                            
2/5
Non-fatal POSTIN scriptlet failure in rpm package 
openstack-swift-proxy-1.4.0-2.fc16.noarch
error reading information on service swift-proxy: No such file or directory
warning: %post(openstack-swift-proxy-1.4.0-2.fc16.noarch) scriptlet 
failed, exit status 1
   Installing : 
openstack-swift-auth-1.4.0-2.fc16.noarch                                                                             
3/5
Non-fatal POSTIN scriptlet failure in rpm package 
openstack-swift-auth-1.4.0-2.fc16.noarch
error reading information on service swift-auth: No such file or directory
warning: %post(openstack-swift-auth-1.4.0-2.fc16.noarch) scriptlet 
failed, exit status 1
   Installing : 
openstack-swift-account-1.4.0-2.fc16.noarch                                                                          
4/5
Non-fatal POSTIN scriptlet failure in rpm package 
openstack-swift-account-1.4.0-2.fc16.noarch
error reading information on service swift-account: No such file or 
directory
warning: %post(openstack-swift-account-1.4.0-2.fc16.noarch) scriptlet 
failed, exit status 1
   Installing : 
openstack-swift-container-1.4.0-2.fc16.noarch                                                                        
5/5
Non-fatal POSTIN scriptlet failure in rpm package 
openstack-swift-container-1.4.0-2.fc16.noarch
error reading information on service swift-container: No such file or 
directory
warning: %post(openstack-swift-container-1.4.0-2.fc16.noarch) scriptlet 
failed, exit status 1

Installed:
   openstack-swift-account.noarch 0:1.4.0-2.fc16                        
openstack-swift-auth.noarch 0:1.4.0-2.fc16
   openstack-swift-container.noarch 0:1.4.0-2.fc16                      
openstack-swift-object.noarch 0:1.4.0-2.fc16
   openstack-swift-proxy.noarch 0:1.4.0-2.fc16

Complete!

2) RUNNING: I didn't change any default setting (just add debugging flag)
     [root at server1 ~]# service openstack-glance-api start; service 
openstack-glance-registry start
     /var/log/messages
     Oct 14 21:20:31 server1 glance-api[1404]: Traceback (most recent 
call last):
     Oct 14 21:20:31 server1 glance-api[1404]: File 
"/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 336, in 
fire_timers
     Oct 14 21:20:31 server1 glance-api[1404]: timer()
     Oct 14 21:20:31 server1 glance-api[1404]: File 
"/usr/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 56, in 
__call__
     Oct 14 21:20:31 server1 glance-api[1404]: cb(*args, **kw)
     Oct 14 21:20:31 server1 glance-api[1404]: SystemError: error return 
without exception set
     Oct 14 21:25:37 server1 glance-registry[1460]: Traceback (most 
recent call last):
     Oct 14 21:25:37 server1 glance-registry[1460]: File 
"/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 336, in 
fire_timers
     Oct 14 21:25:37 server1 glance-registry[1460]: timer()
     Oct 14 21:25:37 server1 glance-registry[1460]: File 
"/usr/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 56, in 
__call__
     Oct 14 21:25:37 server1 glance-registry[1460]: cb(*args, **kw)
     Oct 14 21:25:37 server1 glance-registry[1460]: SystemError: error 
return without exception set

[root at server1 ~]# service openstack-glance-api status;service 
openstack-glance-registry status
Redirecting to /bin/systemctl  status openstack-glance-api.service

           Loaded: loaded 
(/lib/systemd/system/openstack-glance-api.service; disabled)
           Active: active (running) since Fri, 14 Oct 2011 21:20:28 
+0300; 6min ago
         Main PID: 1404 (glance-api)
           CGroup: name=systemd:/system/openstack-glance-api.service
                   └ 1404 /usr/bin/python /usr/bin/glance-api 
--config-file /etc/glance/glance-api.conf

openstack-glance-registry.service - OpenStack Image Service (code-named 
Glance) Registry server
           Loaded: loaded 
(/lib/systemd/system/openstack-glance-registry.service; disabled)
           Active: active (running) since Fri, 14 Oct 2011 21:25:37 
+0300; 1min 29s ago
         Main PID: 1460 (glance-registry)
           CGroup: name=systemd:/system/openstack-glance-registry.service
                   └ 1460 /usr/bin/python /usr/bin/glance-registry 
--config-file /etc/glance/glance-registry.conf

---------------------------NOVA START -----------------------
service openstack-nova-api start

/var/log/messages
Oct 14 21:30:55 server1 kernel: [ 1186.188224] nova-api[1560]: segfault 
at 4 ip 0025a950 sp bfef9108 error 4 in libc-2.14.90.so[115000+1a7000]
Oct 14 21:30:55 server1 systemd[1]: openstack-nova-api.service: main 
process exited, code=killed, status=11
Oct 14 21:30:55 server1 systemd[1]: Unit openstack-nova-api.service 
entered failed state.

/var/log/nova/api.log
2011-10-14 21:30:54,785 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(created_at, Column)
2011-10-14 21:30:54,804 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(updated_at, Column)
2011-10-14 21:30:54,805 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(deleted_at, Column)
2011-10-14 21:30:54,805 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(deleted, Column)
2011-10-14 21:30:54,805 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(id, Column)
2011-10-14 21:30:54,805 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(name, Column)
2011-10-14 21:30:54,805 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(disk_format, Column)
2011-10-14 21:30:54,806 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(container_format, Column)
2011-10-14 21:30:54,806 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(size, Column)
2011-10-14 21:30:54,807 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(status, Column)
2011-10-14 21:30:54,807 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(is_public, Column)
2011-10-14 21:30:54,807 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(location, Column)
2011-10-14 21:30:54,807 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(checksum, Column)
2011-10-14 21:30:54,807 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(min_disk, Column)
2011-10-14 21:30:54,808 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(min_ram, Column)
2011-10-14 21:30:54,808 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) _configure_property(owner, Column)
2011-10-14 21:30:54,808 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) Identified primary key columns: ColumnSet([Column('id', 
Integer(), table=<images>, primary_key=True, nullable=False)])
2011-10-14 21:30:54,809 INFO sqlalchemy.orm.mapper.Mapper [-] 
(Image|images) constructed
2011-10-14 21:30:54,811 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(image, 
RelationshipProperty)
2011-10-14 21:30:54,812 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(created_at, Column)
2011-10-14 21:30:54,812 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(updated_at, Column)
2011-10-14 21:30:54,812 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(deleted_at, Column)
2011-10-14 21:30:54,812 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(deleted, Column)
2011-10-14 21:30:54,813 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(id, Column)
2011-10-14 21:30:54,813 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(image_id, Column)
2011-10-14 21:30:54,813 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(name, Column)
2011-10-14 21:30:54,813 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) _configure_property(value, Column)
2011-10-14 21:30:54,814 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) Identified primary key columns: 
ColumnSet([Column('id', Integer(), table=<image_properties>, 
primary_key=True, nullable=False)])
2011-10-14 21:30:54,814 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageProperty|image_properties) constructed
2011-10-14 21:30:54,816 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(image, RelationshipProperty)
2011-10-14 21:30:54,817 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(created_at, Column)
2011-10-14 21:30:54,817 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(updated_at, Column)
2011-10-14 21:30:54,817 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(deleted_at, Column)
2011-10-14 21:30:54,817 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(deleted, Column)
2011-10-14 21:30:54,818 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(id, Column)
2011-10-14 21:30:54,818 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(image_id, Column)
2011-10-14 21:30:54,818 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(member, Column)
2011-10-14 21:30:54,818 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) _configure_property(can_share, Column)
2011-10-14 21:30:54,819 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) Identified primary key columns: 
ColumnSet([Column('id', Integer(), table=<image_members>, 
primary_key=True, nullable=False)])
2011-10-14 21:30:54,819 INFO sqlalchemy.orm.mapper.Mapper [-] 
(ImageMember|image_members) constructed
2011-10-14 21:30:55,188 DEBUG nova.utils [-] Running sh 
/usr/lib/python2.7/site-packages/nova/api/ec2/../../CA/genrootca.sh from 
(pid=1560) runthis  /usr/lib/python2.7/site-packages/nova/utils.py:275
2011-10-14 21:30:55,188 DEBUG nova.utils [-] Running cmd (subprocess): 
sh /usr/lib/python2.7/site-packages/nova/api/ec2/../../CA/genrootca.sh 
from (pid=1560) execute /usr/lib/python2.7/site-packages/nova/utils.py:165

I didn't find any solution with segfault at 4 ip 0025a950 sp bfef9108 
error 4 in libc-2.14.90.so[115000+1a7000]

Thank you
------------
Kind regards,
Sergey









More information about the Openstack-operators mailing list