← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1298157] Re: Miss validation of backup_type

 

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1298157

Title:
  Miss validation of backup_type

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  When backup instance, Nova will don't validate the backup_type.

  host:~ # nova help backup
  usage: nova backup <server> <name> <backup-type> <rotation>

  Backup a server by creating a 'backup' type snapshot.

  Positional arguments:
    <server>       Name or ID of server.
    <name>         Name of the backup image.
    <backup-type>  The backup type, like "daily" or "weekly".
    <rotation>     Int parameter representing how many backups to keep around.

  if I use: nova backup 01566836-0f01-454c-8045-4bd7bffd6763
  backup_server abc 2

  nova will don't validate the backup_type "abc"

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


References