{"id":28454222,"url":"https://github.com/alilotfi23/openstack-jenkins-pipeline","last_synced_at":"2026-04-26T20:31:24.288Z","repository":{"id":297663143,"uuid":"997518319","full_name":"alilotfi23/openstack-jenkins-pipeline","owner":"alilotfi23","description":"Jenkins-Powered OpenStack Deployment with Kolla Ansible","archived":false,"fork":false,"pushed_at":"2025-06-06T17:09:14.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-28T05:34:15.120Z","etag":null,"topics":["ansible","cicd","jenkins","kolla-ansible","openstack"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alilotfi23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-06T17:03:21.000Z","updated_at":"2025-06-06T17:09:49.000Z","dependencies_parsed_at":"2025-06-06T18:38:26.566Z","dependency_job_id":null,"html_url":"https://github.com/alilotfi23/openstack-jenkins-pipeline","commit_stats":null,"previous_names":["alilotfi23/openstack-jenkins-pipeline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alilotfi23/openstack-jenkins-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2Fopenstack-jenkins-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2Fopenstack-jenkins-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2Fopenstack-jenkins-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2Fopenstack-jenkins-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alilotfi23","download_url":"https://codeload.github.com/alilotfi23/openstack-jenkins-pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2Fopenstack-jenkins-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32312183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","cicd","jenkins","kolla-ansible","openstack"],"created_at":"2025-06-06T19:00:35.238Z","updated_at":"2026-04-26T20:31:24.274Z","avatar_url":"https://github.com/alilotfi23.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Jenkins-Powered OpenStack Deployment with Kolla Ansible\n\nThis project automates the deployment of OpenStack services using [Kolla Ansible](https://docs.openstack.org/kolla-ansible/latest/) via a Jenkins pipeline. It sets up a local Python environment, installs required tools, configures infrastructure, and deploys OpenStack on target servers.\n\n## Features\n\n- Full Jenkins pipeline for end-to-end OpenStack deployment\n- Local Python virtual environment setup\n- Installs Ansible and Kolla Ansible from source\n- Prepares OpenStack configuration structure\n- Bootstraps and validates target servers\n- Automates secret generation and deployment steps\n\n## Requirements\n\n- Jenkins with permission to run shell commands\n- Ubuntu-based environment with `sudo` privileges\n- Docker installed (or installed by pipeline)\n- Access to target servers (inventory file)\n- Network access to download pip packages and git repositories\n\n## Pipeline Overview\n\nThe Jenkins pipeline contains the following stages:\n\n1. **Setup Local Environment**  \n   Installs system dependencies and creates a virtual environment.\n\n2. **Installing PIP**  \n   Upgrades pip inside the virtual environment.\n\n3. **Installing Ansible**  \n   Installs a compatible version of `ansible-core`.\n\n4. **Installing Kolla Ansible**  \n   Installs Kolla Ansible from a Git repository and its dependencies.\n\n5. **Preparing Infrastructure**  \n   Prepares `/etc/kolla` and copies default config and inventory files.\n\n6. **Secrets Setup**  \n   Generates required OpenStack service passwords.\n\n7. **Bootstrap Servers**  \n   Prepares target nodes using `kolla-ansible bootstrap-servers`.\n\n8. **Infrastructure Pre-Checks**  \n   Validates configuration and connectivity before deployment.\n\n9. **Deploy Infrastructure**  \n   Executes the actual OpenStack deployment.\n\n## Usage\n\n### 1. Clone this repository\n\n```bash\ngit clone https://github.com/alilotfi23/openstack-jenkins-pipeline\ncd openstack-jenkins-pipeline\n````\n\n### 2. Setup Jenkins Job\n\n* Create a new Jenkins pipeline job.\n* Point the pipeline definition to the `Jenkinsfile` in this repo.\n* Configure Jenkins to run on a compatible Ubuntu node with Docker.\n\n### 3. Customize Inventory\n\nUpdate the inventory file located at:\n\n```\n/usr/local/share/kolla-ansible/ansible/inventory/multi_packtpub_prod\n```\n\nTo reflect your actual OpenStack deployment nodes.\n\n### 4. Trigger the Pipeline\n\nStart the pipeline from Jenkins UI. Each step will log its output, and errors will halt the process.\n\n## Notes\n\n* The Git repository URL for Kolla Ansible must be updated in the `Jenkinsfile` if different from the placeholder:\n\n  ```\n  git+https://opendev.org/openstack/kolla-ansible@master\n  ```\n* Make sure the Jenkins node has network access to the OpenStack deployment targets.\n\n## License\n\nMIT License\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falilotfi23%2Fopenstack-jenkins-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falilotfi23%2Fopenstack-jenkins-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falilotfi23%2Fopenstack-jenkins-pipeline/lists"}