RETIRED, Fuel orchestrator
Go to file
OpenDev Sysadmins 33be0d299a OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:39:52 +00:00
bin Ressurect --start|--end options for graph execution 2016-09-12 14:50:57 +00:00
debian Bump version to 10.0 2016-03-27 20:30:44 +00:00
examples Agreed on naming in config file 2015-02-19 15:06:58 +03:00
lib Do not send data about nodes in case of task deployment 2017-03-28 16:40:05 +00:00
mcagents Fix puppetd mcagent issues 2017-03-13 19:09:25 +03:00
spec Do not send data about nodes in case of task deployment 2017-03-28 16:40:05 +00:00
specs Make Astute depend on Timmy 2016-08-29 15:39:28 +03:00
tests Ressurect --start|--end options for graph execution 2016-09-12 14:50:57 +00:00
.gitignore Add Simulator class and command 2016-07-14 21:54:44 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:39:52 +00:00
.rspec Create group of facts as one big fact in yaml format 2013-09-30 08:06:50 +04:00
.ruby-version Deployment artifacts management for upgrades: 2014-04-14 19:36:44 +04:00
Gemfile Fix problem with newest activesupport version 2016-09-05 16:18:21 +03:00
LICENSE LICENCE added 2014-06-05 00:37:57 +04:00
MAINTAINERS Actualize maintainers of Astute 2016-08-19 11:27:11 +00:00
README.md Update paths due to stackforge migration 2015-10-18 01:05:24 +03:00
Rakefile Create spec task 2016-02-10 15:48:01 -07:00
astute.gemspec Merge "Remove provision using Cobbler profiles (used before 6.1)" 2016-08-08 17:05:25 +00:00
astute.service Update astute package 2015-12-03 12:07:55 +00:00
astute.sysconfig Default log level should be debug 2015-12-09 17:53:21 +03:00
bindep.txt Fix puppetd mcagent issues 2017-03-13 19:09:25 +03:00
run_tests.sh Support Mac OS X to run tests 2015-07-23 16:20:50 +03:00

README.md

Astute

Astute is orchestrator, which is using data about nodes and deployment settings performs two things:

  • provision
  • deploy

Provision

OS installation on selected nodes.

Provisioning is done using Cobbler. Astute orchestrator collects data about nodes and creates corresponding Cobbler systems using parameters specified in engine section of provision data. After the systems are created, it connects to Cobbler engine and reboots nodes according to the power management parameters of the node.

Deploy

OpenStack installation in the desired configuration on the selected nodes.

Astute uses data about nodes and deployment settings and recalculates parameters needed for deployment. Calculated parameters are passed to the nodes being deployed by use of nailyfact MCollective agent that uploads these attributes to /etc/astute.yaml file of the node. Then puppet parses this file using Facter plugin and uploads these facts into puppet. These facts are used during catalog compilation phase by puppet. Finally catalog is executed and Astute orchestrator passes to the next node in deployment sequence. Fuel Library provides puppet modules for Astute.

Using as library

require 'astute'

class ConsoleReporter
  def report(msg)
    puts msg.inspect
  end
end

reporter = ConsoleReporter.new

orchestrator = Astute::Orchestrator.new(log_parsing=false)

# Add systems to cobbler, reboot and start installation process.
orchestrator.provision(reporter, environment['engine'], environment['nodes'])

# Observation OS installation
orchestrator.watch_provision_progress(reporter, environment['task_uuid'], environment['nodes'])

# Deploy OpenStack
orchestrator.deploy(reporter, environment['task_uuid'], environment['nodes'])

Example of using Astute as library: lib/astute/server/dispatcher.rb

Using as CLI

CLI interface in Astute no longer supported. Please use new Fuel-CLI. More details you can get by link: https://github.com/openstack/fuel-docs/blob/master/pages/user-guide/cli.rst


License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.