[openstack-dev] [swift] Use FQDN in Ring files instead of "ip"

Hua ZZ Zhang zhuadl at cn.ibm.com
Wed Jul 23 03:00:22 UTC 2014


Hi,
Here's a patch to allow hostname in Ring which is under developing you
might be interested in.
https://review.openstack.org/#/c/80421/

-Edward Zhang



                                                                           
             "Matsuda,                                                     
             Kenichiro"                                                    
             <matsuda_kenichi@                                          To 
             jp.fujitsu.com>           "openstack-dev at lists.openstack.org" 
                                       <openstack-dev at lists.openstack.org> 
             2014-07-23 上午                                            cc 
             10:47                                                         
                                                                   Subject 
                                       [openstack-dev] [swift] Use FQDN in 
             Please respond to         Ring files instead of "ip"          
                "OpenStack                                                 
                Development                                                
               Mailing List                                                
              \(not for usage                                              
               questions\)"                                                
             <openstack-dev at li                                             
             sts.openstack.org                                             
                     >                                                     
                                                                           
                                                                           




Hi,

I want to use FQDN in Ring files instead of "ip".
I tried the following Swift APIs with using FQDN and it succeeded.
(I used swift1.13.1.)

  - PUT Container
  - PUT Object

In some documents there is no info for using FQDN in Ring files.

  - swift 1.13.1 documentation The Rings > List of Devices

http://docs.openstack.org/developer/swift/1.13.1/overview_ring.html#list-of-devices

      -------------------------------------------------------------
      The IP address of the server containing the device.
      -------------------------------------------------------------
  - swift-ring-builder's USAGE
      -------------------------------------------------------------
      swift-ring-builder <builder_file> add
          [--region <region>] --zone <zone> --ip <ip> --port <port>
          --replication-ip <r_ip> --replication-port <r_port>
          --device <device_name> --meta <meta> --weight <weight>
      -------------------------------------------------------------

I would like to know whether FQDN in Ring files supports and/or how to
evaluate to support FQDN in Ring files.

Could you please advise me for it?

Best Regards,
Kenichiro Matsuda.


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140723/da467020/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140723/da467020/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic32023.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140723/da467020/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140723/da467020/attachment-0005.gif>


More information about the OpenStack-dev mailing list