|
1 | 1 | Components |
2 | 2 | ========== |
| 3 | + |
| 4 | +What is a Component? |
| 5 | +-------------------- |
| 6 | + |
| 7 | +A component is the most fundamental configuration element in **FABuloso**, where each component has a set of gathered services, this services have methods that define a specific configuration of an **Openstack or Stackops Service**, previously a set of properties that defines to itself. |
| 8 | + |
| 9 | +`FABuloso <http://fabuloso.stackops.org/index.html>`_ is a python tool to easily organize and deploy an OpenStack architecture using Fabric. FABuloso manages configuration with components within **catalogs**. |
| 10 | + |
| 11 | +.. figure:: /images/openstackComponents.png |
| 12 | + :width: 800pt |
| 13 | + :align: center |
| 14 | + :alt: Some Openstack Components |
| 15 | + |
| 16 | + **Some Openstack Components** |
| 17 | + |
| 18 | + |
| 19 | +What is Catalog Components? |
| 20 | +------------------------------ |
| 21 | + |
| 22 | +The Catalog components are a set of components by itself, used to deploy an Openstack Architecture, this catalog are hosted in github as an open project `here <https://github.com/StackOps/fabuloso-catalog>`_ |
| 23 | + |
| 24 | +Mananing Components |
| 25 | +------------------- |
| 26 | + |
| 27 | +.. code-block:: bash |
| 28 | +
|
| 29 | + component-list List all the components that are available on |
| 30 | + automation. |
| 31 | + component-show Show details about a component |
| 32 | + component-services List all the services by a component |
| 33 | +
|
| 34 | +List components |
| 35 | +^^^^^^^^^^^^^^^ |
| 36 | + |
| 37 | +.. code-block:: bash |
| 38 | +
|
| 39 | + $ component-list |
| 40 | + +-----------------+ |
| 41 | + | name | |
| 42 | + +-----------------+ |
| 43 | + | accounting | |
| 44 | + | apache | |
| 45 | + | automation | |
| 46 | + | cinder | |
| 47 | + | compute | |
| 48 | + | fake | |
| 49 | + | glance | |
| 50 | + | keystone | |
| 51 | + | mysql | |
| 52 | + | nova | |
| 53 | + | os | |
| 54 | + | portal | |
| 55 | + | quantum | |
| 56 | + | quantum_plugins | |
| 57 | + | rabbitmq | |
| 58 | + | storage | |
| 59 | + | swift | |
| 60 | + +-----------------+ |
| 61 | +
|
| 62 | +
|
| 63 | +Show a specific component |
| 64 | +^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 65 | + |
| 66 | +To show details about a component this one must be reference by its name |
| 67 | + |
| 68 | +.. code-block:: bash |
| 69 | +
|
| 70 | + $ component-show mysql |
| 71 | + +------------+--------------------------------------------+ |
| 72 | + | Property | Value | |
| 73 | + +------------+--------------------------------------------+ |
| 74 | + | name | mysql | |
| 75 | + | properties | { | |
| 76 | + | | "install": { | |
| 77 | + | | "automation_password": "stackops", | |
| 78 | + | | "automation_user": "automation", | |
| 79 | + | | "cinder_password": "stackops", | |
| 80 | + | | "cinder_user": "cinder", | |
| 81 | + | | "glance_password": "stackops", | |
| 82 | + | | "glance_user": "glance", | |
| 83 | + | | "keystone_password": "stackops", | |
| 84 | + | | "keystone_user": "keystone", | |
| 85 | + | | "nova_password": "stackops", | |
| 86 | + | | "nova_user": "nova", | |
| 87 | + | | "quantum_password": "stackops", | |
| 88 | + | | "quantum_user": "quantum", | |
| 89 | + | | "root_pass": "stackops" | |
| 90 | + | | }, | |
| 91 | + | | "set_accounting": { | |
| 92 | + | | "accounting_password": "stackops", | |
| 93 | + | | "accounting_user": "activity", | |
| 94 | + | | "root_pass": "stackops" | |
| 95 | + | | }, | |
| 96 | + | | "set_automation": { | |
| 97 | + | | "automation_password": "stackops", | |
| 98 | + | | "automation_user": "automation", | |
| 99 | + | | "root_pass": "stackops" | |
| 100 | + | | }, | |
| 101 | + | | "set_cinder": { | |
| 102 | + | | "cinder_password": "stackops", | |
| 103 | + | | "cinder_user": "cinder", | |
| 104 | + | | "root_pass": "stackops" | |
| 105 | + | | }, | |
| 106 | + | | "set_glance": { | |
| 107 | + | | "glance_password": "stackops", | |
| 108 | + | | "glance_user": "glance", | |
| 109 | + | | "root_pass": "stackops" | |
| 110 | + | | }, | |
| 111 | + | | "set_keystone": { | |
| 112 | + | | "keystone_password": "stackops", | |
| 113 | + | | "keystone_user": "keystone", | |
| 114 | + | | "root_pass": "stackops" | |
| 115 | + | | }, | |
| 116 | + | | "set_nova": { | |
| 117 | + | | "nova_password": "stackops", | |
| 118 | + | | "nova_user": "nova", | |
| 119 | + | | "root_pass": "stackops" | |
| 120 | + | | }, | |
| 121 | + | | "set_portal": { | |
| 122 | + | | "portal_password": "stackops", | |
| 123 | + | | "portal_user": "portal", | |
| 124 | + | | "root_pass": "stackops" | |
| 125 | + | | }, | |
| 126 | + | | "set_quantum": { | |
| 127 | + | | "quantum_password": "stackops", | |
| 128 | + | | "quantum_user": "quantum", | |
| 129 | + | | "root_pass": "stackops" | |
| 130 | + | | }, | |
| 131 | + | | "teardown": {}, | |
| 132 | + | | "validate": { | |
| 133 | + | | "database_type": "", | |
| 134 | + | | "drop_schema": null, | |
| 135 | + | | "host": "", | |
| 136 | + | | "install_database": null, | |
| 137 | + | | "password": "", | |
| 138 | + | | "port": "", | |
| 139 | + | | "schema": "", | |
| 140 | + | | "username": "" | |
| 141 | + | | } | |
| 142 | + | | } | |
| 143 | + +------------+--------------------------------------------+ |
| 144 | +
|
| 145 | +List services by a specifi component |
| 146 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 147 | +
|
| 148 | +To list the set of services about a component this one must be reference by its name |
| 149 | +
|
| 150 | +.. code-block:: bash |
| 151 | +
|
| 152 | + $ component-services mysql |
| 153 | + +----------------+-------------------------------------------------------------------+ |
| 154 | + | Name | description | |
| 155 | + +----------------+-------------------------------------------------------------------+ |
| 156 | + | install | Prepares a database and a user password for each StackOps schemas | |
| 157 | + | set_accounting | Creates a new database for accounting and grants privileges on it | |
| 158 | + | set_automation | Creates a new database for automation and grants privileges on it | |
| 159 | + | set_cinder | Creates a new database for cinder and grants privileges on it | |
| 160 | + | set_glance | Creates a new database for glance and grants privileges on it | |
| 161 | + | set_keystone | Creates a new database for keystone and grants privileges on it | |
| 162 | + | set_nova | Creates a new database for nova and grants privileges on it | |
| 163 | + | set_portal | Creates a new database for portal and grants privileges on it | |
| 164 | + | set_quantum | Creates a new database for quantum and grants privileges on it | |
| 165 | + | teardown | Stop the mysql service | |
| 166 | + | validate | Validates main database to operate with it | |
| 167 | + +----------------+-------------------------------------------------------------------+ |
0 commit comments