← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2004595] [NEW] Duplicate declaration: Exec[exec-setfacl-ceph-openstack-glance] is already declared at (file: /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp

 

Public bug reported:

Hi,
I am trying to deploy DCN and when running the edge site deployment i am facing the below error:
2023-02-03 03:47:28.867213 |                                      |    WARNING | ERROR: Can't run container container-puppet-glance_api
stderr: + /usr/bin/puppet apply --summarize --detailed-exitcodes --color=false --modulepath=/etc/puppet/modules:/usr/share/openstack-puppet/modules --tags '"file,file_line,concat,augeas,cron,glance_api_config,glance_api_paste_ini,glance_swift_config,glance_cache_config,glance_image_import_config"' /etc/config.pp
+ logger -s -t puppet-user
<13>Feb  2 19:47:05 puppet-user: Warning: Facter: Operation not permitted @ io_fread - /sys/module/kdb/parameters/enable_nmi
<13>Feb  2 19:47:05 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
<13>Feb  2 19:47:05 puppet-user:    (file: /etc/puppet/hiera.yaml)
<13>Feb  2 19:47:05 puppet-user: Warning: Undefined variable '::deploy_config_name';
<13>Feb  2 19:47:05 puppet-user:    (file & line not available)
<13>Feb  2 19:47:05 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.8/deprecated_language.html
<13>Feb  2 19:47:05 puppet-user:    (file & line not available)
<13>Feb  2 19:47:05 puppet-user: Warning: Scope(Class[Glance::Api]): The show_multiple_locations parameter is deprecated, and will be removed in a future release
<13>Feb  2 19:47:05 puppet-user: Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Exec[exec-setfacl-ceph-openstack-glance] is already declared at (file: /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp, line: 100); cannot redeclare (file: /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp, line: 100) (file: /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp, line: 100, column: 7) on node dcn01-hci-2.bdxworld.com
+ rc=1
+ '[' false = false ']'
+ set +x
2023-02-03 03:47:28.868941 | 48d539a1-1679-a5ae-b605-0000000030e1 |      FATAL | Manage Puppet containers (generate config) for step 1 | dcn01-hci-2 | error={
    "changed": false,
    "invocation": {
        "module_args": {
            "concurrency": 6,
            "config_dir": "/var/lib/tripleo-config/container-puppet-config/step_1",
            "config_id": "tripleo_puppet_step1",
            "config_overrides": {},
            "config_patterns": "container-puppet-*.json",
            "debug": false,
            "log_base_path": "/var/log/containers/stdouts"
        }
    },
    "msg": "Failed containers: container-puppet-glance_api"
}
2023-02-03 03:47:28.870551 | 48d539a1-1679-a5ae-b605-0000000030e1 |     TIMING | Manage Puppet containers (generate config) for step 1 | dcn01-hci-2 | 0:07:14.373951 | 25.39s
host: dcn01-hci-0, task: None
host: dcn01-hci-1, task: None
host: dcn01-hci-2, task: None

PLAY RECAP *********************************************************************
dcn01-hci-0                : ok=250  changed=58   unreachable=0    failed=1    skipped=127  rescued=0    ignored=1
dcn01-hci-1                : ok=239  changed=58   unreachable=0    failed=1    skipped=127  rescued=0    ignored=1
dcn01-hci-2                : ok=238  changed=58   unreachable=0    failed=1    skipped=127  rescued=0    ignored=1


Glance.yaml:

parameter_defaults:
    GlanceEnabledImportMethods: web-download,copy-image
    GlanceBackend: rbd
    GlanceStoreDescription: 'dcn01 rbd glance store'
    GlanceBackendID: dcn01
    GlanceMultistoreConfig:
      ceph:
        GlanceBackend: rbd
        GlanceStoreDescription: 'Default glance store backend.'
        CephClusterName: ceph

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2004595

Title:
  Duplicate declaration: Exec[exec-setfacl-ceph-openstack-glance] is
  already declared at (file:
  /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp

Status in Glance:
  New

Bug description:
  Hi,
  I am trying to deploy DCN and when running the edge site deployment i am facing the below error:
  2023-02-03 03:47:28.867213 |                                      |    WARNING | ERROR: Can't run container container-puppet-glance_api
  stderr: + /usr/bin/puppet apply --summarize --detailed-exitcodes --color=false --modulepath=/etc/puppet/modules:/usr/share/openstack-puppet/modules --tags '"file,file_line,concat,augeas,cron,glance_api_config,glance_api_paste_ini,glance_swift_config,glance_cache_config,glance_image_import_config"' /etc/config.pp
  + logger -s -t puppet-user
  <13>Feb  2 19:47:05 puppet-user: Warning: Facter: Operation not permitted @ io_fread - /sys/module/kdb/parameters/enable_nmi
  <13>Feb  2 19:47:05 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  <13>Feb  2 19:47:05 puppet-user:    (file: /etc/puppet/hiera.yaml)
  <13>Feb  2 19:47:05 puppet-user: Warning: Undefined variable '::deploy_config_name';
  <13>Feb  2 19:47:05 puppet-user:    (file & line not available)
  <13>Feb  2 19:47:05 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.8/deprecated_language.html
  <13>Feb  2 19:47:05 puppet-user:    (file & line not available)
  <13>Feb  2 19:47:05 puppet-user: Warning: Scope(Class[Glance::Api]): The show_multiple_locations parameter is deprecated, and will be removed in a future release
  <13>Feb  2 19:47:05 puppet-user: Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Exec[exec-setfacl-ceph-openstack-glance] is already declared at (file: /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp, line: 100); cannot redeclare (file: /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp, line: 100) (file: /etc/puppet/modules/tripleo/manifests/profile/base/glance/backend/rbd.pp, line: 100, column: 7) on node dcn01-hci-2.bdxworld.com
  + rc=1
  + '[' false = false ']'
  + set +x
  2023-02-03 03:47:28.868941 | 48d539a1-1679-a5ae-b605-0000000030e1 |      FATAL | Manage Puppet containers (generate config) for step 1 | dcn01-hci-2 | error={
      "changed": false,
      "invocation": {
          "module_args": {
              "concurrency": 6,
              "config_dir": "/var/lib/tripleo-config/container-puppet-config/step_1",
              "config_id": "tripleo_puppet_step1",
              "config_overrides": {},
              "config_patterns": "container-puppet-*.json",
              "debug": false,
              "log_base_path": "/var/log/containers/stdouts"
          }
      },
      "msg": "Failed containers: container-puppet-glance_api"
  }
  2023-02-03 03:47:28.870551 | 48d539a1-1679-a5ae-b605-0000000030e1 |     TIMING | Manage Puppet containers (generate config) for step 1 | dcn01-hci-2 | 0:07:14.373951 | 25.39s
  host: dcn01-hci-0, task: None
  host: dcn01-hci-1, task: None
  host: dcn01-hci-2, task: None

  PLAY RECAP *********************************************************************
  dcn01-hci-0                : ok=250  changed=58   unreachable=0    failed=1    skipped=127  rescued=0    ignored=1
  dcn01-hci-1                : ok=239  changed=58   unreachable=0    failed=1    skipped=127  rescued=0    ignored=1
  dcn01-hci-2                : ok=238  changed=58   unreachable=0    failed=1    skipped=127  rescued=0    ignored=1


  Glance.yaml:

  parameter_defaults:
      GlanceEnabledImportMethods: web-download,copy-image
      GlanceBackend: rbd
      GlanceStoreDescription: 'dcn01 rbd glance store'
      GlanceBackendID: dcn01
      GlanceMultistoreConfig:
        ceph:
          GlanceBackend: rbd
          GlanceStoreDescription: 'Default glance store backend.'
          CephClusterName: ceph

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2004595/+subscriptions