I've marked this as invalid simply because it's working as designed and
not a bug.

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

** Summary changed:

- nova backup allows any string of bakeup_type
+ nova backup allows any string of backup_type

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

Title:
  nova backup allows any string of backup_type

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  taget@taget-ThinkStation-P300:~/devstack$ 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.

  But we can create a backup by

  nova backup cent_from_snap cent_from_sna_bak weeklydd 2

  follow schema need to be improved.

  create_backup = {
      'type': 'object',
      'properties': {
          'createBackup': {
              'type': 'object',
              'properties': {
                  'name': parameter_types.name,
                  'backup_type': {
                      'type': 'string',
                  },
                  'rotation': parameter_types.non_negative_integer,
                  'metadata': {
                      'type': 'object',
                  }
              },
              'required': ['name', 'backup_type', 'rotation'],
              'additionalProperties': False,
          },
      },
      'required': ['createBackup'],
      'additionalProperties': False,
  }

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to