UPWORK/ODESK guru: Tips and Tricks for clients

skype: odesk.by / upwork.link , email: info@odesk.by/upwork.link

Own installation Ganeti Web Manager + own Python environment + localization (by desire).

without comments

Актуально для текущей-последней версии GWM (в репозитории pip), для Python 2.17.13 (собственная оригинальная инсталляция в /opt).
Apache 2.4, Ganeti 2.15.2 on CentOS7.

Read the rest of this entry »

Written by spectre

March 4th, 2017 at 3:33 pm

Posted in Tips and Tricks

Protected: Apache 2.4 and compilation mod_wsgi for alternative python version.

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

March 2nd, 2017 at 3:33 pm

Posted in Tips and Tricks

Additional version of Python 2.7.* from source code, local pip and mod_wsgi on Apache2.4

without comments

Python – bunch of difficult sets of scripts on 80%. It is have own pros and cons. Very often – it is problems of difficult dependencies of application, when in OS we see old version of Python interpretator.
Building own version from source is the most appropriate variant of solving if need to use it only for local application in environment of some user or web servers.
Here is sample of commands of shell for getting copy of installation of Python in special directory – /opt.

Read the rest of this entry »

Written by spectre

March 2nd, 2017 at 11:07 am

Posted in Python snake

OpenStack : Glance 11.0.1 on OpenSuse 13.2 – ‘cannot import name _uuid_generate_random’

without comments

Если вы получили этот питоньячий костыль при попытке запуска glance

ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini.
Got: ImportError('cannot import name _uuid_generate_random',)

Read the rest of this entry »

Written by spectre

February 14th, 2017 at 5:35 pm

Posted in Openstack

OpenStack : по следам костыльного сообщения – No handlers could be found for logger “oslo_config.cfg”

without comments

Отслеживания питоньячего кода привело к удивительном открытию. В процессы установки glance чуда по мануалам мы получили, в частности два питоньячих модуля в основной системе:

Read the rest of this entry »

Written by spectre

February 13th, 2017 at 6:06 pm

Posted in Openstack

OpenStack : Что такое нафиг OSLO, читаем о исходе

without comments

http://docs.openstack.org/project-team-guide/oslo.html

Written by spectre

February 13th, 2017 at 3:48 pm

Posted in Openstack

OpenStack : Glance питоньячий костыль командной строки

without comments

В отличии от консольного ‘opestack’, который может что-то сказать членораздельно о не нужных параметрах вызова, это поделка путает места параметров и типы ошибок.

Так при наличии параметров:

--os-identity-api-version 
или
--os-auth-type password

Она будет уперто выплевывать

#glance: error: argument : invalid choice: u'password' (choose from 'explain', 'image-create', 'image-delete', 'image-download', 'image-list', 'image-show', 'image-tag-delete', 'image-tag-update', 'image-update', 'image-upload', 'location-add', 'location-delete', 'location-update', 'md-namespace-create', 'md-namespace-delete', 'md-namespace-import', 'md-namespace-list', 'md-namespace-objects-delete', 'md-namespace-properties-delete', 'md-namespace-resource-type-list', 'md-namespace-show', 'md-namespace-tags-delete', 'md-namespace-update', 'md-object-create', 'md-object-delete', 'md-object-list', 'md-object-property-show', 'md-object-show', 'md-object-update', 'md-property-create', 'md-property-delete', 'md-property-list', 'md-property-show', 'md-property-update', 'md-resource-type-associate', 'md-resource-type-deassociate', 'md-resource-type-list', 'md-tag-create', 'md-tag-create-multiple', 'md-tag-delete', 'md-tag-list', 'md-tag-show', 'md-tag-update', 'member-create', 'member-delete', 'member-list', 'member-update', 'task-create', 'task-list', 'task-show', 'bash-completion', 'help', 'bash_completion')

Дайте студентам фламастеры и гоните горе кодеров из ПТУ …

Written by spectre

February 13th, 2017 at 2:10 pm

Posted in Openstack

OpenStack : OpenStackClient (python-openstackclient) общий клиент коммандной строки

without comments

питонячий костыль в студии:

OpenStackClient (aka OSC) is a command-line client for OpenStack that brings the command set for Compute, Identity, Image, Object Store and Volume APIs together in a single shell with a uniform command structure. The primary goal is to provide a unified shell command structure and a common language to describe operations in OpenStack.

Где и что искать об этом костыле:

Read the rest of this entry »

Written by spectre

February 12th, 2017 at 3:07 pm

Posted in Openstack

OpenStack : компоненты хранилищ – Swift и Cinder

without comments

https://www.ibm.com/developerworks/ru/library/cl-openstack-swift-cinder/#N10108

Written by spectre

February 8th, 2017 at 2:41 pm

Posted in Openstack

Mdadm Chaet Sheet – 6 tips

without comments

Mdadm is the modern tool most Linux distributions use these days to manage software RAID arrays; in the past raidtools was the tool we have used for this. This cheat sheet will show the most common usages of mdadm to manage software raid arrays; it assumes you have a good understanding of software RAID and Linux in general, and it will just explain the commands line usage of mdadm. The examples bellow use RAID1, but they can be adapted for any RAID level the Linux kernel driver supports.

Read the rest of this entry »

Written by spectre

February 7th, 2017 at 4:40 pm

Posted in Arrays and Disks