You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fssize = 5 * 1024
aix_logical_volume 'testchef_lv' do
group 'data_vg'
size fssize
action :create
end
aix_filesystem 'testchef' do
logical 'testchef_lv'
size "#{fssize}M"
name "/testchef"
action [:create, :mount]
end
Steps to Reproduce:
Expected Result:
The filesystem is created and mounted.
Actual Result:
aixnode Compiling Cookbooks...
aixnode Converging 2 resources
aixnode Recipe: initialize::draft_fs_aix
aixnode * aix_logical_volume[testchef_lv] action create
aixnode - Create logical volume 'testchef_lv' on volume groupe 'data_vg'
aixnode * aix_filesystem[/testchef] action create
aixnode [2017-10-10T14:13:22+02:00] FATAL: system error:logform: getattr failed: No such file or directory
aixnode (up to date)
aixnode [2017-10-10T14:13:22+02:00] WARN: Skipping final node save because override_runlist was given
aixnode
aixnode Running handlers:
aixnode Running handlers complete
aixnode Chef Client finished, 1/2 resources updated in 08 seconds
Workaround :
Edit libraries/storage_objects.rb line 340 :
$>diff /tmp/storage_objects.rb libraries/storage_objects.rb
340c340
< out = @system.run('crfs -v jfs2 -d %s -m %s -A yes' % [lvname, @name])
---
> out = @system.run('crfs -v jfs2 -d %s -m %s -a logname="INLINE" -A yes' % [lvname, @name])
aixnode Compiling Cookbooks...
aixnode Converging 2 resources
aixnode Recipe: initialize::draft_fs_aix
aixnode * aix_logical_volume[testchef_lv] action create
aixnode - Create logical volume 'testchef_lv' on volume groupe 'data_vg'
aixnode * aix_filesystem[/testchef] action create
aixnode - Create file system '/testchef' on logical volume 'testchef_lv'
aixnode * aix_filesystem[/testchef] action mount
aixnode - File system '/testchef' mounted
aixnode [2017-10-10T15:11:24+02:00] WARN: Skipping final node save because override_runlist was given
aixnode
aixnode Running handlers:
aixnode Running handlers complete
aixnode Chef Client finished, 3/3 resources updated in 08 seconds
The text was updated successfully, but these errors were encountered:
Cookbook version
1.2.1
Chef-client version
13.2.20
Platform Details
AIX 7200-01-01-1642
Scenario:
Run this recipe :
Steps to Reproduce:
Expected Result:
The filesystem is created and mounted.
Actual Result:
Workaround :
Edit libraries/storage_objects.rb line 340 :
The text was updated successfully, but these errors were encountered: