It's all about the answers!

Ask a question

Do we need to have unique snapshot names through out project area ?

Rakesh Dama (155) | asked Sep 26 '17, 3:33 p.m.
edited Jun 01 '18, 3:02 p.m. by David Lafreniere (4.3k7)


I have created a snapshot(test1) on repository workspace. Now I want to promote it a stream. I get the below error.

<style> &amp;amp;amp;amp;lt;!-- /* Font Definitions */ @font-face {font-family:&amp;amp;amp;amp;quot;Cambria Math&amp;amp;amp;amp;quot;; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:&amp;amp;amp;amp;quot;Segoe UI&amp;amp;amp;amp;quot;; panose-1:2 11 5 2 4 2 4 2 2 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0in; margin-right:0in; margin-bottom:8.0pt; margin-left:0in; line-height:107%; font-size:11.0pt; font-family:&amp;amp;amp;amp;quot;Calibri&amp;amp;amp;amp;quot;,sans-serif;} .MsoChpDefault {font-family:&amp;amp;amp;amp;quot;Calibri&amp;amp;amp;amp;quot;,sans-serif;} .MsoPapDefault {margin-bottom:8.0pt; line-height:107%;} /* Page Definitions */ @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --&amp;amp;amp;amp;gt; </style>

lscm snapshot promote -r %jazz_repo% %stream_name% test1

Ambiguous selector "test1" matched multiple items:

Possible matches:

  (1657) "test1"

  (1659) "test1"

Problem running 'snapshot promote':

Ambiguous snapshot selector test1.

I believe there might be another "test1" snapshot on different repository workspace and different stream.

Do we need to have unique snapshot names through out project area ?



One answer

permanent link
Don Yang (7.1k2188122) | answered Oct 02 '17, 12:14 a.m.

Hi, Rakesh

If you have unique snapshot name, you won't see "ambiguous snapshot selector  xxx".
But the tool allow you to have the same name snapshot. You can specify alias or uuid of snapshot instead of name in this case as they would be unique.

Your answer

Register or to post your answer.