Tideway Community Forum

forgot password?
   
 
omniORB.CORBA.NO_PERMISSION when importing from command line
Posted: 21 October 2008 11:51 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  3
Joined  2008-03-12

Hi,

I’m using TF Ver 7.0.1 on my own VMware in playback mode.

I’m trying to import a pattern from the command line using the following command:

tw_pattern_management --verbose -"username" -"password" -i mypattern.tpl 

I get the following message:

omniORB: (02008-08-02 11:15:49.335054WarningSSL CA certificate file is not set or cannot be foundSSL transport disabled.
Traceback (most recent call last):
  
File "./pattern_management.py"line 618in <module>
  
File "./pattern_management.py"line 537in main
  File 
"./configuration.py"line 1222in processCommandLine
  File 
"./configuration.py"line 1275in initSecurity
  File 
"/usr/webware/__init__.py"line 124in authenticateByPassword

  File 
"./security_idl.py"line 201in authenticate
omniORB
.CORBA.NO_PERMISSIONCORBA.NO_PERMISSION(0X0CORBA.COMPLETED_NO

This produces the same result if I use system username and password. I have access to the GUI as system with no problems, and can run other commands such as “tw_cron_update”, “tw_baseline” or “tw_passwd”.

Would this have anything to do with the fact I’m using a VMWare appliance in ‘host-only’ mode which is causing the SSL certification to fail, or is it the SSL Certificate itself?

Profile
 
 
Posted: 21 October 2008 12:12 PM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  4
Joined  2008-02-28

It looks just like an authentication failure. Try not surrounding the username and password in quotes, and be sure to escape with a backslash any characters in your password that are special as far as bash is concerned—exclamation marks are a good example!

Profile
 
 
Posted: 21 October 2008 01:10 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-03-12
t.moreton@tideway.com - 21 October 2008 12:12 PM

It looks just like an authentication failure. Try not surrounding the username and password in quotes, and be sure to escape with a backslash any characters in your password that are special as far as bash is concerned—exclamation marks are a good example!

I tried that already and it returns the following message:

No package filename specified 

This is the same result whether I use special characters in the password or not.

Edited to Add:

Just tried the following

tw_pattern_management --u username -p password 

This works and lists installed packages so username and password are parsed correctly.

Profile
 
 
Posted: 21 October 2008 01:40 PM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-03-12

OK I’ve spotted the error now! I didn’t include the ‘package’ and ‘description’ in the original command:

tw_pattern_management --verbose -u username -p password -i MyPattern mypattern.tpl desc 

I assumed that these were optional as in the GUI.

Profile
 
 
Posted: 21 October 2008 02:00 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  132
Joined  2008-01-25

The UI will default values in for you to make things a bit easier.

But if you use the direct access tools you need to do it yourself :)

Profile