N1SM add osprofile script bad behavior

We created an osprofile using N1SM and attempted to create

a script to handle configuaing and turning onthe eth1 port.

The "post" script was defined on the N1SM server with n1sh similar to

add osprofile galaxy4100 script /var/tmp/configure_eth1.sh type post

The curious behavior was first noticed when deploying the galaxy4100

profile to a target host. We noticved that the eth1 was not configured.

In fact we found it was not executed.

The BIG curiosity was the N1SM server no longer had a file

/var/tmp/configure_eth1.sh or that file anywhere. I then found

that if I put a copy of configure_eth1.sh back in /var/tmp and

did the loados deploy again. It worked OK and the /var/tmp

file was not deleted.

Given the fact that after the add ... .. scriptcommand is exectued in n1sh

the /var/tmp file is removed AND the deployment NEVER complains

that it is not there nor does it stop the deployment. We see this

as a serious bug that took us many days to notice what was happening

and deserves attention to be corrected.

NOTE: Putting the file in other places than /var/tmp will preserve the file

after the add osprofile xxxxx script /someotherpath/YourScript type post

[1287 byte] By [peter_Ca] at [2007-11-26 19:27:34]
# 1
Hi Peter,can you give more details on what kind of osprofile this is (Suse, RedHat, Solaris, ...), which version of N1SM do you use, output of show osprofile command ?If this is a bug it needs to be fixed indeed ...
Tarzaneka at 2007-7-9 21:54:10 > top of Java-index,Administration Tools,N1 System Manager...
# 2
Red Hat LINUX
peter_Ca at 2007-7-9 21:54:10 > top of Java-index,Administration Tools,N1 System Manager...
# 3
N1SM Version 1.3
peter_Ca at 2007-7-9 21:54:10 > top of Java-index,Administration Tools,N1 System Manager...
# 4
Hmm, PeterI will try to reproduce in recent version & eventually file a bug, I'll let you know the outcome ...also 1.3 is quite an old version. It might have been fixed in between, N1SM is on 1.3.2 and 1.3.3 will be out soon ...Try 1.3.2 it might have been fixed
Tarzaneka at 2007-7-9 21:54:10 > top of Java-index,Administration Tools,N1 System Manager...