| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
|
|
|
|
|
|
|
|
| |
* removed Node dummymodel
* added baremetalclient and overcloudclient in tuskar.py
(these may be moved later)
* added stubs to tests which still tried to access tuskar API
* minor code fixes
|
|\
| |
| | |
fixed pep8 failures
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
This patch fixes the tests. There's one failure
left; fixing it requires stubbing out the baremetal
client, which I'm holding off on doing for now.
Change-Id: I30e5ffd187a3309906909e7f0a75583d957c42fc
|
|
|
|
|
|
| |
Note: Add the OVERLCOUD_AUTH_URL, OVERLCOUD_USERNAME, OVERLCOUD_PASSWORD constants to your local_settings.py
Change-Id: Ib24620a7549e7c08ff3c8cf46c915565781f1925
|
|
|
|
|
|
| |
- adding working unoptimal node.rack association
Change-Id: Ifa7266476d407220a3b1507a9896e8d19c59bcf0
|
|
|
|
|
|
| |
- connecting nova baremaetal instances, to nova instances
Change-Id: If8a8ae1c98325faec2a0e1ad2a9ccb3bc8fa9cc5
|
|
|
|
| |
Change-Id: I5a38474ac6cd8e8198b8f9c7ce6f32079d1ff29b
|
|
|
|
| |
Change-Id: I3d61a760aaa823d1c901e8b15f94c384003b7807
|
|
|
|
|
|
|
| |
I deleted a single blank line. My goodness,
what a developer I am.
Change-Id: Ia1fae551ec447485055af7459fdc826ee10412b3
|
|
|
|
|
|
|
|
| |
* allow forms to appear with js turned off
* fix mock running_vms data
* re-re-name 'ram' to 'memory'
Change-Id: If8880a85ba2bc6d7f1fe6a003752f95d3b0ad3cb
|
|
|
|
|
|
|
|
|
|
|
|
| |
- added polling of status when rack detai lis in provisioning
state
- added gif loader
- after it changes state from provisioning, the page will be
reloaded
- it can be fully tested after provisioning will be working
Change-Id: Icbf89dca7ab57c259b237c4884efa8fb565eaa71
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- added buttons for provision and unprovision
- ssh tunnel to 04 server is tuskar is remote
- eg:
ssh -NfL 16385:127.0.0.1:6385 demo@example.com
if you use non-standards port like me (16385) you can change this
in openstack_dashboard/local/local_settings.py
Change-Id: I82a421bc2a6fcc37110735f1621706f8d0898237
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This remains a work in progress.
jprovazn update:
this is and updated version of matt's patch (I had to squash them
because gerrit would send both patches separately).
With this update, nodes creation should work, uou have to do some setup
to be able to talk to nova baremetal:
1) ssh tunnels (local ports must not override local openstack ports):
ssh -NfL 5001:192.0.2.2:5000 demo@example.com
ssh -NfL 9774:192.0.2.2:8774 demo@example.com
2) set NOVA_BAREMETAL_CREDS in openstack_dashboard/local/local_settings.py:
these are creds for the nova baremetal openstack.
bypass_url has admin's tenant id at the end, you can check/get tenant id by running
"keystone --debug --os-username=admin --os-password=unset --os-tenant-name=admin --os-auth-url=http://192.0.2.2:5000/v2.0/ endpoint-list"
on a test/demo server
Change-Id: I0d5c4860fd5fca2926c8161d0c65d7b1e001ebb9
|
|
|
|
| |
Change-Id: If138e9e7896c358de7b788f6f3cdeff2346c7414
|
|
|
|
| |
Change-Id: I62b4fbe454c37d6b28192fbe25215af134677516
|
|
|
|
|
|
|
| |
added capacities aggregated from resource_class's hosts
removed unused api methods on resource_class
Change-Id: I107450d1e345f4d07849213ef0a0c1a7c07e8f97
|
|
|
|
|
|
|
| |
- adding top right actions to resource class
- tests will be written as follow up patch
Change-Id: Iba3155c1f275ee9ee9416aba9baa46c69b69c28e
|
|
|
|
| |
Change-Id: Ia7c3b8b4c18c5f60cd20762aeb41a67fe4f96f40
|
|
|
|
|
|
|
|
|
|
|
| |
Alerts data are now mocked in local db. There are precreated 3 alerts
for rack and node - it expects that there will exist rack with id 1 and
nodes with ids 1 and 2. This is for demo purpose.
Currently nodes alerts are not displayed because nodes-related API logic
is not there yet (we return empty array of nodes for each rack).
Change-Id: Ic8a16db2f13909dceb700f2c99269960253da88b
|
|
|
|
|
|
|
|
|
|
| |
- adding general bar chart
- configuration for width, height, horizontal/vertical,
multiple values
- configuration for popup message
- configuration for color scales
Change-Id: I89f0bfe24155be4ba9e2f9fa0e1406ce1e0bc3cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* you'll want to drop and recreate the horizon database
* the tuskar api expects a few specific capacity names:
cpu, memory, and storage. I've renamed these
capacities, but left their UI labels alone
* flavors are now processed in resource_classes/workflows.py
instead of the api client; the workflow sends in a flavors
dict to the api
* resource_classes.create passes in flavors when creating
a resource class, allowing all to be created with a single
api call
* resource_class.update doesn't allow flavors to be updated
so easily, so we delete/re-create
Change-Id: I756f418a22564d9ee64929798ba173087ba65368
|
|
|
|
| |
Change-Id: Ie70c098a4e81e1a122e77863260669ca180f6869
|
|
|
|
| |
Change-Id: I815530116853ae6968263077ad7cd4629b7ff7dd
|
|
|
|
| |
Change-Id: Ib1fad9acb91c465b1e063636c9d720bdccf5b965
|
|
|
|
| |
Change-Id: I681c71ceece68e42dbdd1cdf10a0723d65b5b2ee
|
|
|
|
|
|
|
|
|
| |
* updated Flavor to support max_vms through API
* updated tests
* fixed count of flavors on resource class detail
* fixed Flavor capacity retrieval
Change-Id: I08cfad9d8af5b24730d17cdf0a5e5809b45d7f58
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is first cut of flavors integration. With this patch
it should be possible to list flavor template and add/remove
flavors on resource classes. There are still some TODOs:
- some tests are failing
- Flavor model class is renamed to FlavorTemplate class: this
is only backend change, django files are not renamed
- capacities usage are not fixed
- ResourceClassFlavor class is still referenced on some places
- flavor max_vms is not implemented yet (though it was added into
tuskar right now)
Change-Id: I5b344c2ed564d91aa6bca3965119c4c02e029131
|
|
|
|
|
|
| |
This patch brings the action buttons to the Rack detail page. Actions update the status of rack accordingly.
Change-Id: I5028eb0ae09f087fed5128f71fdd14353d768b1b
|
|
|
|
|
|
|
|
|
|
| |
fixed various rack and resource class methods.
3 tests are failing:
2 flavors/nodes related tests (out of scope of this patch)
1 rack test - 'list_racks' method is unknown for test
data - will look at this later
Change-Id: Ia9bf3b3311ce04906e6f70a6f49a61a50db1fe45
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch integrates python-tuskarclient. To install, run:
pip install -r tools/pip-requires
The patch also updates the ResourceClass and Rack CRUD operations
to use tuskarclient. 'flavors' and 'racks' methods are renamed
to 'list_flavors' and 'list_racks' to prevent collision, as
'racks' is now an attribute of a resource class. This is
also consistent with Horizon nomenclature.
Associations are *not* updated; so a resource class cannot
associate itself with racks or flavors. The body of those
methods are simply commented out to allow the UI to 'work'
with no errors.
API tests associated with the above associations fail;
all other tests should pass.
Change-Id: I53dcbb79ad02e32b9bf9d4ed9c61a8dd13e3d0e0
|
|
Renamed management to tuskar for API related
code
Change-Id: I52f1a654ae58fd235378caa61e0ef5e81c16d2db
|