Instala openstack sobre MAAS e JUJU

0
  1. Alguém realmente instalou o open-stack do maas-juju na produção?
  2. Alguém instalou massa / juju em metal puro em envelopamento de produção real

Eu tenho 6 super micro servidores para implantação de openstack, mais um servidor para MAAS e um para JUJU - todos são bare-metal. Eu posso gerenciar servidores do MAAS, incluir implantação e provisionamento e tenho controlador de juju que pode manipular a instalação do juju. Além disso, todo o sistema usando VLANs e possui redes privadas dedicadas.

Estou tentando implantar com um conjunto de acompanhamento

 series: xenial
applications:
  mysql:
    charm: 'cs:percona-cluster-257'
    num_units: 1
    options:
      innodb-buffer-pool-size: 256M
      max-connections: 1000
    annotations:

    to:
      - 'lxd:ceph-osd/1'
  rabbitmq-server:
    charm: 'cs:rabbitmq-server-70'
    num_units: 1
    annotations:
      '
    to:
      - 'lxd:ceph-mon/0'
  ceph-osd:
    charm: 'cs:ceph-osd-254'
    num_units: 3
    options:
      osd-devices: /dev/sda
      osd-reformat: 'yes'
      source: 'cloud:xenial-pike'
    constraints: tags=stor
    annotations:

    to:
      - '1'
      - '2'
      - '3'
  ceph-radosgw:
    charm: 'cs:ceph-radosgw-254'
    num_units: 1
    annotations:

    to:
      - 'lxd:ceph-osd/0'
  cinder:
    charm: 'cs:cinder-266'
    num_units: 1
    options:
      block-device: None
      glance-api-version: 2
      openstack-origin: 'cloud:xenial-pike'
    annotations:

    to:
      - 'lxd:ceph-osd/0'
  cinder-ceph:
    charm: 'cs:cinder-ceph-229'
    annotations:

  glance:
    charm: 'cs:glance-261'
    num_units: 1
    annotations:

    to:
      - 'lxd:neutron-gateway/0'
  keystone:
    charm: 'cs:keystone-273'
    num_units: 1
    options:
      admin-password: openstack
      openstack-origin: 'cloud:xenial-pike'
    annotations:

    to:
      - 'lxd:nova-compute/0'
  ceph-mon:
    charm: 'cs:ceph-mon-20'
    num_units: 3
    annotations:

    to:
      - '1'
      - '2'
      - '3'
  neutron-api:
    charm: 'cs:neutron-api-256'
    num_units: 1
    options:
      neutron-security-groups: true
    annotations:

    to:
      - 'lxd:nova-compute/1'
  neutron-gateway:
    charm: 'cs:neutron-gateway-245'
    num_units: 1
    options:
      ext-port: eth0
    annotations:

    to:
      - '0'
  neutron-openvswitch:
    charm: 'cs:neutron-openvswitch-247'
    annotations:

  nova-cloud-controller:
    charm: 'cs:nova-cloud-controller-304'
    num_units: 1
    options:
      network-manager: Neutron
      openstack-origin: 'cloud:xenial-pike'
    annotations:

    to:
      - 'lxd:nova-compute/1'
  nova-compute:
    charm: 'cs:nova-compute-280'
    num_units: 2
    options:
      enable-live-migration: true
      enable-resize: true
      virt-type: qemu
    constraints: tags=nova
    annotations:

    to:
      - '4'
      - '5'
  ntp:
    charm: 'cs:ntp-24'
    annotations:

  openstack-dashboard:
    charm: 'cs:openstack-dashboard-253'
    num_units: 1
    annotations:

    to:
      - '4'
relations:
  - - 'cinder:shared-db'
    - 'mysql:shared-db'
  - - 'openstack-dashboard:identity-service'
    - 'keystone:identity-service'
  - - 'nova-compute:cloud-compute'
    - 'nova-cloud-controller:cloud-compute'
  - - 'neutron-api:neutron-api'
    - 'nova-cloud-controller:neutron-api'
  - - 'nova-cloud-controller:quantum-network-service'
    - 'neutron-gateway:quantum-network-service'
  - - 'nova-cloud-controller:amqp'
    - 'rabbitmq-server:amqp'
  - - 'nova-cloud-controller:identity-service'
    - 'keystone:identity-service'
  - - 'nova-cloud-controller:shared-db'
    - 'mysql:shared-db'
  - - 'nova-cloud-controller:cinder-volume-service'
    - 'cinder:cinder-volume-service'
  - - 'neutron-gateway:amqp'
    - 'rabbitmq-server:amqp'
  - - 'nova-compute:amqp'
    - 'rabbitmq-server:amqp'
  - - 'neutron-openvswitch:amqp'
    - 'rabbitmq-server:amqp'
  - - 'neutron-api:amqp'
    - 'rabbitmq-server:amqp'
  - - 'neutron-api:identity-service'
    - 'keystone:identity-service'
  - - 'keystone:shared-db'
    - 'mysql:shared-db'
  - - 'ceph-radosgw:mon'
    - 'ceph-mon:radosgw'
  - - 'glance:amqp'
    - 'rabbitmq-server:amqp'
  - - 'glance:identity-service'
    - 'keystone:identity-service'
  - - 'glance:shared-db'
    - 'mysql:shared-db'
  - - 'nova-compute:image-service'
    - 'glance:image-service'
  - - 'nova-cloud-controller:image-service'
    - 'glance:image-service'
  - - 'glance:ceph'
    - 'ceph-mon:client'
  - - 'nova-compute:ceph'
    - 'ceph-mon:client'
  - - 'ceph-osd:mon'
    - 'ceph-mon:osd'
  - - 'neutron-openvswitch:neutron-plugin'
    - 'nova-compute:neutron-plugin'
  - - 'neutron-api:neutron-plugin-api'
    - 'neutron-openvswitch:neutron-plugin-api'
  - - 'neutron-api:neutron-plugin-api'
    - 'neutron-gateway:neutron-plugin-api'
  - - 'cinder:ceph'
    - 'ceph-mon:client'
  - - 'cinder:image-service'
    - 'glance:image-service'
  - - 'cinder:amqp'
    - 'rabbitmq-server:amqp'
  - - 'cinder:identity-service'
    - 'keystone:identity-service'
  - - 'neutron-api:shared-db'
    - 'mysql:shared-db'
  - - 'cinder-ceph:ceph'
    - 'ceph-mon:client'
  - - 'neutron-gateway:juju-info'
    - 'ntp:juju-info'
  - - 'ceph-osd:juju-info'
    - 'ntp:juju-info'
machines:
  '0':
    series: xenial
    constraints: 
  '1':
    series: xenial
    constraints: 
  '2':
    series: xenial
    constraints: 
  '3':
    series: xenial
    constraints: 
  '4':
    series: xenial
  '5':
    series: xenial
    constraints: 

No entanto, o sistema negou a trabalhar. De vez em quando, diz-se "arquivado com o db compartilhado", de tempos em tempos, "neuron-openvswitch não pode ser executado como esperado".

Todos os principais problemas como "eth0" em vez de "eno32" e assim por diante foram resolvidos, e o sistema operacional padrão é Ubuntu16.

    
por Vakho 08.02.2018 / 13:41

0 respostas