cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9657) Ipset command fails for VM's with long internal name
Date Mon, 20 Feb 2017 09:58:44 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874292#comment-15874292
] 

ASF GitHub Bot commented on CLOUDSTACK-9657:
--------------------------------------------

Github user kishankavala commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1824#discussion_r101981007
  
    --- Diff: scripts/vm/hypervisor/xenserver/vmops ---
    @@ -232,28 +233,50 @@ def deleteFile(session, args):
     
         return txt
     
    +#using all the iptables chain names length to 24 because cleanup_rules groups the vm
chain excluding -def,-eg
    +#to avoid multiple iptables chains for single vm there using length 24
     def chain_name(vm_name):
         if vm_name.startswith('i-') or vm_name.startswith('r-'):
             if vm_name.endswith('untagged'):
                 return '-'.join(vm_name.split('-')[:-1])
         if len(vm_name) > 28:
    --- End diff --
    
    Check should be > 25


> Ipset command fails for VM's with long internal name
> ----------------------------------------------------
>
>                 Key: CLOUDSTACK-9657
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9657
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Jayapal Reddy
>            Assignee: Jayapal Reddy
>             Fix For: 4.9.1.0
>
>
> ipset rules configuration in security groups is failing for the VM with longer name 
> ipset -N 11111222223333344444555556666677 nethash
> ipset v6.11: Syntax error: setname '11111222223333344444555556666677' is longer than
31 characters



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message