Stemcell version 'latest' not working with current Azure stemcell?


Justin Erenkrantz <justin@...>
 

Hi all,

I am trying out BOSH on Azure - currently with BOSH v224 and Azure CPI v3 (latest releases I can find). In trying to use the Azure stemcell from:

---
$ bosh upload stemcell http://cloudfoundry.blob.core.windows.net/azureci/stemcell-ubuntu.tgz
---

BOSH reports the version as '0000':

---
$ bosh stemcells
Acting as user 'admin' on 'bosh'

+------------------------------------------+---------------+---------+----------------------------------------------------+
| Name | OS | Version | CID |
+------------------------------------------+---------------+---------+----------------------------------------------------+
| bosh-azure-hyperv-ubuntu-trusty-go_agent | ubuntu-trusty | 0000* | bosh-stemcell-f05ef42e-8254-4162-96ef-037c3b0982d1 |
+------------------------------------------+---------------+---------+----------------------------------------------------+

(*) Currently in-use

Stemcells total: 1
---

However, the 'latest' phrase doesn't seem to enable it:

---
stemcell: &stemcell
name: bosh-azure-hyperv-ubuntu-trusty-go_agent
version: latest
---

yields:

---
Started preparing deployment > Binding stemcells. Failed: Stemcell `bosh-azure-hyperv-ubuntu-trusty-go_agent/0' doesn't exist (00:00:00)

Error 50003: Stemcell `bosh-azure-hyperv-ubuntu-trusty-go_agent/0' doesn't exist
---

I have to specify the stemcell version with "0000" in quotes - like:

---
stemcell: &stemcell
name: bosh-azure-hyperv-ubuntu-trusty-go_agent
version: "0000"
---

Is this a known bug? If it's not known, where would the best place to file the bug be? Is it a BOSH bug? An Azure CPI bug? Or, is it an issue with the stemcell creation?

Cheers. -- justin


Dmitriy Kalinin
 

0000 are manually built stemcells. this is a director/cli shortcoming. we are not yet publishing official stemcells / releases to bosh.io pending 1 pr going through the pipeline. once that happens we are planning to make an announcement on the mailing list. also documentation will be updated at that time.

Sent from my iPhone

On Nov 15, 2015, at 7:56 AM, Justin Erenkrantz <justin(a)erenkrantz.com> wrote:

Hi all,

I am trying out BOSH on Azure - currently with BOSH v224 and Azure CPI v3 (latest releases I can find). In trying to use the Azure stemcell from:

---
$ bosh upload stemcell http://cloudfoundry.blob.core.windows.net/azureci/stemcell-ubuntu.tgz
---

BOSH reports the version as '0000':

---
$ bosh stemcells
Acting as user 'admin' on 'bosh'

+------------------------------------------+---------------+---------+----------------------------------------------------+
| Name | OS | Version | CID |
+------------------------------------------+---------------+---------+----------------------------------------------------+
| bosh-azure-hyperv-ubuntu-trusty-go_agent | ubuntu-trusty | 0000* | bosh-stemcell-f05ef42e-8254-4162-96ef-037c3b0982d1 |
+------------------------------------------+---------------+---------+----------------------------------------------------+

(*) Currently in-use

Stemcells total: 1
---

However, the 'latest' phrase doesn't seem to enable it:

---
stemcell: &stemcell
name: bosh-azure-hyperv-ubuntu-trusty-go_agent
version: latest
---

yields:

---
Started preparing deployment > Binding stemcells. Failed: Stemcell `bosh-azure-hyperv-ubuntu-trusty-go_agent/0' doesn't exist (00:00:00)

Error 50003: Stemcell `bosh-azure-hyperv-ubuntu-trusty-go_agent/0' doesn't exist
---

I have to specify the stemcell version with "0000" in quotes - like:

---
stemcell: &stemcell
name: bosh-azure-hyperv-ubuntu-trusty-go_agent
version: "0000"
---

Is this a known bug? If it's not known, where would the best place to file the bug be? Is it a BOSH bug? An Azure CPI bug? Or, is it an issue with the stemcell creation?

Cheers. -- justin