Ghanshyam Mann d741cdc7ca Multiple CI fixes
These need to be squashed into a single commit in order to make the CI
pass. The skyline-functional-devstack is still made non-voting since
the fixes in [0] are also needed in order to make it work again after
the switch to Ubuntu 24.04.

Fix some pep8 and typing errors.

Bump aiosqlite version as per upper constraints:

aiosqlite is u-c with 0.20.0
- 8a8abf5abf/upper-constraints.txt (L156)

We need to bump it in requirements.txt also otherwise below requirements
conflict occur:

The conflict is caused by:
    skyline-apiserver 5.1.0.dev2 depends on aiosqlite<=0.17.0
    The user requested (constraint) aiosqlite===0.20.0

[0] https://review.opendev.org/c/openstack/skyline-console/+/939685

Change-Id: I2dababab7c79e7c37983c1702178419c88e014a5
2025-01-24 15:42:42 +01:00
..
2025-01-24 15:42:42 +01:00
2022-03-10 19:10:57 +08:00

Enabling Skyline in Devstack

Note

Ubuntu 20.04 (Focal Fossa) is the most tested, and will probably go the smoothest.

  1. Download DevStack:

    git clone https://github.com/openstack-dev/devstack.git
    cd devstack
  2. Add this repo as an external repository in local.conf file:

    > cat local.conf
    [[local|localrc]]
    enable_plugin skyline-apiserver https://opendev.org/openstack/skyline-apiserver
    
    To use stable branches, make sure devstack is on that branch, and specify
    the branch name to enable_plugin, for example::
    
    enable_plugin skyline-apiserver https://opendev.org/openstack/skyline-apiserver master
  3. Run stack.sh

  4. Visit the skyline UI with 9999 port