Menu

#4635 Ubuntu genimage failure leaves bind mounts

2.10
closed
None
ubuntu
5
2015-07-06
2015-04-09
Matt Ezell
No

There are several reasons that genimage might fail - like specifying an incorrect package name or problems with package repositories. There are a couple places in genimage where errors just cause it to exit without cleaning up the bind mounts inside the rootimgdir.

Naturally, if a fresh genimage failed, you would want to blow away the rootimgdir and start from scratch. This is extremely problematic when the bind mounts are still there, because you end up blowing away your otherpkgdir contents.

Discussion

  • Matt Ezell

    Matt Ezell - 2015-04-09

    This patch should work. I'll work on testing it later this afternoon.

     
  • Guang Cheng Li

    Guang Cheng Li - 2015-04-10
    • assigned_to: Guang Cheng Li --> zhao er tao
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-04-10

    Er Tao, could you work on this bug? Thanks.

     
  • Matt Ezell

    Matt Ezell - 2015-05-12

    Could this code be reviewed for inclusion?

     
  • zhao er tao

    zhao er tao - 2015-05-13

    Hi, Matt, sorry for the delayed response. I have reviewed and verified this patch, it works well. Then, I have checked it into xCAT master branch. Thanks very much!

     
  • zhao er tao

    zhao er tao - 2015-05-13
    • status: open --> pending
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-07-06

    Cleaning up 2.10 bugs

     
  • Guang Cheng Li

    Guang Cheng Li - 2015-07-06
    • status: pending --> closed