← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1270088] [NEW] disk/api.py: resize2fs needs tests + better log

 

Public bug reported:

In disk/api.py the method resize2fs does not have a test.

Also, the method firstly use e2fsck to check if the filesystem is
correct. if the program failed no information was logged and the actual
algorithm try to do the resize anyway. Same with e2fsck, if resize2fs
failed not information are logged.

We need to add tests for this function and log every error returned.

** Affects: nova
     Importance: Undecided
     Assignee: sahid (sahid-ferdjaoui)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => sahid (sahid-ferdjaoui)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1270088

Title:
  disk/api.py: resize2fs needs tests + better log

Status in OpenStack Compute (Nova):
  New

Bug description:
  In disk/api.py the method resize2fs does not have a test.

  Also, the method firstly use e2fsck to check if the filesystem is
  correct. if the program failed no information was logged and the
  actual algorithm try to do the resize anyway. Same with e2fsck, if
  resize2fs failed not information are logged.

  We need to add tests for this function and log every error returned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1270088/+subscriptions


Follow ups

References