[
https://issues.apache.org/jira/browse/AURORA-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joshua Cohen updated AURORA-1797:
---------------------------------
Description:
For {{AppcImage}} to work properly the Mesos fetcher needs the {{os}} and
{{arch}} labels in the image description. The relevant code for this can be
found here:
https://github.com/apache/mesos/blob/171d214afa92cce56d8e1c350d6b2968887e6f15/src/slave/containerizer/mesos/provisioner/appc/fetcher.cpp#L61
At the moment {{AppcImage}} only supports {{name}} and {{image_id}} as
attributes. These are sufficient for the tests in
https://github.com/apache/aurora/blob/master/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh#L427
to pass properly. Here the fetcher is never invoked because the directory
structure is laid out in such a way that Mesos finds the image in its cache.
At the moment it is possible to work around this issue by giving Mesos the
additional information via the {{default_container_info}} argument.
was:
For {{AppcImage}} to work properly the Mesos fetcher needs the {{os}} and
{{arch}} labels in the image description. The relevant code for this can be
found here:
https://github.com/apache/mesos/blob/171d214afa92cce56d8e1c350d6b2968887e6f15/src/slave/containerizer/mesos/provisioner/appc/fetcher.cpp#L61
At the moment {{AppcImage}} only supports {{name}} and {{image_id}} as
attributes. These are sufficient for the tests in
https://github.com/apache/aurora/blob/master/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh#L427
to pass properly. Here the fetcher is never invoked because the directory
structure is laid out in such a way that Mesos finds the image in its cache.
At the moment it is possible to work around this issue by giving Mesos the
additional information via the {{default_container_info argument}}.
> Add full support for ACI containers
> -----------------------------------
>
> Key: AURORA-1797
> URL: https://issues.apache.org/jira/browse/AURORA-1797
> Project: Aurora
> Issue Type: Story
> Reporter: Thomas Bach
>
> For {{AppcImage}} to work properly the Mesos fetcher needs the {{os}} and
> {{arch}} labels in the image description. The relevant code for this can be
> found here:
> https://github.com/apache/mesos/blob/171d214afa92cce56d8e1c350d6b2968887e6f15/src/slave/containerizer/mesos/provisioner/appc/fetcher.cpp#L61
> At the moment {{AppcImage}} only supports {{name}} and {{image_id}} as
> attributes. These are sufficient for the tests in
> https://github.com/apache/aurora/blob/master/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh#L427
> to pass properly. Here the fetcher is never invoked because the directory
> structure is laid out in such a way that Mesos finds the image in its cache.
> At the moment it is possible to work around this issue by giving Mesos the
> additional information via the {{default_container_info}} argument.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)