Skip to content

Sample Copystack Report

Egle Sigler edited this page Oct 13, 2017 · 1 revision

Once you have copystack setup, you can test it by running report, python copystack.py -r. Report will print out asset info for both "from" and "to" environments so that they are easier to compare. Note that the report runs things in a linear fashion, so if you have a lot of assets, it might take a while to get the full report.

python copystack.py -r
From: https://198.61.196.137  Username: admin  Tenant: admin
To:   https://198.61.196.185  Username: admin  Tenant: admin
--------------- From Projects: ---------------------
Project ID:                         Name:                  Description:
a43a2b604e954a92a2d0f2b53f67f7f4   admin                  Bootstrap project for initializing the cloud.  
5a070289126b4432973abfa5767a37cc   alt_demo               alt_demo Tenant  
e400878a3c764a0088f0067668362e61   demo                   demo Tenant  
7196a4d2f40845aca0a7330b32dcde38   service                Keystone Identity Service  

--------------- To Projects: ------------------------
Project ID:                         Name:                  Description:
64b8e79b2efa4f9cbdd52eea12f97559   admin                  Bootstrap project for initializing the cloud.  
7fd584e290654b6faabd301f3449f4ee   alt_demo               alt_demo Tenant  
bf8594900f164c1d86016a5b78c710a0   demo                   demo Tenant  
e1137602a29a40a8b881d95c20e0b692   service                Keystone Identity Service  

--------------- From Users: ---------------------
Name:                     Domain:
admin                     default
alt_demo                  default
cinder                    default
demo                      default
dispersion                default
glance                    default
heat                      default
keystone                  default
neutron                   default
nova                      default
stack_domain_admin        1ff9fd545922463f80a7d7107f808996
swift                     default

--------------- To Users: ---------------------
Name:                     Domain:
admin                     default
alt_demo                  default
cinder                    default
demo                      default
dispersion                default
glance                    default
heat                      default
keystone                  default
neutron                   default
nova                      default
stack_domain_admin        e3d64651dc3442868f8a218f3d0762c4
swift                     default

--------------- From Networks (with subnets): ---------------------
private
     private-subnet         192.168.74.0/28
public
     public-subnet          172.29.248.0/22

--------------- To Networks (with subnets): ------------------------
private
     private-subnet         192.168.74.0/28
public
     public-subnet          172.29.248.0/22

--------------- From Routers: ---------------------
Name:                  Status:      Tenant ID
router                 ACTIVE       e400878a3c764a0088f0067668362e61

--------------- To Routers: ---------------------
Name:                  Status:      Tenant ID
router                 ACTIVE       bf8594900f164c1d86016a5b78c710a0

--------------- From Security Groups: ------------------------
Name:                  Description:
default                Default security group

--------------- To Security Groups: ------------------------
Name:                  Description:
default                Default security group

--------------- From Images: ------------------------
Image UUID / Image Status / Image Name
51ef8378-1b8e-4bdb-bc48-bd8a705cf7a1   active   cirros
635e0cc5-dabb-4e1f-b1f5-518794dcdf57   active   cirros_alt

--------------- To Images: ------------------------
Image UUID / Image Status / Image Name
efe3ab06-dee2-4c5c-9730-6c994ad84fd7   active   cirros
125b5d01-4155-4623-9517-dfc9eaecacfd   active   cirros_alt

--------------- From Flavors: ------------------------
201   tempest1
202   tempest2

--------------- To Flavors: ------------------------
201   tempest1
202   tempest2

--------------- From VMs: ------------------------
VMs sorted by status (id status flavor_id name):
e528cfc6-9df9-4101-9b88-4bd875734f04   ACTIVE   201 foo

--------------- To VMs: ------------------------
VMs sorted by status (id status flavor_id name):

--------------- From Volumes: ------------------------
Volumes sorted by status (id name status size):
145a6b48-2f3d-4d66-af70-d80125f0683e foo available 1
cc6ff51b-faaf-443f-8835-a985611db39a bar available 1

--------------- To Volumes: ------------------------
Volumes sorted by status (id name status size):
Clone this wiki locally