UPWORK/ODESK guru: Tips and Tricks for clients

skype: upwork.link , email: [email protected]

Archive for May, 2017

BUGS of OPENSTACK: broken dependency of version of openstack-novaclient in tarballs of horizon-9.1.2

without comments

WRONG!!!

1
2
3
(.venv) [homitaka@tayn1 horizon]$ egrep novaclient requirements.txt
python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0
(.venv) [homitaka@tayn1 horizon]$

Read the rest of this entry »

Written by spectre

May 15th, 2017 at 9:29 pm

Posted in Tips and Tricks

pip – to show all versions of package

without comments

(.venv) [[email protected] ~]$ pip install python-novaclient==
Collecting python-novaclient==
  Could not find a version that satisfies the requirement python-novaclient== (from versions: 2.6.0, 2.6.0.1, 2.6.10, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.11.0, 2.11.1, 2.12.0, 2.13.0, 2.14.0, 2.14.1, 2.15.0, 2.16.0, 2.17.0, 2.18.0, 2.18.1, 2.19.0, 2.20.0, 2.21.0, 2.22.0, 2.23.0, 2.23.1, 2.23.2, 2.23.3, 2.24.0, 2.24.1, 2.25.0, 2.26.0, 2.27.0, 2.28.0, 2.28.1, 2.29.0, 2.30.0, 2.30.1, 2.30.2, 2.30.3, 2.31.0, 2.32.0, 2.33.0, 2.34.0, 2.35.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.4.0, 4.0.0, 4.1.0, 5.0.0, 5.1.0, 6.0.0, 6.0.1, 7.0.0, 7.1.0, 7.1.1, 8.0.0)
No matching distribution found for python-novaclient==
(.venv) [[email protected] ~]$

Written by spectre

May 15th, 2017 at 9:25 pm

Deploy Horizon (any releases) from tarballs with Apache for isolated user in virtual environment.

without comments

If your company use OpenStack clouds without ‘Horizon Dashboard’ interface, you may wish to deploy your own horizon instance. Or you can use this method for permanent deploy any version of Horizont in your clouds.

However, your concern is that http might be insecure… especially if hosted on a VM or machine accessible from the Internet. So you want an SSL connection. It is will be in next parts of articles

ref: https://docs.openstack.org/developer/horizon/topics/install.html

Read the rest of this entry »

Written by spectre

May 15th, 2017 at 1:01 am

Posted in Tips and Tricks

5 – five-minute introduction to the module logging Python

without comments

The use of pirnt is suitable for those programmers who have enough time. But it’s better to use logging. In addition, learn to use the Python debugger for debugging errors and Pylint to prevent errors and to make the code more readable.
In order to display the log messages on the screen, use the following code:

Read the rest of this entry »

Written by spectre

May 7th, 2017 at 2:35 pm