Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1186290

Summary: Nova ceph backend -Unable to boot vm with personality flag
Product: Red Hat OpenStack Reporter: bkopilov <bkopilov>
Component: openstack-cinderAssignee: Jon Bernard <jobernar>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: eharney, jobernar, jschluet, nlevinki, sasha, scohen, sgotliv, yeylon
Target Milestone: beta   
Target Release: 8.0 (Liberty)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-cinder-7.0.0-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 21:00:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log debugs none

Description bkopilov 2015-01-27 11:12:06 UTC
Description of problem:
rhos6 running on rhel7.0  all in one .
nova uses ceph as backend.
cinder and glance with ceph backend too .

@classmethod
    def resource_setup(cls):
        cls.prepare_instance_network()
        super(ServersTestJSON, cls).resource_setup()
        cls.meta = {'hello': 'world'}
        cls.accessIPv4 = '1.1.1.1'
        cls.accessIPv6 = '0000:0000:0000:0000:0000:babe:220.12.22.2'
        cls.name = data_utils.rand_name('server')
        file_contents = 'This is a test file.'
        personality = [{'path': '/test.txt',
                       'contents': base64.b64encode(file_contents)}]
        cls.client = cls.servers_client
        cls.network_client = cls.os.network_client
        cli_resp = cls.create_test_server(name=cls.name,
                                          meta=cls.meta,
                                          accessIPv4=cls.accessIPv4,
                                          accessIPv6=cls.accessIPv6,
                                          personality=personality,
                                          disk_config=cls.disk_config)

Looks like instance can not boot when tempest sends a request with personaliy parameters.

Attaching nova logs to the ticket.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 bkopilov 2015-01-27 11:13:48 UTC
Created attachment 984600 [details]
/var/log debugs

Comment 4 Jon Schlueter 2015-11-24 14:27:06 UTC
added lauchpad bug that marked the first bug as duplicated and that bug was marked as fix released in liberty 12.0.0 of nova

Also moving bug to post for upstream patch that has been pushed and rhel 7.2 is live

Comment 5 bkopilov 2015-12-01 07:32:25 UTC
These tests pass on tempest : 
rhel 7.2 , rhos 7 

01:11:41 <<|    test_get_server_password[id-f83b582f-62a8-4f22-85b0-0dee50ff783a] OK  0.13
01:11:47 <<|2015-11-21 18:11:47.718 1982 WARNING tempest.common.fixed_network [-] (ServerPersonalityTestJSON:test_can_create_server_with_max_number_personality_files) Network with name: private not found
01:11:49 <<|tempest.api.compute.servers.test_server_personality.ServerPersonalityTestJSON
01:11:49 <<|    test_can_create_server_with_max_number_personality_files[id-52f12ee8-5180-40cc-b417-31572ea3d555]OK  2.27
01:11:49 <<|2015-11-21 18:11:49.824 1982 WARNING tempest.common.fixed_network [-] (ServerPersonalityTestJSON:test_create_server_with_personality) Network with name: private not found
01:11:52 <<|    test_create_server_with_personality[id-3cfe87fd-115b-4a02-b942-7dc36a337fdf]OK  3.46
01:11:53 <<|2015-11-21 18:11:53.632 1982 WARNING tempest.common.fixed_network [-] (ServerPersonalityTestJSON:test_personality_files_exceed_limit) Network with name: private not found
01:11:53 <<|    test_personality_files_exceed_limit[id-176cd8c9-b9e8-48ee-a480-180beab292bf]OK  1.37
01:11:54 <<|2015-11-21 18:11:54.782 1982 WARNING tempest.common.fixed_network [-] (ServerPersonalityTestJSON:test_rebuild_server_with_personality) Network with name: private not found
01:12:07 <<|    test_rebuild_server_with_personality[id-128966d8-71fc-443c-8cab-08e24114ecc9]OK  13.08
01:13:08 <<|tempest.api.compute.servers.test_server_rescue.ServerRescueTestJSON

Comment 6 Jon Schlueter 2015-12-01 14:13:46 UTC
(In reply to bkopilov from comment #5)
> These tests pass on tempest : 
> rhel 7.2 , rhos 7 

This bug was for OSP 8

should we re-target this bug for OSP 7? or move back to post for OSP 8?

Comment 9 errata-xmlrpc 2016-04-07 21:00:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html