(Obsidian Knoll isn't a spell.)
Obsidian Knoll enters the battlefield tapped unless you pay 2 life.
Sacrifice a land: You gain 1 life.
, Pay 1 life, Sacrifice Obsidian Knoll: Search your library for a Swamp or Mountain card and put it onto the battlefield, then shuffle your library.