-
Notifications
You must be signed in to change notification settings - Fork 549
Will the new version of the code affect the execution logic of the old version? #5465
Comments
Please make sure your code is checked out to v1.6.0 tag. Seems you use the latest code |
I started a v1.6.0 deb-box, but found that the version number was v1.7.0. |
Checkout v1.6.0 manually solved this issue. This issue is also caused by the version problem. |
@suiguoxin Please help to take a look? |
The Dockerfile that builds the images does not seem to be open source, so I can not do any further analysis. |
Code is here, https://github.com/microsoft/pai/blob/master/src/dev-box/build/dev-box.common.dockerfile. Welcome for further analysis |
From the start script of dev-box, I do some checks as follows.
So, the env |
@siaimes To install OpenPAI version v1.6, please:
For detailed doc, pls refer to here We do download the pai repo and reset the code to the latest tag in dev-box, but we won't use it. We made this change in v1.6 to make sure that only the local source code matters so that the admin user don't need to specify I'll close this issue, feel free to re-open it for further questions. |
sudo docker run -itd \
-e COLUMNS=$COLUMNS -e LINES=$LINES -e TERM=$TERM \
-v /var/run/docker.sock:/var/run/docker.sock \
--pid=host \
--privileged=true \
--net=host \
--name=dev-box \
openpai/dev-box:<openpai version tag> So, the start script of dev-box should need to be updated, right? |
|
@siaimes Do you mean basic management operations ? Users are free to mount anything they want. The existing pai repo should also work. |
According to the latest version of the source code, this doc seems to need to be updated. For me, I just knew how to do it: mount the local Thank you for your reply. |
Reopen it, seems we need to update doc |
I found that this issue was introduced in v1.0.0, but it did not get the attention of developers at that time. |
I also want to deploy the dev-box in a docker ubuntu container, but I can't install docker sucessful, It shows "docker: Cannot connect to Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?" And Do you have some suggestions? |
Organization Name:
Short summary about the issue/question: I encountered some version problems. Currently, the openpai I deployed is v1.6.0, but on the k8s dashboard, I see it is pulling the cert-expeiration-checker image, which is a feature introduced in v1.7.0.
Brief what process you are following:
How to reproduce it:
OpenPAI Environment: ubuntu 16.04
uname -a
):Anything else we need to know:
The text was updated successfully, but these errors were encountered: