fuel-agent can't mkfs during baremetal provisioning

Bug #1673578 reported by Erol Guzoglu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Fuel Sustaining
Nominated for Ocata by Oleksiy Molchanov
Mitaka
Confirmed
High
Fuel Sustaining
Newton
Confirmed
High
Fuel Sustaining

Bug Description

Detailed bug description:

When I create baremetal instance, getting error during provision.
Ramdisk image succesfully booting and then /usr/bin/provision proccess starting
When fuel_agent.manager.Manager#do_copyimage works, I am getting error like that:

Unexpected error while running command.
Command: mount -t ext4 /dev/sda3 /tmp/tmpPTn6BP

When I check the partition table, parted shows me sda3 has no filesystem.

Number Start End Size File system Name Flags
 1 262kB 26.2MB 26.0MB primary bios_grub
 2 27.3MB 237MB 210MB primary
 3 238MB 33.9GB 33.6GB primary
 4 33.9GB 146GB 112GB ext4 primary

Full fuel-agent.log attached.

Also fuel_disk_info of instance image added additional information section.

Steps to reproduce:
1. Hit instance create button

Expected results:

Baremetal instance provisioned

Actual result:

Getting error:

Output:
http://paste.openstack.org/show/603012/

Reproducibility:
 Every time i created instance

Workaround:
 Nope

Impact:

 Can not create baremetal instance

Description of the environment:
 Operation system: Ubuntu 14.04
 Versions of components:
   Openstack Mitaka
   Fuel 9.2
   ironic --version 1.3.0
   ironic-conductor --version 5.1.2

 Reference architecture:
 Network model:
 Related projects installed: Ironic
 Additional information:

fuel_disk_info =
[{
 "name": "sda",
 "extra": [],
 "volumes": [{
  "size": 32091,
  "type": "partition",
  "mount": "/",
  "file_system": "ext4",
  "keep_data": false
 }, {
  "size": 107260,
  "type": "partition",
  "mount": "/userdata",
  "file_system": "ext4",
  "keep_data": false
 }],
 "id": "disk/by-path/pci-0000:03:00.0-scsi-0:1:0:0",
 "type": "disk",
 "size": 139351,
 "free_space": 139351
}]

Revision history for this message
Erol Guzoglu (erolguzoglu) wrote :
Revision history for this message
Erol Guzoglu (erolguzoglu) wrote :

added /tmp/provision.json

description: updated
description: updated
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 11.0
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.