aeolus-configure error

Russell Builta rbuilta at redhat.com
Tue Feb 28 18:15:43 UTC 2012


Ok - so the 'aeolus-configure' command went fine - unfortunately when I add the '-p rhevm' I have issues - output below

-----------------------------------------------------------------------
[root at cloudforms nodes]# aeolus-configure -p rhevm -d
Launching aeolus configuration recipe...
info: Loading facts in oauth
debug: Executing '/bin/sh /usr/share/aeolus-configure/modules/aeolus/aeolus-node rhevm_configure cloudforms.etc.uspto.gov'
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/init.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/postgres/manifests/init.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/apache/manifests/init.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/rails.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/selinux.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/ntp/manifests/init.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/conductor.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/deltacloud.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/iwhd.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/image-factory.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/defaults.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/imagebuilder.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/rhevm.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/vsphere.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/conductor.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/deltacloud.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/ec2.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/default.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/mock.pp' in environment production
debug: importing '/usr/share/aeolus-configure/modules/openssl/manifests/init.pp' in environment production
debug: Automatically imported aeolus::iwhd from aeolus into production
debug: Puppet::Type::Package::ProviderRpm: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderAptrpm: Executing '/bin/rpm -ql rpm'
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderUrpmi: Executing '/bin/rpm -ql rpm'
debug: Scope(Class[Aeolus::Iwhd]): Retrieving template aeolus/iwhd.init
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/iwhd.init]: Bound template variables for /usr/share/aeolus-configure/modules/aeolus/templates/iwhd.init in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/iwhd.init]: Interpolated template /usr/share/aeolus-configure/modules/aeolus/templates/iwhd.init in 0.00 seconds
debug: Scope(Class[Aeolus::Iwhd]): Retrieving template aeolus/iwhd-users.js
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/iwhd-users.js]: Bound template variables for /usr/share/aeolus-configure/modules/aeolus/templates/iwhd-users.js in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/iwhd-users.js]: Interpolated template /usr/share/aeolus-configure/modules/aeolus/templates/iwhd-users.js in 0.00 seconds
debug: Scope(Class[Ntp::Client]): Retrieving template ntp/ntp.conf
debug: template[/usr/share/aeolus-configure/modules/ntp/templates/ntp.conf]: Bound template variables for /usr/share/aeolus-configure/modules/ntp/templates/ntp.conf in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/ntp/templates/ntp.conf]: Interpolated template /usr/share/aeolus-configure/modules/ntp/templates/ntp.conf in 0.00 seconds
debug: Scope(Class[Ntp::Client]): Retrieving template ntp/ntp.conf
debug: template[/usr/share/aeolus-configure/modules/ntp/templates/ntp.conf]: Bound template variables for /usr/share/aeolus-configure/modules/ntp/templates/ntp.conf in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/ntp/templates/ntp.conf]: Interpolated template /usr/share/aeolus-configure/modules/ntp/templates/ntp.conf in 0.00 seconds
debug: Scope(Class[Aeolus::Conductor]): Retrieving template aeolus/conductor-settings.yml
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/conductor-settings.yml]: Bound template variables for /usr/share/aeolus-configure/modules/aeolus/templates/conductor-settings.yml in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/conductor-settings.yml]: Interpolated template /usr/share/aeolus-configure/modules/aeolus/templates/conductor-settings.yml in 0.00 seconds
debug: Scope(Class[Aeolus::Conductor]): Retrieving template aeolus/secret_token.rb
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/secret_token.rb]: Bound template variables for /usr/share/aeolus-configure/modules/aeolus/templates/secret_token.rb in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/secret_token.rb]: Interpolated template /usr/share/aeolus-configure/modules/aeolus/templates/secret_token.rb in 0.00 seconds
debug: Scope(Class[Aeolus::Conductor]): Retrieving template aeolus/rsyslog
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/rsyslog]: Bound template variables for /usr/share/aeolus-configure/modules/aeolus/templates/rsyslog in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/rsyslog]: Interpolated template /usr/share/aeolus-configure/modules/aeolus/templates/rsyslog in 0.00 seconds
debug: Failed to load library 'ldap' for feature 'ldap'
debug: importing '/usr/share/aeolus-configure/modules/aeolus/manifests/profiles/rhevm/instance.pp' in environment production
debug: Automatically imported aeolus::profiles::rhevm::instance from aeolus/profiles/rhevm/instance into production
debug: Scope(Class[Aeolus::Profiles::Rhevm]): Retrieving template aeolus/rhevm.json
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/rhevm.json]: Bound template variables for /usr/share/aeolus-configure/modules/aeolus/templates/rhevm.json in 0.00 seconds
debug: template[/usr/share/aeolus-configure/modules/aeolus/templates/rhevm.json]: Interpolated template /usr/share/aeolus-configure/modules/aeolus/templates/rhevm.json in 0.00 seconds
RHEV validation error: could not find path /var/nfs-export in data center 76eb9fae-2214-4afb-98ad-eada4811377c in a storage domain where type = "export" at /usr/share/aeolus-configure/modules/aeolus/manifests/profiles/rhevm.pp:51 on node cloudforms.etc.uspto.gov
-------------------------------------------------------------------------

This is what my /etc/aeolus-configure/nodes/rhevm_configure file looks like:

------------------------

[root at cloudforms nodes]# cat rhevm_configure
---
parameters:
  enable_https: true
  enable_security: false
  package_provider: rpm
classes:
  aeolus::conductor:
  aeolus::image-factory:
  aeolus::iwhd:
  aeolus::deltacloud::core:
  aeolus::profiles::rhevm:
    instances:
      default:
        # Uncomment and provide values to match your RHEV environment.
        #
        # The data center id can be found through the RHEV REST API or by executing
        # the following command. Note you may need to use insecure mode (-k).
        # curl https://rhevm.example.org:8443/api/datacenters --user username at fqdn:password
        #
        # Values below are examples.
        #
          nfs_server: nfs-export.cloudtest.uspto.gov
          nfs_export: /var/nfs-export
          nfs_mount_point: /mnt/rhevm-nfs
          deltacloud_username: <username>
          deltacloud_password: <password>
          deltacloud_api: https://rhevm-3.etc.uspto.gov:8443/api
          deltacloud_data_center: 76eb9fae-2214-4afb-98ad-eada4811377c
          push_timeout: 1800

--------------------------------------------------

Now my question is if I have special characters do I need to add quotes? Thanks.

Russell 





----- Original Message -----
From: "Russell Builta" <rbuilta at redhat.com>
To: "John Eckersberg" <jeckersb at redhat.com>
Cc: aeolus-devel at lists.fedorahosted.org, "Mo Morsi" <mmorsi at redhat.com>
Sent: Tuesday, February 28, 2012 10:09:11 AM
Subject: Re: aeolus-configure error

Ok - will give that a try... 

----- Original Message -----
From: "John Eckersberg" <jeckersb at redhat.com>
To: "Mo Morsi" <mmorsi at redhat.com>, aeolus-devel at lists.fedorahosted.org
Sent: Tuesday, February 28, 2012 10:07:48 AM
Subject: Re: aeolus-configure error

On Mon, 27 Feb 2012 12:25:46 -0500, Mo Morsi <mmorsi at redhat.com> wrote:
> On 02/27/2012 10:46 AM, Russell Builta wrote:
> > Running RHEL 6.2
> >
> > I've got the latest Beta bits from the redhat internal site.
> > ----------------------------------------------
> > puppet-2.7.10-1.el6.noarch
> 
> Ah ok, the version of puppet in fedora is 2.6 which explains the 
> deprecation warning in the logs, still though, that seems to be 
> unrelated to the issue @ hand.
> 

This is probably the cause.  There is a whole laundry list of things
that behave differently between 2.6 and 2.7, most notably a change in
the autoloader which causes classes/defines to not be found in 2.7,
where they worked fine under 2.6.



More information about the aeolus-devel mailing list