Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

lscm workspace delete: the stream is also deleted

Hi,

When I issued a command 'lscm workspace delete 1000' in AIX and  the 1000 was the number for my workspace, the stream was also deleted. My workspace, component and stream were all in the same name 'NW'. After this command, the stream was deleted. My original intention was to just delete the workspace.

Questions:
i. is this a normal behavior? The command will delete both the workspace and stream. When I checked the help, it may. 
Usage: lscm workspace delete [options] <workspace>
  workspace - The workspace or stream to delete. To specify the workspace or
              stream, use its name, alias or UUID.
ii. is there any way to restore the deleted stream? I saw the thread about 'Recover deleted RTC Stream', but I still can't restore the stream;
iii. is there any log that it can show who deleted it? I know I did it ;) but wanted to know how to track it.

Thanks in advance.
Autorun


0 votes


Accepted answer

Permanent link
James,
Deleting the workspace should not delete the stream unless the alias 1000 referred to the stream. Even if you had provided the name of the workspace/stream it would have returned an ambiguous workspace/stream message as it could not resolve to a single workspace/stream since your workspace and stream had the same name.

Can you do 'lscm list workspaces -n {name of workspace} -r {repo}' or 'lscm list streams -n {name of stream} -r {repo}' and verify if you still have the workspace and/or stream.

If you have the workspace you can recreate the stream from your workspace. You can also create a stream by adding the component that existed in the stream with the specific baseline if you had created a recent baseline in the stream.
James Cheung selected this answer as the correct answer

1 vote


One other answer

Permanent link
 Hi Shashikant,
Thanks for the reply and apologized for my late response.
We found out,

i. Yes, 1000 referred to the stream. Hence, we accidentally deleted the stream by our mistake;
ii. I don't have the workspace anymore. However, the other developer had the workspace loaded and he could recover the stream for me.

We are good now.


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,202
× 158
× 113
× 87
× 27

Question asked: Nov 19 '13, 4:58 p.m.

Question was seen: 6,061 times

Last updated: Dec 16 '13, 1:15 p.m.

Confirmation Cancel Confirm