Bug 769526 - aeolus-configure interactive :Syntax error at ':'; expected '}' at /usr/share/aeolus-configure/modules/aeolus/manifests/profiles/custom.pp
Summary: aeolus-configure interactive :Syntax error at ':'; expected '}' at /usr/shar...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-configure
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Mo Morsi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-21 07:53 UTC by Shveta
Modified: 2012-08-30 17:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 17:13:14 UTC


Attachments (Terms of Use)

Description Shveta 2011-12-21 07:53:55 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

rpm -qa|grep aeolus
aeolus-conductor-doc-0.7.0-4.el6.noarch
rubygem-aeolus-image-0.2.0-1.el6.noarch
aeolus-configure-2.4.0-3.el6.noarch
aeolus-conductor-0.7.0-4.el6.noarch
rubygem-aeolus-cli-0.2.0-3.el6.noarch
aeolus-all-0.7.0-4.el6.noarch
aeolus-conductor-daemons-0.7.0-4.el6.noarch
=================================================================
[root@hp-bl260cg5-01 ~]# aeolus-configure -i 

Select Aeolus Components to Install
1. All
2. None
3. Image Factory
4. Image Warehouse
Install Aeolus Component: 1

Add provider (y/n)? y
Cloud provider label: 
1. mock
2. ec2
3. rackspace
4. rhevm
5. vsphere
Cloud provider type: 1

Add provider (y/n)? 
Please enter "yes" or "no".
Add provider (y/n)? n


Deploy an instance to providers (y/n)? n
Launching aeolus configuration recipe...
Syntax error at ':'; expected '}' at /usr/share/aeolus-configure/modules/aeolus/manifests/profiles/custom.pp:40 on node hp-bl260cg5-01.rhts.eng.bos.redhat.com

Comment 1 wes hayutin 2012-01-12 16:52:14 UTC
adding to sprint tracker

Comment 2 Mo Morsi 2012-01-19 16:01:12 UTC
I noticed you didn't put anything for cloud provider label, resulting in an invalid entry which propagated to a configure error.

I fixed this by adding a validation to the entry in question with the following patch (already pushed)

https://github.com/aeolusproject/aeolus-configure/commit/152dc3662f2da174f3c7304da3a4a8b4127b7f12

Comment 3 Shveta 2012-01-23 11:27:14 UTC
Working now : 
Verified in 

rpm -qa|grep aeolus
aeolus-conductor-0.8.0-9.el6.noarch
aeolus-conductor-doc-0.8.0-9.el6.noarch
rubygem-aeolus-image-0.3.0-3.el6.noarch
rubygem-aeolus-cli-0.3.0-5.el6.noarch
aeolus-all-0.8.0-9.el6.noarch
aeolus-configure-2.5.0-6.el6.noarch
aeolus-conductor-daemons-0.8.0-9.el6.noarch

========================================================================


aeolus-configure -i
Press ^C at any time to terminate

Select Aeolus Components to Install
1. Select All Components
2. Finish Selection
3. Select Image Factory
4. Select Image Warehouse
Install Aeolus Component: 1
Add provider (y/n)? y
Cloud provider label: 
Invalid label (must be alphanumeric). Cloud provider label: ?  ec2
1. mock
2. ec2
3. rackspace
4. rhevm
5. vsphere
Cloud provider type: 1

Add provider (y/n)? 
Please enter "yes" or "no".
Add provider (y/n)? n

Deploy an instance to providers (y/n)? n
Launching aeolus configuration recipe...
notice: /File[/rsyslog]/seltype: seltype changed 'etc_runtime_t' to 'default_t'
notice: /Stage[main]/Apache/Exec[permit-http-networking]/returns: executed successfully
notice: /File[/usr/share/aeolus-conductor/config/initializers/secret_token.rb]/content: content changed '{md5}b80d080216160e80e320a487b2158ff3' to '{md5}ec1845e51e41381f888dfecd740bd56b'
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: conductor already exists
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: Using gem require instead of bundler
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Rails::Migrate::Db[migrate_aeolus_database]/Exec[migrate_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Custom/Aeolus::Conductor::Login[admin]/Web_request[admin-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session'
notice: /Stage[main]/Aeolus::Profiles::Custom/Aeolus::Conductor::Login[admin]/Exec[decrement_login_counter]/returns: Using gem require instead of bundler
notice: /Stage[main]/Aeolus::Profiles::Custom/Aeolus::Conductor::Login[admin]/Exec[decrement_login_counter]/returns: Login counter for user admin updated
notice: /Stage[main]/Aeolus::Profiles::Custom/Aeolus::Conductor::Login[admin]/Exec[decrement_login_counter]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Custom/Aeolus::Conductor::Hwp[hwp2]/Web_request[hwp-hwp2]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Profiles::Custom/Aeolus::Conductor::Hwp[hwp1]/Web_request[hwp-hwp1]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Profiles::Custom/Aeolus::Conductor::Logout[admin]/Web_request[admin-conductor-logout]/post: post changed '' to 'https://localhost/conductor/logout'
notice: Finished catalog run in 32.97 seconds


Note You need to log in before you can comment on or make changes to this bug.