Answers: <p>Just browsing through the available options, it looks like the <code>nova meta</code> actions may be available as <code>openstack server set</code>:</p>
  
  <pre><code>$ openstack help server set
  usage: openstack server set [-h] [--name &lt;new-name&gt;] [--root-password]
                              [--property &lt;key=value&gt;] [--state &lt;state&gt;]
                              &lt;server&gt;
  
  Set server properties
  
  positional arguments:
    &lt;server&gt;              Server (name or ID)
  
  optional arguments:
    -h, --help            show this help message and exit
    --name &lt;new-name&gt;     New server name
    --root-password       Set new root password (interactive only)
    --property &lt;key=value&gt;
                          Property to add/change for this server (repeat option
                          to set multiple properties)
    --state &lt;state&gt;       New server state (valid value: active, error)
  </code></pre>
  
  <p>E.g., if I run:</p>
  
  <pre><code>openstack server set myserver --property foo=bar
  </code></pre>
  
  <p>And then run:</p>
  
  <pre><code>openstack server show myserver
  </code></pre>
  
  <p>I see:</p>
  
  <pre><code>[...]
  | properties                           | foo='bar'                                                |
  [...]
  </code></pre>
  
Answers: CC BY-SA 3.0
Answers: 2017-08-21T06:18:47.603Z
Answers: You're right! it seems that has been changed the concept from "metadata" to "property"
Answers: RuBiCK
Answers: CC BY-SA 3.0
Answers: 2017-08-20T19:14:13.423Z
Answers: 2017-08-20T19:14:13.423Z
Answers: larsks
Body: <p>With Openstack Nova CLI I could set or get instance metadata with <code>nova meta set/get ...</code> but with the  openstack "all-in-one" CLI that option does not exist. </p>
  
  <p>Is it possible to work with instance metadata with the openstack client?</p>
  
  <p>PS: Someone with privileges to create tags could create <code>openstack</code> , <code>openstack-nova</code> and <code>openstack-cli</code> ?</p>
  
Tags: <cloud><openstack>
Title: openstack instance metadata
UserDisplayName: RuBiCK
ThreadText: # openstack instance metadata
  
  (Asked by: username_0 on 2017-08-16)
  
  With Openstack Nova CLI I could set or get instance metadata with `nova meta set/get ...` but with the openstack "all-in-one" CLI that option does not exist.
  
  Is it possible to work with instance metadata with the openstack client?
  
  PS: Someone with privileges to create tags could create `openstack` , `openstack-nova` and `openstack-cli` ?
  
  **Tags:** cloud, openstack
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-08-20. Score: 1 | Accepted answer
  
  Just browsing through the available options, it looks like the `nova meta` actions may be available as `openstack server set`:
  
  ```
  $ openstack help server set
  usage: openstack server set [-h] [--name <new-name>] [--root-password]
                              [--property <key=value>] [--state <state>]
                              <server>
  
  Set server properties
  
  positional arguments:
    <server>              Server (name or ID)
  
  optional arguments:
    -h, --help            show this help message and exit
    --name <new-name>     New server name
    --root-password       Set new root password (interactive only)
    --property <key=value>
                          Property to add/change for this server (repeat option
                          to set multiple properties)
    --state <state>       New server state (valid value: active, error)
  
  ```
  
  E.g., if I run:
  
  ```
  openstack server set myserver --property foo=bar
  
  ```
  
  And then run:
  
  ```
  openstack server show myserver
  
  ```
  
  I see:
  
  ```
  [...]
  | properties                           | foo='bar'                                                |
  [...]
  
  ```
  
  > **Comments:**
  > **username_0**: You're right! it seems that has been changed the concept from "metadata" to "property"  
  
  ---
  
  