Closed john-kheir closed 6 years ago
1- run a bp to create account with specific params
services: - github.com/openvcloud/0-templates/sshkey/0.0.1__ea063ff6: dir: '/root/.ssh/' passphrase: 'deb7d495' - github.com/openvcloud/0-templates/openvcloud/0.0.1__5e5bf379: address: 'be-g8-3.demo.greenitglobe.com' login: 'gig_qa_1@itsyouonline' token: '*******' location: 'be-g8-3' - github.com/openvcloud/0-templates/vdcuser/0.0.1__gig_qa_1: email: dina.magdy.mohammed+123@gmail.com openvcloud: 5e5bf379 provider: itsyouonline - github.com/openvcloud/0-templates/vdcuser/0.0.1__3dbe4963: email: 555330a8@test.com groups: ['user'] openvcloud: 5e5bf379 provider: itsyouonline - github.com/openvcloud/0-templates/account/0.0.1__76d3df77: maxMemoryCapacity: 15 maxDiskCapacity: 19 maxNumPublicIP: 28 openvcloud: 5e5bf379 maxCPUCapacity: 17 actions: - template: github.com/openvcloud/0-templates/vdcuser/0.0.1 actions: ['install'] - template: github.com/openvcloud/0-templates/account/0.0.1 actions: ['install']
2- Update the params with another blueprint
services: - github.com/openvcloud/0-templates/sshkey/0.0.1__74c92868: dir: '/root/.ssh/' passphrase: '14509336' - github.com/openvcloud/0-templates/openvcloud/0.0.1__5e5bf379: address: 'be-g8-3.demo.greenitglobe.com' login: 'gig_qa_1@itsyouonline' token: '***************' location: 'be-g8-3' - github.com/openvcloud/0-templates/vdcuser/0.0.1__gig_qa_1: email: dina.magdy.mohammed+123@gmail.com openvcloud: 5e5bf379 provider: itsyouonline - github.com/openvcloud/0-templates/vdcuser/0.0.1__3dbe4963: email: 555330a8@test.com groups: ['user'] openvcloud: 5e5bf379 provider: itsyouonline - github.com/openvcloud/0-templates/account/0.0.1__76d3df77: openvcloud: 5e5bf379 actions: - template: github.com/openvcloud/0-templates/vdcuser/0.0.1 actions: ['install'] - template: github.com/openvcloud/0-templates/account/0.0.1 actions: ['update'] args: maxMemoryCapacity: 14 maxDiskCapacity: 18 maxNumPublicIP: 27 maxCPUCapacity: 16
maxDiskCapacity wasn't updated 1- Before update
2- After Update
@john-kheir , there was a typo in the argument name, we need to use maxVDiskCapacity instead of maxDiskCapacity. I made corrections and added to #75
maxVDiskCapacity
maxDiskCapacity
worked with maxVDiskCapacity instead of maxDiskCapacity
Scenario
1- run a bp to create account with specific params
2- Update the params with another blueprint
Actual Result
maxDiskCapacity wasn't updated 1- Before update
2- After Update