Change Amphora flavor from public to private
In octavia, when create specified nova flavor for Amphora, it's supposed to be accessed by octavia for creating Amphora instances, and other projetcs/users shouldn't get this flavor[1]. [1] https://github.com/openstack/octavia/blob/master/devstack/plugin.sh#L396 Closes-Bug: #1729450 Change-Id: I1d2b74dd99d949263e24b62c427c8718ec8de5b0
This commit is contained in:
parent
aec818f1ea
commit
aa19faa05d
@ -111,6 +111,7 @@ class octavia::worker (
|
||||
'ram' => '1024',
|
||||
'disk' => '2',
|
||||
'vcpus' => '1',
|
||||
'is_public' => false,
|
||||
'tag' => ['octavia']
|
||||
}
|
||||
$nova_flavor_defaults = merge($octavia_flavor_defaults, $nova_flavor_config)
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
fixes:
|
||||
- Change amphora flavor is_public property from true to false.
|
@ -62,6 +62,7 @@ describe 'octavia::worker' do
|
||||
:ram => '1024',
|
||||
:disk => '2',
|
||||
:vcpus => '1',
|
||||
:is_public => false,
|
||||
:tag => ['octavia'],
|
||||
)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user