diff mbox

[ovs-dev,v2] Fix missing system-id in INSTALL.Docker

Message ID 1475613182-7935-1-git-send-email-hkang.sunysb@gmail.com
State Superseded
Headers show

Commit Message

Hui Kang Oct. 4, 2016, 8:33 p.m. UTC
Signed-off-by: Hui Kang <hkang.sunysb@gmail.com>
---
 INSTALL.Docker.md | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Ben Pfaff Oct. 4, 2016, 11:01 p.m. UTC | #1
On Tue, Oct 04, 2016 at 04:33:02PM -0400, Hui Kang wrote:
> Signed-off-by: Hui Kang <hkang.sunysb@gmail.com>
> ---
>  INSTALL.Docker.md | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/INSTALL.Docker.md b/INSTALL.Docker.md
> index b62922d..4606354 100644
> --- a/INSTALL.Docker.md
> +++ b/INSTALL.Docker.md
> @@ -83,6 +83,14 @@ ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
>    external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" external_ids:ovn-encap-ip=$LOCAL_IP external_ids:ovn-encap-type="$ENCAP_TYPE"
>  ```
>  
> +Note that if Open vSwitch is started manually (without the assistance of system
> +startup scripts provided by packages like .deb or .rpm), you should provide a
> +unique identification, $SYSTEM_ID for this host:
> +
> +```
> +ovs-vsctl set Open_vSwitch . external_ids:system-id=$SYSTEM_ID
> +```
> +
>  And finally, start the ovn-controller.  (You need to run the below command
>  on every boot)

Thanks for working on this.

I'm concerned about this wording, because the system-id should be
persistent and unique and this isn't specific enough to encourage people
to do it the right way.

I posted my version, see what you think:
        https://patchwork.ozlabs.org/patch/678263/
Hui Kang Oct. 5, 2016, 12:38 a.m. UTC | #2
I like your version better.
I am ok abandoning this patch. Thanks.

- Hui

On Tue, Oct 4, 2016 at 7:01 PM, Ben Pfaff <blp@ovn.org> wrote:
> On Tue, Oct 04, 2016 at 04:33:02PM -0400, Hui Kang wrote:
>> Signed-off-by: Hui Kang <hkang.sunysb@gmail.com>
>> ---
>>  INSTALL.Docker.md | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/INSTALL.Docker.md b/INSTALL.Docker.md
>> index b62922d..4606354 100644
>> --- a/INSTALL.Docker.md
>> +++ b/INSTALL.Docker.md
>> @@ -83,6 +83,14 @@ ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
>>    external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" external_ids:ovn-encap-ip=$LOCAL_IP external_ids:ovn-encap-type="$ENCAP_TYPE"
>>  ```
>>
>> +Note that if Open vSwitch is started manually (without the assistance of system
>> +startup scripts provided by packages like .deb or .rpm), you should provide a
>> +unique identification, $SYSTEM_ID for this host:
>> +
>> +```
>> +ovs-vsctl set Open_vSwitch . external_ids:system-id=$SYSTEM_ID
>> +```
>> +
>>  And finally, start the ovn-controller.  (You need to run the below command
>>  on every boot)
>
> Thanks for working on this.
>
> I'm concerned about this wording, because the system-id should be
> persistent and unique and this isn't specific enough to encourage people
> to do it the right way.
>
> I posted my version, see what you think:
>         https://patchwork.ozlabs.org/patch/678263/
Ben Pfaff Oct. 5, 2016, 4:15 p.m. UTC | #3
Thanks!

On Tue, Oct 04, 2016 at 08:38:19PM -0400, Hui Kang wrote:
> I like your version better.
> I am ok abandoning this patch. Thanks.
> 
> - Hui
> 
> On Tue, Oct 4, 2016 at 7:01 PM, Ben Pfaff <blp@ovn.org> wrote:
> > On Tue, Oct 04, 2016 at 04:33:02PM -0400, Hui Kang wrote:
> >> Signed-off-by: Hui Kang <hkang.sunysb@gmail.com>
> >> ---
> >>  INSTALL.Docker.md | 8 ++++++++
> >>  1 file changed, 8 insertions(+)
> >>
> >> diff --git a/INSTALL.Docker.md b/INSTALL.Docker.md
> >> index b62922d..4606354 100644
> >> --- a/INSTALL.Docker.md
> >> +++ b/INSTALL.Docker.md
> >> @@ -83,6 +83,14 @@ ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
> >>    external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" external_ids:ovn-encap-ip=$LOCAL_IP external_ids:ovn-encap-type="$ENCAP_TYPE"
> >>  ```
> >>
> >> +Note that if Open vSwitch is started manually (without the assistance of system
> >> +startup scripts provided by packages like .deb or .rpm), you should provide a
> >> +unique identification, $SYSTEM_ID for this host:
> >> +
> >> +```
> >> +ovs-vsctl set Open_vSwitch . external_ids:system-id=$SYSTEM_ID
> >> +```
> >> +
> >>  And finally, start the ovn-controller.  (You need to run the below command
> >>  on every boot)
> >
> > Thanks for working on this.
> >
> > I'm concerned about this wording, because the system-id should be
> > persistent and unique and this isn't specific enough to encourage people
> > to do it the right way.
> >
> > I posted my version, see what you think:
> >         https://patchwork.ozlabs.org/patch/678263/
diff mbox

Patch

diff --git a/INSTALL.Docker.md b/INSTALL.Docker.md
index b62922d..4606354 100644
--- a/INSTALL.Docker.md
+++ b/INSTALL.Docker.md
@@ -83,6 +83,14 @@  ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
   external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" external_ids:ovn-encap-ip=$LOCAL_IP external_ids:ovn-encap-type="$ENCAP_TYPE"
 ```
 
+Note that if Open vSwitch is started manually (without the assistance of system
+startup scripts provided by packages like .deb or .rpm), you should provide a
+unique identification, $SYSTEM_ID for this host:
+
+```
+ovs-vsctl set Open_vSwitch . external_ids:system-id=$SYSTEM_ID
+```
+
 And finally, start the ovn-controller.  (You need to run the below command
 on every boot)