• openstack
    Cloud

    Neden OpenStack ?

    OpenStack, açık kaynak kodlu bir bulut bilişim platformudur ve hem public cloud hem de özel bulut çözümleri sunar. Compute, network ve storage yönetimi ile Kubernetes entegrasyonu sağlayarak işletmelerin sanal makineleri ve container uygulamalarını verimli bir şekilde yönetmelerine olanak tanır. Yüksek ölçeklenebilirliği, güçlü güvenlik özellikleri ve geniş ekosistemi sayesinde işletmelerin bulut bilişim ihtiyaçlarını karşılar. Açık kaynak topluluğunun sürekli desteği ile güncel ve esnek çözümler sunar. OpenStack, bulut altyapısını optimize etmek isteyen işletmeler için güçlü ve özelleştirilebilir bir seçenektir.

  • Cloud,  DevStack

    Openstack Error_deleting statusünde ki Volume Silme

    [stack@faopenstack devstack(keystone)]$ cinder delete 0731302a-6ada-4898-85b7-f5c4cf77fba8Request to delete volume 0731302a-6ada-4898-85b7-f5c4cf77fba8 has been accepted. [stack@faopenstack devstack(keystone)]$ cinder list+--------------------------------------+----------------+------+------+-------------+----------+--------------------------------------+| ID | Status | Name | Size | Volume Type | Bootable | Attached to |+--------------------------------------+----------------+------+------+-------------+----------+--------------------------------------+| 0731302a-6ada-4898-85b7-f5c4cf77fba8 | error_deleting | | 10 | lvmdriver-1 | true | || 6028ec46-cef4-471d-bdf1-ceb97e960ae0 | in-use | | 10 | lvmdriver-1 | true | d4890610-fddb-4870-af13-af48447b36fa || 6fcf85a5-70ac-4934-8c65-94029fa090e0 | in-use | | 10 | lvmdriver-1 | true | 81c93c74-c209-4d2b-8d13-ecc59ef3657e |+--------------------------------------+----------------+------+------+-------------+----------+--------------------------------------+ Çözüm [stack@faopenstack devstack(keystone)]$ cinder reset-state –state available 0731302a-6ada-4898-85b7-f5c4cf77fba8 [stack@faopenstack devstack(keystone)]$ mysql mysql> update volumes set deleted=1,status=’deleted’,deleted_at=now(),updated_at=now() where deleted=0 and id=’0731302a-6ada-4898-85b7-f5c4cf77fba8′;

  • Cloud,  DevStack

    Cinder – “ERROR: Expecting to find domain in project.” Çözümü

    [stack@faopenstack devstack(keystone)]$ cinder list –allERROR: Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-52997874-d386-4fad-8147-ba7999e0d593) openrc dosyanıza aşağıdaki iki satırı eklemeniz yeterli:

  • Cloud,  DevStack,  ipucu,  Linux

    Unavailable modifier requested WSGI + apache2

    [email protected] – Devstack [email protected] [150/368]Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)Active: active (running) since Cum 2019-05-24 15:28:22 +03; 3s agoMain PID: 8137 (uwsgi)Status: “uWSGI is ready”CGroup: /system.slice/system-devstack.slice/[email protected]├─8137 keystoneuWSGI maste├─8139 keystoneuWSGI worker└─8140 keystoneuWSGI worker May 24 15:28:22 faopenstack [email protected][8137]: no request plugin is loaded, you will not be able to manage requests.May 24 15:28:22 faopenstack [email protected][8137]: you may need to install the package for your language of choice, or simply load it with –plugin.May 24 15:28:22 faopenstack [email protected][8137]: !!!!!!!!!!! END OF WARNING !!!!!!!!!!May 24 15:28:22 faopenstack [email protected][8137]: spawned uWSGI master process (pid: 8137)May 24 15:28:22 faopenstack [email protected][8137]: spawned uWSGI worker 1 (pid: 8139, cores: 1)May 24 15:28:22 faopenstack systemd[1]: Started Devstack…

  • Cloud,  DevStack

    You should consider upgrading via the ‘pip install –upgrade pip’ command

    Obtaining file:///opt/stack/keystone Exception: Traceback (most recent call last): File “/usr/local/lib/python2.7/dist-packages/pip/basecommand.py”, line 215, in main status = self.run(options, args) File “/usr/local/lib/python2.7/dist-packages/pip/commands/install.py”, line 335, in run wb.build(autobuilding=True) File “/usr/local/lib/python2.7/dist-packages/pip/wheel.py”, line 749, in build self.requirement_set.prepare_files(self.finder) File “/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py”, line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File “/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py”, line 521, in _prepare_file req_to_install.check_if_exists() File “/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py”, line 1036, in check_if_exists self.req.name File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/init.py”, line 558, in get_distribution dist = get_provider(dist) File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/init.py”, line 432, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/init.py”, line 968, in require needed = self.resolve(parse_requirements(requirements)) File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/init.py”, line 859, in resolve raise VersionConflict(dist, req).with_context(dependent_req) ContextualVersionConflict: (PyJWT 1.3.0 (/usr/lib/python2.7/dist-packages), Requirement.parse(‘PyJWT>=1.6.1’), set([‘keystone’])) You are using pip version 9.0.3, however version 19.1.1 is available. You should consider…

  • Cloud,  DevStack

    DevStack Kurulumunda Requirement.parse(‘pyroute2>=0.5.5’) Hatasının Çözümü

    A şağıdakı komut ile başlıkta belirtilen pyroute2 ‘yi siliyoruz. ————————————————– +inc/python:pip_install:280 sudo -H http_proxy=http://farda:1988 https_proxy=http://farda:1988 no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip2.7 install -c /opt/stack/requirements/upper-constraints.txt -r /opt/stack/neutron/test-requirements.txt -e /opt/stack/neutron Ignoring Django: markers ‘python_version == “3.4”‘ don’t match your environment Ignoring Django: markers ‘python_version == “3.5”‘ don’t match your environment Ignoring Django: markers ‘python_version == “3.6”‘ don’t match your environment Ignoring Django: markers ‘python_version == “3.7”‘ don’t match your environment Ignoring SecretStorage: markers ‘python_version == “3.4”‘ don’t match your environment Ignoring SecretStorage: markers ‘python_version == “3.5”‘ don’t match your environment Ignoring SecretStorage: markers ‘python_version == “3.6”‘ don’t match your environment Ignoring SecretStorage: markers ‘python_version == “3.7”‘ don’t match your environment Ignoring Sphinx: markers ‘python_version…

  • Cloud

    Ubuntu 16.04 Uzerine DevStack Kurulumu

    Bu yazi Ubuntu 16.04 uzerine DevStack kurulumunu icermektedir. Kurulumu DevStack repository uzerindeki script ile gerceklestirecegiz. Ayrica OpenStack kurulumu icin bircok yol bulunmakta. Biz test ortamimiz icin tum servislerin bir arada bulundugu ve kurulumu cok basit ve hizli olan DevStack’i kullanacagiz. Ubuntu Serverroot partition icin minimum 20 GB bos alan gerekiyor. Kullanici YaratDevStack kurulum icin mutlaka root harici bir kullaniciya ihtiyac duymaktadir. Bu kullanici sudo ile root yetkilerine sahip olmali DevStack GIT RepoYukarida yaratmis oldugumuz stack kullanicisina gecis yapiyoruz ve git repodan en guncel DevStack ‘i cekiyoruz. DevStack Konfigurasyon/opt/stack/devstack altinda local.conf dosyasini olusturuyoruz ve icersine asagidaki bilgileri giriyoruz. Kendi yapimiza gore IP ve sifre degisiklikleri yapilabilir. /etc/hostsHost isminden IP cozumlemesi icin…