Comment 3 for bug 1524336

Revision history for this message
Sergey Novikov (snovikov) wrote :

Verified on VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "491"
  build_id: "491"
  fuel-nailgun_sha: "b900f9d9de4d2b6ccf27f4addf3f0e38502a0bac"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "e869072139670bb8bbfde00ef04dec3d189f5927"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "f7a008e6801ba0072b08302a740174aec506078a"
  fuel-ostf_sha: "ab5fd151fc6c1aa0b35bc2023631b1f4836ecd61"
  fuel-mirror_sha: "351d568fa3b3e4dd062054b91d766aa54d379867"
  fuelmenu_sha: "fac143f4dfa75785758e72afbdc029693e94ff2b"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "6b993b3004e8d97d840b672d6c1d44c320975cd9"

STV:
1. Create env with 3 controller+1 compute
2) Inject task right after globlals.pp that will create /etc/hiera/override/configuration/cluster.yaml file with the following content:

network_metadata:
  vips:
    management:
      namespace: 'haproxy'

content of tasks.yaml:

- id: bug
  type: puppet
  version: 2.0.0
  groups: [primary-controller, controller, compute]
  required_for: [deploy_end]
  requires: [globals]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/bug/bug.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1200

content of bug.pp:
notice("MODULAR: bug verification")

File {
  owner => 'root',
  group => 'root',
  mode => '0644',
}

file { "/etc/hiera/override/configuration/cluster.yaml":
  ensure => present,
  content => "
network_metadata:
  vips:
    management:
      namespace: 'haproxy'",
}

3) Deploy cluster