Determining the fix level of deployed nodes

During the IBM® Cloud Manager with OpenStack topology update process, you might want to know the current fix level of your deployed nodes.

About this task

The IBM Cloud Manager with OpenStack fix level of the nodes in a topology is available as the ibm-openstack.cmwo_version node attribute. This attribute is stored in the IBM Cloud Manager with OpenStack Chef server and in a file that is located on each node. The version is updated after successfully running the knife os manage deploy node / topology or knife os manage update node / topology commands.

To query the IBM Cloud Manager with OpenStack Chef server for the ibm-openstack.cmwo_version node attribute, use the knife search command. If a deployed node is restored from a backup, the information in the Chef server will be incorrect if the last deployment or update was completed after the backup.

You must use one of the following commands to show the attribute value for a single node, all nodes, and all nodes that use the same environment.

Example

Single node
  [root@cmwo ~]# knife search node1.mycompany.com -a ibm-openstack.cmwo_version
  1 items found
  
  node1.mycompany.com:
    ibm-openstack.cmwo_version: 4.3.0.3
All nodes
  [root@cmwo ~]# knife search "*" -a ibm-openstack.cmwo_version
  2 items found
  
  node1.mycompany.com:
    ibm-openstack.cmwo_version: 4.3.0.3
  
  node2.mycompany.com:
    ibm-openstack.cmwo_version: 4.3.0.3
All nodes using the regionOne environment:
  [root@cmwo ~]# knife search chef_environment:regionOne -a ibm-openstack.cmwo_version
  2 items found
  
  node1.mycompany.com:
    ibm-openstack.cmwo_version: 4.3.0.3
  
  node2.mycompany.com:
    ibm-openstack.cmwo_version: 4.3.0.3
The IBM Cloud Manager with OpenStack version that is used by the most recent knife os manage deploy or update command is stored in the file /etc/cmwo-version:
    version=4.3.0.3
A cumulative log of the updates including the date, result, and IBM Cloud Manager with OpenStack version is maintained in the file /etc/cmwo-version.log:
  2015-08-22 15:28:47 -0500 : Update failed : cmwo_version=4.3.0.3
  2015-08-22 15:45:26 -0500 : Update succeeded : cmwo_version=4.3.0.3