← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1173000] Re: Glance client will try to create new image even no parameters given

 

Per the clarification from these core reviewers, I'm going to mark this
bug as invalid.

(11:18:23 PM) flaper87: hey guys :D
(11:24:13 PM) iccha: hey flaper87 how did ur talk go
(11:24:14 PM) ameade: flwang: hmm i'm not sure
(11:24:27 PM) ameade: flwang: there isn't really anything that is required to register an image
(11:24:56 PM) iccha: flwang: which version of glance code did u use
(11:25:19 PM) ameade: flwang: I'd say that is expected behavior actually
(11:26:03 PM) iccha: yeah ameade is right
(11:26:59 PM) ameade: flwang: just to be clear, I think that bug is invalid

** Changed in: glance
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1173000

Title:
  Glance client will try to create new image even no parameters given

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  Now Glance client will try to create new image even there is no any
  parameter given. I think the exptected result should be similiar like
  "nova boot", if there is no any parameter given, Glance client should
  print the usage.

  flwang@flwang-ThinkPad-X230:~$ glance image-create
  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | None                                 |
  | container_format | None                                 |
  | created_at       | 2013-04-26T03:08:56                  |
  | deleted          | False                                |
  | deleted_at       | None                                 |
  | disk_format      | None                                 |
  | id               | 49b4f065-07e6-4c38-8b90-d1a4ad9052b2 |
  | is_public        | False                                |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | None                                 |
  | owner            | d0589bba6c1649fe956c873496cd8c2f     |
  | protected        | False                                |
  | size             | 0                                    |
  | status           | queued                               |
  | updated_at       | 2013-04-26T03:08:56                  |
  +------------------+--------------------------------------+

  
  flwang@flwang-ThinkPad-X230:~$ nova boot
  usage: nova boot [--flavor <flavor>] [--image <image>]
                   [--image-with <key=value>] [--num-instances <number>]
                   [--meta <key=value>] [--file <dst-path=src-path>]
                   [--key-name <key-name>] [--user-data <user-data>]
                   [--availability-zone <availability-zone>]
                   [--security-groups <security-groups>]
                   [--block-device-mapping <dev-name=mapping>]
                   [--hint <key=value>]
                   [--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,port-id=port-uuid>]
                   [--config-drive <value>] [--poll]
                   <name>
  error: too few arguments
  Try 'nova help boot' for more information.

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