- Service Overview
- Getting Started
-
User Guide
- Granting Permissions to Use FlexusL Instances Through IAM
- Purchasing a FlexusL Instance
- Remotely Logging In to a FlexusL Instance
- Managing FlexusL Instances
- Managing Images
- Managing EVS Disks
- Managing Server Security
- Managing Backups
- Managing Domain Names
- Monitoring
-
Best Practices
- Best Practices for FlexusL
-
Setting Up a Website
- Managing Servers Using the BT Panel
- Building a WordPress Website
- Using Matomo to Build a Website Traffic Statistics System
- Using Odoo to Build an ERP System
- Using Moodle to Build an Online Learning System
- Using Joomla to Build a Content Management System
- Using Ghost to Build a Personal Blog
- Using EspoCRM to Build a Content Management System
- Setting Up the Development Environment
- Setting Up an Application
- Server Migration
- API Reference
-
FAQs
-
Product Consulting
- What Are the Differences Among FlexusL, FlexusX, and ECS?
- How Do I Find My Purchased FlexusL Instances on the Management Console?
- Where Can I View the FlexusL Instance ID and Cloud Server ID Packaged in the FlexusL Instance?
- Can I Migrate Cloud Servers to FlexusL?
- What Should I Do If I Do Not Have Permissions to Purchase FlexusL?
- What Regions Does FlexusL Support?
- What Is the Relationship Among FlexusL Instances, the Dashboard, and the O&M Page?
- Billing
- Creation and Unsubscription
- Specification Changes
-
OS and Image
- Do FlexusL OS Images Provide Visualized Dashboards?
- What Should I Do If a Private Image Cannot Be Used to Create a FlexusL Instance or Change the OS of a FlexusL Instance Because the Password Reset Plug-in Is Not Installed on the Image or the Image's onekey_resetpasswd Tag Is Missing?
- How Do I Check that an Application Image Has Been Up and Running?
- How Do I View the Applications That Are Installed in the FlexusL Application Images by Default?
- Why Can't I Open the Dashboard of the Application Pre-installed in the Application Image?
- How Do I Upgrade the BT Panel?
- Why Can't I Access the Dashboard of the Application Pre-installed in the Application Image After Entering the Initial Username and Password?
- What Do I Do If HSS Is Not Started After I Use a Private Image to Create a FlexusL Instance or Change the OS of an Instance?
- Remote Login
-
Password
- What Are the Username and Password for Remotely Logging In to a FlexusL Instance Server?
- What Can I Do If I Forget the Login Password of a FlexusL Instance?
- What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Forgot the Initial Password of the Private Image?
- What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Know the Initial Password of the Private Image?
-
Network
- Does a FlexusL Instance Have an EIP?
- Can I Change the Public and Private IP Addresses of a FlexusL Instance?
- How Do I Use Data Packages in FlexusL Instances?
- How Do I View the Traffic Usage of My FlexusL Instance?
- Can I Add a Data Package to a FlexusL Instance?
- What Do I Do If My FlexusL Instance Freezes?
- How Does FlexusL Instances Communicate with Each Other and with Other Cloud Resources Over a Private Network?
-
EVS Disks
- How Do I Detach or Unsubscribe from a System or Data Disk of a FlexusL Instance?
- Can I Use EVS Disk Snapshots to Back Up FlexusL Instance Data?
- Can EVS Disks of FlexusL Instances Be Expanded?
- Can I Change the EVS Disk Type for a FlexusL Instance?
- Can I Attach Existing Data Disks to My FlexusL Instances?
-
Product Consulting
- General Reference
Copied.
What Should I Do If a Private Image Cannot Be Used to Create a FlexusL Instance or Change the OS of a FlexusL Instance Because the Password Reset Plug-in Is Not Installed on the Image or the Image's onekey_resetpasswd Tag Is Missing?
Symptom
When you use a private image to create a FlexusL instance or change the OS, the message "This image has no password reset plug-in installed or onekey_resetpasswd tagged." is displayed.
If your private image is not displayed in the private image list of the FlexusL instance, check whether the private image and the FlexusL instance are in the same region. Images are regional resources. FlexusL instances can only be created from private images that are in the same region with them.
Possible Causes
If a private image is created from a server on another cloud platform or downloaded from a third party, the private image may fail to be used to create a FlexusL instance or change the OS of an instance because the password reset plug-in is not installed on the image or the onekey_resetpasswd tag is missing. Perform the following steps to rectify the fault:
Step 1: Check Whether the Private Image Lacks the onekey_resetpasswd Tag
- Query and copy the ID of the private image on the IMS console.
- Locate the ListImages API in API Explorer. Enter the image ID to check whether the private image contains the onekey_resetpasswd tag.
- Set the following parameters:
- Region: Select the region where the private image is located.
- ID: Enter the private image ID.
Figure 1 Selecting a regionFigure 2 Entering the private image ID - Click Debug to view the result.
If the __os_feature_list parameter is displayed in the response body and its value contains \"onekey_resetpasswd\": \"true\", the private image contains the onekey_resetpasswd tag. Otherwise, the onekey_resetpasswd tag is not contained, as shown in the following figure.
If the private image does not contain the onekey_resetpasswd tag, add the tag to the private image by referring to 3.
Figure 3 The onekey_resetpasswd tag not contained in the private image
- Set the following parameters:
- Add the onekey_resetpasswd tag for the private image.
- Set the following parameters in the UpdateImage API:
- Region: Select the region where the private image is located.
- image_id: Enter the private image ID.
- Body: Click Edit Code and enter the following content:
[ { "op": "add", "path": "/__os_feature_list", "value": "{\"nic_hotplug\":\"true\", \"disk_hotplug\": \"true\", \"user_data\": \"true\", \"ssh_key\":\"true\", \"hostname_inject\": \"true\", \"onekey_resetpasswd\": \"true\"}" } ]
- Click Debug and then view the result.
The __os_feature_list parameter is displayed in the response body and its value contains \"onekey_resetpasswd\": \"true\", which means that the private image contains the onekey_resetpasswd tag.
- Set the following parameters in the UpdateImage API:
- Refresh the page for creating a FlexusL instance or changing the OS of an instance, and select the private image again.
NOTE:
Refresh the page before you select the private image.
- If the private image can be selected, no further operation is required.
- If you still cannot select the private image, install the password plug-in by referring to Step 2: Check Whether the Password Reset Plug-in Is Installed in the Private Image.
Step 2: Check Whether the Password Reset Plug-in Is Installed in the Private Image
After using a private image to create a FlexusL instance or change the OS of an instance, set the password of the FlexusL instance on the console.
- If you can log in to the FlexusL instance using the new password, the password reset plug-in has been installed in the private image.
- If you cannot log in to the FlexusL instance using the new password, the password reset plug-in has not been installed in the private image. In this case, install the plug-in.
- If you know the initial password of the private image, install the password reset plug-in by referring to What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Know the Initial Password of the Private Image?
- If you forget the initial password of the private image, install the password reset plug-in by referring to What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Forgot the Initial Password of the Private Image?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot